Skip to content

Guided tour on the live device; tutorials beside a sticky device with "Set it for me" - #7

Open
Que2039 wants to merge 1 commit into
mainfrom
cursor/live-guided-tour-3c96
Open

Que2039 wants to merge 1 commit into
mainfrom
cursor/live-guided-tour-3c96

Conversation

@Que2039

@Que2039 Que2039 commented Dec 2, 2026

Copy link
Copy Markdown

Workstream 5 of the UX work plan ("Guided tour and tutorials"), covering issues 5 and 11 of the fun-and-clarity UX review.

Guided tour

  • Runs on the live player now (site/tour.js, rewritten). A ring over the step's area dims the rest of the interface. It reuses the existing step hole boxes, which are already in percent of the cropped interface, so they map 1:1 onto .player-box. The card sits beside the ring. Where the device has no room (stage narrower than 720 px, or too short for the card), the card becomes a sheet at the bottom of the window. Neither the ring nor the card takes clicks off the device, so the visitor can turn the lit control while reading. The page scrolls each step's ring into view, clear of the sticky header and the sheet. Escape or × closes the tour, and swiping the card moves between steps. Arrow keys are left alone because the player uses them for octave.
  • Steps start with a verb where that can be done systematically:
    • The overview step becomes "Start playing". Its body is the overview's second paragraph, which is already a verb-led, device-specific how-to for every curated device ("Pick a loop and press Play loop, then turn up the drive", "Hold a low note and turn the knobs"). The first, descriptive sentence is dropped from the live tour because the page lede covers it.
    • Recurring area names become action headlines, and the area name moves to the kicker. Examples: Presets → "Pick a preset", Bypass/Active/Footswitch → "Switch the effect off and on", Envelopes → "Shape the envelopes". All other titles stay as written.
    • The first lit step adds: "The lit controls work while this card is open: try them now."
  • Starting it: call window.aPluginsTour.start() (it resolves to false if the device has no tour), or click any element with data-tour-start. A page opened at #tour starts it on load. SPA navigation stops a running tour (aPluginsTour.scan).
  • Start page: the plugin of the day's button is now "Guided tour · N steps" (href="<id>/#tour", data-tour-start). It starts the tour on the player already on the page. Devices without a tour get "Details and specs".
  • Device pages: the tour section now has a short intro, a Start the guided tour button and a "What the tour covers" list of all steps as text (good for SEO). The step screenshots appear only inside <noscript>.
  • No competing tours: the four Nitida devices (WT, Keys, Organ, FX) ship their own in-device tour. Their player gets data-help="own", and start() shows a single card pointing to the device's help button (?). Their tour section says the same and has no start button.
  • Placement-neutral wording: "Pick a loop above the device and press Play" is now "Pick a loop and press Play loop", in data.mjs, the generated-device text in model.mjs and the built tour JSONs. This keeps the copy correct once the loop controls move into the bar below the device. VOLLBRUCH's first step also asks visitors to close its sound browser, because its tour shots show the rack.

Tutorials

  • On wide screens (1000 px and up), the steps sit in a column beside a sticky device frame. On narrower screens the frame is sticky on top and the steps scroll under it (the header is not sticky on tutorial pages there). The embed reports its height to the page, so the frame fits the player, capped to the window.
  • "Set it for me" per step: each step can list parameter values (by name; params maps names to ids, taken from the device's interface metadata). They add up from step to step on top of the start sound. The page posts them to the embed, which applies them through the existing preset path: a new applySettings in player/main.js calls host.applyPreset with the start values plus the step's values. Values are authored for all 17 steps that change a setting across the Reese, SID and Vocoder tutorials, and all are range-checked against the manifests. Four tutorial titles now start with a verb ("Detune the saws", "Add dirt and squash", "Choose the bands", "Freeze a vowel").

For the start strip (other worker)

  • Add data-tour-start to the strip's "Show me around" button, or call window.aPluginsTour.start(). In pages.mjs, hasTour(id) and tourLabel(id) ("Guided tour · N steps", or "Guided tour" on Nitida devices) are available inside makePages.
  • This PR doesn't touch the control bar. The only edits in player/main.js are the applySettings helper, next to the preset code, and an embed-only message listener at the end of createPlayer.

Verification

  • node scripts/build.mjs --pages succeeds (pinned to the last build's date, A_PLUGINS_DATE=2026-11-30, so the start page and sitemap don't churn). There is no lint or test setup in the repo. I ran node --check site/tour.js and a script that checks every tutorial value against its parameter's range.
  • Most page diffs are only the new asset version hashes. Share images were not re-rendered.
  • Build note: scripts/data.mjs and scripts/model.mjs read ../native-nxs/…, which isn't available in this environment. I built against local stubs and a temporary fallback that are not committed. No browser click-through was done.

Human checklist

  • Device page, wide (1440×900), effect (e.g. /tape/): press Start the guided tour. The page scrolls to the device. Step 1 "Start playing" has no ring. Next: the ring sits on Presets, the card is beside it, and the rest of the device is dimmed. Turn a knob inside the ring while the card is open and it responds.
  • Same, instrument (e.g. /quack/, /model-d/): ring positions match the controls on every step, and the card never covers the ring.
  • Device with a capped height or crop (e.g. /vocoder/, /sid/): ring offsets stay correct.
  • Phone (390×844): the card is a bottom sheet, the ring scrolls into view above it, and swiping the card changes steps.
  • Full screen during the tour: the card stays visible and positioned.
  • Escape and × close the tour. Arrow keys still shift the octave during the tour.
  • Finish shows "End of the tour" with Open in Audiotool ↗ and Start again.
  • Start page: Guided tour · N steps starts the tour on the home player without leaving the page. Middle-click opens <id>/#tour, which autostarts.
  • Navigate to another device (menu, arrows) during a tour: the tour closes.
  • Nitida page (e.g. /nitida-keys/): there is no start button, the intro points to the device's ? button, and aPluginsTour.start() in the console shows one pointer card.
  • With JavaScript off: the device page tour section shows the step screenshots with captions.
  • Tutorials (/learn/reese-bass/, /learn/chiptune-sid/, /learn/vocoder-free/), wide: the device stays beside the steps while scrolling, and the frame height fits the player (no inner scrollbar at 1440×900).
  • Tutorials, phone: the device stays on top and the steps scroll under it.
  • Set it for me on each step changes the device's knobs to the step's sound (the button briefly reads "Set. Now play it"), and playing a note shows the difference. Listen especially to SID "Make drums" and "Stack chips", and Vocoder "Set the key".
Open in Web Open in Cursor 

… "Set it for me"

- site/tour.js runs the tour over the player: a ring over the step's area (the step holes, in percent of the
  cropped interface) dims the rest, a card sits beside it or at the bottom on narrow screens, and the device keeps
  working while the card is open. window.aPluginsTour.start() and any [data-tour-start] element start it; #tour
  starts it on load. Devices with their own tour (Nitida) get one card pointing to it instead.
- The first step becomes "Start playing" with the overview's how-to-play line; recurring area names become
  verb headlines with the area in the kicker.
- Device pages: the tour section starts the live tour and lists the steps as text; screenshots only in noscript.
- Start page: the plugin of the day's "Guided tour · N steps" starts the tour on the player directly.
- Loop instructions no longer say where the loop buttons are ("Pick a loop and press Play loop").
- Tutorials: steps beside a sticky device on wide screens, the device sticky on top on narrow ones, the frame as
  tall as its player; "Set it for me" per step sets the step's values on top of the start sound (applyPreset).

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