Skip to content

Discovery: categories for Next and More, better search, catalog by filter, Liked, menu polish - #4

Open
Que2039 wants to merge 1 commit into
mainfrom
cursor/discovery-categories-search-likes-94fc
Open

Que2039 wants to merge 1 commit into
mainfrom
cursor/discovery-categories-search-likes-94fc

Conversation

@Que2039

@Que2039 Que2039 commented Dec 2, 2026

Copy link
Copy Markdown

Workstream 4 of the UX work plan (review issues 6, 8, 9, 10, 13). The player area is unchanged.

What changes

Categories, Next, More. Every device gets a coarse category (synths, bass synths, pianos and keys, drum machines, guitars, voice synths, samplers and sequencers, reverbs and delays, compressors and dynamics, EQs and filters, distortion and amps, modulation, pitch and voice, creative, mixing tools). The category comes from the device's kind, and a category field in the data overrides it (scripts/model.mjs).

  • related() scores category first. The section is titled like Tribe's "More {category}" ("More drum machines") and links to "All drum machines →". It shows only same-category devices; a category of one falls back to "More instruments".
  • The Next card stays inside the category and says so ("Next drum machine →", "Next piano or organ →"). The side arrows still flip through everything, now titled "Next in all plugins: …".
  • Examples: Beatbox 8 → Next Beatbox 9, More: LM-Drum, Bass Drum 8, BRACHINSKI, KICKASS. Nitida Keys → Next Nitida Organ, More: Organ, TASTER, SCHIMMER. DOME → Tape Echo.

Search (player/site-ui.js, ALIASES in scripts/data.mjs)

  • Aliases: 808 → Beatbox 8 and Bass Drum 8, 909 → Beatbox 9, 303 → Bassline and BASSMASCHINE, rhodes/EP/clav/wurli → Nitida Keys, plus moog, juno, dx7, 1176, la-2a, pultec, mpc and others.
  • Words of one or two letters only match at the start of a name, alias or tag. The category name boosts ranking.
  • Description-only hits are dropped once three strong hits exist. Otherwise they appear under a "Mentions '…'" divider.
  • No match shows "Browse synths, drum machines, …" links (near-spelled categories first) into the catalog's new Kind filter.

Catalog

  • The title and count follow the filters: "Featured effects 13", "All drum machines 9", "Liked plugins 2".
  • New Kind filter (?cat=). A Liked chip (?scope=liked) has its own empty state.
  • Card names wrap to two lines, and the maker is cut before the kind.
  • "NXS" is explained once in the build teaser ("NXS is Audiotool's plugin format"). Elsewhere it's plain words.

Likes

  • The first like shows a one-time tip: "Saved in this browser. Find your likes under All plugins → Liked." The heart's tooltip also says "saved in this browser".

Menus

  • The menus use the card names (DUCKquack, Nitida WT, CHRISTOPHER REESE).
  • A "More instruments/effects" divider appears in All.
  • When the list scrolls, a bottom fade shows "+N more ↓".
  • The panel has a fixed width with minmax(0,1fr) columns, so the second column no longer spills.
  • A "Liked (n)" link appears when there are likes.

How it was built and checked

  • scripts/build.mjs --pages needs the sibling native-nxs checkout and Playwright, and neither is available here. Instead, pages were built in a scratch copy that takes local-device asset ids from site/play/build.json and skips share images. Before any change, that copy reproduced the committed site/ with zero diff.
  • The build used A_PLUGINS_DATE=2026-11-30, the committed build's date, so plugin-of-the-day and sitemap don't churn.
  • The repo has no lint or tests. node --check passes and esbuild bundles site-ui.js.
  • A scripted search check ran against the built search.json: piano → 3 pianos and Nitida Organ only; 808/909/303/rhodes hit; trumpet → category links.
  • A jsdom script (not a browser) checked the catalog title and count for each filter, ?cat=drums, Liked empty and filled, the tip showing once, the menu "Liked (1)" link, menu names and the divider.
  • navLabel in the data is now unused by the menus. I left it in place.

Human checklist

  • /beatbox8/, /nitida-keys/, /dome/, /reese/: Next label and target, "More …" title and cards, "All … →" link. Side arrows' tooltip reads "Next in all plugins: …".
  • Header search: 808, 909, 303, rhodes, ep, piano, reverb, guitar, organ (Mentions divider), trumpet (Browse links go to a filtered catalog). Keyboard ↑/↓/Enter skips the divider.
  • /plugins/: title and count change with Featured/All/Liked, Type and Kind. Kind sets Type, and a conflicting Type clears Kind. Check ?scope=all&cat=drums directly. Card names wrap to 2 lines, and "EQ Galaxy Deluxe" is whole.
  • Like a plugin in a fresh browser profile: the tip appears once and closes with × or after 8 s. The Liked chip and the menu "Liked (n)" update.
  • Instruments menu → All at 1440 px: divider, "+N more ↓" fade that disappears at the bottom, no background spill on the right. Check single column at ≤560 px.
  • Home lede no longer says "Every plugin here is an NXS plugin"; build teaser explains NXS.
Open in Web Open in Cursor 

…ss noise, catalog title by filter, Liked filter with a one-time tip, menu divider, scroll cue and card names

- scripts/model.mjs: a coarse category for every device (from its kind; 'category' in the data overrides); related() scores category first
- scripts/pages.mjs: 'Next {drum machine} →' stays in the category (else the type), side arrows say 'in all plugins'; 'More {drum machines}' shows the same category, with 'All … →'; menus use the card names, a 'More instruments' divider, a scroll cue and a Liked link; catalog Kind filter, Liked chip, title and count by filter; NXS explained once in the build teaser, plain words elsewhere
- scripts/data.mjs: ALIASES for search (808, 909, 303, rhodes, EP, clav, moog, 1176 …)
- player/site-ui.js: aliases and category in the score, 1-2 letter words no longer match inside words, description-only hits dropped once 3 strong hits exist (else under 'Mentions …'), category links when nothing matches; Liked scope and Kind filter; one-time 'Saved in this browser' tip
- site/a-plugins.css: fixed menu panel width, divider and cue, card names wrap to two lines and the maker gives way before the kind
- site/: pages rebuilt (--pages, date 2026-11-30 as the committed build)

Co-authored-by: David Querg <Que2039@users.noreply.github.com>
Que2039 added a commit that referenced this pull request Dec 2, 2026
…o the window's bottom edge

- Menus: the list inside the panel inherited top: calc(100% + 6px) from the stand-alone dropdown; since #4 made it
  position: relative, that pushed the grid down by its own height (empty block, grid spilling out). inset: auto.
- Buttons: white-space: nowrap for every button; tour card actions grow to their label and wrap as whole buttons;
  dialog actions likewise.
- Player bar: fixed to the bottom of the window on the page (in the flow in full screen and tutorial frames), the
  page keeps --player-bar-h free below its content; the like tip and the tour's bottom sheet sit above it.
- Mini mix: transport (Play track, track name) and channel strips laid out by the bar; full layer names, explicit
  M (mute) beside FX and S, clear states (FX outlined and tinted, muted or silent faded, solo in yellow, FX held
  while Effect is Off); layers take their own row below 1280 px and scroll sideways. Tests for the strip states.
- Site regenerated: A_PLUGINS_DATE=2026-12-02 build.mjs --pages --no-share-images

Co-authored-by: David Querg <Que2039@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants