clojars / clojars-web

A community repository for open-source Clojure libraries
https://clojars.org
Eclipse Public License 1.0
469 stars 114 forks source link

Minor UI improvements in `/tokens` page #821

Closed vemv closed 2 years ago

vemv commented 2 years ago

Hi!

I'm much enjoying the new Single use? feature.

A few things I found in the revamped /tokens page:

1

Checkboxes are ambigiously placed - do they belong to their left or right labels?

image

2

This checkbox appears misplaced:

image

3

If I select Single use?, 100% of the times for me the token name will not matter. So it would be very nice to be able to leave it blank or have it generated e.g. <single-use token Dec 28, 2020 12:25:18 +0000>

For your consideration.

Cheers - V

tobias commented 2 years ago

Hi @vemv, thanks for the great feedback!

I just pushed a release that I hope will address these items:

image

This release reworks the page a bit to put the generation form at the top and to make it a bit more compact/readable. It also prefills the name field when you select "single use" (but only if you haven't entered a value). Finally, it adds more spacing to the table filter checkboxes to make the label each belongs to clearer.

Please let me know how this works for you (note that you may need to shift-refresh the page to pick up the new css & js).

vemv commented 2 years ago

Tried out, it's working buttery smooth 🍻

Thanks much!