feat(gallery): browse controls and interaction feel - #301
Closed
TMHSDigital wants to merge 1 commit into
Closed
TMHSDigital wants to merge 1 commit into
TMHSDigital wants to merge 1 commit into
Conversation
Showcase pieces were reachable only through a "showcase" topic chip, one tag could be active at a time, and the grid had one fixed order. The index now has an All / Examples / Showcase switch, AND-combined topic chips, and a Gallery order / Name A-Z sort, all mirrored in the URL hash (k=, tag=a,b, s=). Legacy #tag=showcase links, the landing page's among them, resolve to the Showcase switch so no inbound link breaks. Search no longer rewrites the hash on every keystroke, card renders fade in once decoded, hover gets a restrained zoom that reduced-motion turns off (replacing a rule that disabled a transform nobody set), focus rings sit inside segmented controls instead of being clipped, README prose is capped at a readable measure, and the sticky bar packs tighter on phones. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: TMHSDigital <[email protected]>
Owner
Author
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.
Summary
PR 2 of 3 in the website QoL pass. Stacked on #300. Review after #300; once #300 squash-merges, this will be rebased onto
main.#k=). Theshowcasechip leaves the topic row; legacy#tag=showcase(used by the landing page) resolves to the Showcase switch.#tag=a,b); unknown tags are dropped; the mobile Tags toggle names every active tag; a deep-linked chip is scrolled into view in the strip.#s=az), reordering DOM nodes from the original order.html.js); a restrained hover zoom that reduced-motion disables (replaces a dead.card:hover{transform:none}rule); focus rings inset on segmented controls sooverflow:hiddenno longer clips them; README prose capped at 75ch; a tighter sticky bar under 560px (search on its own row; count visually hidden but still a live region).examples/gallery.jsondescription updated: showcase is found via the switch, not a tag.Evidence
Proven by live run (local server, Playwright/Chromium):
#tag=showcase→ Showcase active, 36 of 88 shown, alldata-kind=showcase, no showcase chip.#tag=mesh,export; toggle "Tags: mesh + export".q=gearpresent after 400 ms.#k=examples&tag=mesh,bogus&s=az→ 18 cards, all examples, firstattribute-domain-shear,bogusdropped.scrollWidth360), sticky controls 116px tall.docs/galleryregenerated.By inspection only: the reduced-motion and no-JS CSS paths.
🤖 Generated with Claude Code