Dashboard UX: menus & dialogs, tag chips, project combobox, list/grid views - #10
Merged
Conversation
Frame and visibility are explicit choice menus instead of blind cycle buttons; making an artifact public now asks first. Native prompt/confirm/alert replaced by styled dialogs and a toast. Row actions slim down to Copy + View + an overflow menu. PATCHes apply optimistically and revert on error instead of refetching the whole list. Busy states on async buttons, visible form labels, AA contrast for small text, bigger hit targets, new README shot.
Tags: type + Enter/comma adds a chip, x removes, Backspace drops the last. Normalizes to the server tag rule and dedups. Replaces the comma-separated text field in both the compose form and the per-row Tags dialog. Project: native combobox (input + datalist) that offers the projects already in use, newest activity first. In the compose form and the per-row Project dialog. View modes (remembered in localStorage): - Grouped now orders projects by most recent activity instead of alphabetically, and No project is no longer pinned to the bottom. - List: flat, newest first, project shown as a clickable chip per row. - Grid: flat card grid, newest first.
Dashboard shot now shows the grouped project view with the list/grid/ grouped toggle and tag chips. Adds a second shot of a published artifact served with the viewer topbar, laid out beside the dashboard in a two-column table.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refines the artifacts dashboard across three commits. Single-file vanilla JS, no build step, no server changes.
Row actions, dialogs, feedback (7238d23)
frameandvisibilitybecome explicit choice menus instead of blind cycle buttons; making an artifact public now asks first.prompt/confirm/alertreplaced by styled dialogs and a toast.Tags, project, view modes (d4a76ca)
×removes, Backspace drops the last. Auto-normalizes to the server tag rule and dedups. Used in the compose form and the per-row Tags dialog.input+datalist) offering the projects already in use, newest activity first. In the compose form and the per-row Project dialog.Screenshots (e66624c)
Testing