chore: tune the ui of the status badges#1268
Conversation
|
/preview |
4 similar comments
|
/preview |
|
/preview |
|
/preview |
|
/preview |
|
@stevenle Could you take a look and send any feedback? The biggest non-visual change is the creation of a new "Changed" status (to save room primarily, and secondarily to be consistent with other systems). By the way, I chose a shield icon for "Locked" because some people get confused and think "Locked" means no edits are allowed (it's more like publish protection or an embargo, though). |
a4ade31 to
be51e26
Compare
|
/preview |
1 similar comment
|
/preview |
d016b9f to
9017333
Compare
rootjs.dev PreviewPreview URL: https://rootjs-dev--pr-1268-yphhldr1.web.app This preview is built from the PR head and expires in 2 days. |
|
Ready for another look - https://rootjs-dev--pr-1268-yphhldr1.web.app/cms/content/Pages I reverted the coloring/style changes and eliminated the "changed" badges; kept the tooltip polish, and new "Show unpublished changes" modal, and the fixes for the alignment between the badges and column sizing. The compact view is still difficult when you have a lot of badges visible and a small screen size but maybe we address that in a separate PR |
|
in the case of a lot of badges, would you be opposed to having them wrap to the next line (same with the title column)? that would create more room for smaller viewports, although traditionally our css hasn't accounted much for non-desktop sizes. |
the basic problem this fixes is space saving in the document list - consolidate "draft + published" into a single "changed" badge to save horizontal space - tune the ui to use smaller badges to save space - add more detailed tooltips - add proper truncation when the release badges are too wide for their container - clicking the status badges now shows the version history or diff (depending on the badge)
5a56d99 to
6754b26
Compare
|
@jeremydw is this ready for me to re-review? |



the basic problem this fixes is space saving in the document list
this mainly aims to clean up a ui like this:
with a proposed ui like this: