Skip to content

Stream Deck: Scroll dial names a delivery mode with no builder selected (press is inert) #1505

Closed

Description

@amrmelsayed

Ride-along, not its own lane (the #1454 pattern): fold this into the next PR that touches apps/streamdeck/src/actions.ts.

What

With no builder selected, the Scroll dial's touchstrip still reads Scroll · send / Scroll · queue while its press is inert (onDialDown returns early when selectedBuilder() is undefined). So line 1 names a delivery mode for a gesture that cannot fire.

The fix mirrors what the canvas branch already does: suppress the qualifier when nothing is selected, so line 1 reads a bare Scroll. Two lines, in the same qualifier branch #1498 added.

Why it was deliberately not fixed in #1498

Raised by the consult pass at that lane's pr gate and left out on purpose, for reasons worth recording so this is not read as an oversight:

  • It is materially weaker than the canvas case Stream Deck: the Scroll dial does not narrate itself — no live mode, no builder, no empty state #1498 fixed. In canvas mode the qualifier sat beside a named builder, implying "this press will send that builder's selection" with nothing anywhere to correct it. Here line 2 says No builder explicitly, so the absent target is stated rather than inferred, and the qualifier itself is a true statement about the workspace's delivery mode.
  • The canvas wording does not transfer. Scroll · editor only would be false here: onDialRotate relays scroll with only the workspace path, so rotation genuinely works with nothing selected. The dial is half-live, not inert.
  • Folding it would have cost more than it fixed. The lane was at its pr gate with three approvals; a further commit moves the head and restarts all seven checks (porch: bookkeeping commits during the pr gate restart CI and invalidate the merge window (self-sustaining loop) #1462), and it would have invalidated the human's hardware attestation of the no-builder state — precisely the state being changed.

Why it is still worth doing

The lane established the principle that the strip must not claim a live mode while the gesture is inert, and this is the last place on that dial where it still does. Left alone it is a small inconsistency in a control whose whole purpose is now to describe itself accurately.

Scope: apps/streamdeck only, no wire or VS Code involvement, plus a test beside the existing canvas-mode and no-bar guards.

Activity

  1. added
    area/streamdeck
    on Aug 18, 2026
  2. amrmelsayed commented on Aug 18, 2026

    @amrmelsayed
    CollaboratorAuthor

    Architect decision — running this now as a small AIR lane, with #1459 folded in

    The ride-along instruction above assumed a PR touching actions.ts would come along.
    None is in flight, and the natural carrier (#1501) is cross-cutting and unscheduled,
    so the hold was open-ended. Owner's call: run it now, and fold in the one other
    queued edit to the same file.

    Scope of this lane

    Issue Where What
    #1505 apps/streamdeck/src/actions.ts (ScrollNav.renderTo) Suppress the qualifier when nothing is selected
    #1459 apps/streamdeck/src/actions.ts (VerbKey) Doc comment: these keys have no runtime face

    Nothing else. No wire, no VS Code, no canvas work (that is #1501, and it stays separate).

    Wording: confirmed as filed

    With no builder selected, line 1 reads a bare Scroll. The alternative considered and
    rejected was Scroll · rotate only (which would mirror the canvas branch's habit of
    naming where the dial DOES work). It was rejected because line 2 already reads
    No builder, so the absent target is stated rather than inferred, and the extra
    qualifier would be narrating an inference the strip already supports.

    Do NOT use editor only here. Rotation genuinely works with nothing selected:
    onDialRotate relays scroll with only the workspace path. The dial is half-live,
    not inert, which is exactly why this case differs from canvas mode.

    One thing to watch — an existing test pins the current behaviour

    apps/streamdeck/src/__tests__/actions.test.ts (the ScrollNav empty state case,
    around line 689) currently asserts:

    expect(...).toMatchObject({ title: 'Scroll · send', value: 'No builder' })
    

    That is the bug, asserted. Update that expectation, do not add a second test beside
    it
    — leaving it green would mean the suite still pins Scroll · send for the empty
    state. Add a companion assertion that rotation still relays scroll with no builder
    selected, so the half-live behaviour is locked in rather than left implicit.

    Verification

    pnpm --filter @cluesmith/codev-streamdeck test must pass. Hardware attestation of the
    no-builder strip is the architect's, not the builder's; do not claim the deck was
    observed.

  3. added 2 commits that reference this issue on Aug 18, 2026
  4. added a commit that references this issue on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/streamdeck

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions