gillchristian / tsplay.dev

TypeScript Playground Shortener
https://tsplay.dev
MIT License
69 stars 9 forks source link

Playground UX improvements #121

Closed BawdyInkSlinger closed 1 year ago

BawdyInkSlinger commented 1 year ago

First of all, I want to say this is a great Playground plug-in. Thank you for creating it.

TL;DR:

Lately, whenever I click on the "Link Shortener" tab and click on the CREATE SHORT LINK button, it usually reports "⚠️ Already created a short link for the current code ⚠️". I'm not sure why that is happening, but, the plug-in provides a historical list of short links below:

image

The thing is, I'm not sure which one is the one that was already created. Is it the first? Is it the last? Is it sorted some other way?

Through experimentation, it seems to be the last one. But I think it would be nice if I didn't have to experiment to learn this; maybe a creation date could be displayed within these gray boxes? Or, maybe one could be colored differently to represent the current/latest playground?

Thank you!

gillchristian commented 1 year ago

@BawdyInkSlinger thanks for the feedback! You are correct that this is quite confusing. We are in the process of re-doing the whole plugin so don't think it makes sense to fix the current version.

I'll make sure to incorporate your feedback in the new version.