Foxy / foxy-elements

Elements and resources for use in other front-end code, like the admin and customer portal.
https://elements.foxy.dev
MIT License
7 stars 8 forks source link

Reduce the creation and modification dates in all elements #144

Closed brettflorio closed 4 months ago

brettflorio commented 7 months ago

The "Added on" and "Last updated" values appear in a lot of the elements that display individual resources. Currently, those values are as prominent as all the rest of the details displayed, but the data is really only useful in very specific contexts, so let's explore options to minimize the prominence.

It's sometimes very useful information, so we don't want to get rid of it entirely. Options include shrinking and reducing the contrast (to the extent we can with a11y in mind), or hiding behind a tooltip or clickable popup (on some sort of new less prominent element), or have a "metadata" section that's collapsed and maybe includes all these less-important details (like the ID, broadly, which could include the click-to-copy functionality, since that's very common but the IDs themselves aren't typically displayed easily within elements).

I like the "metadata" approach, since that gives us a bit more flexibility down the road, and may allow easier copy/pasting.

github-actions[bot] commented 5 months ago

:tada: This issue has been resolved in version 1.24.1-beta.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: