Skip to content

Layout builder: mark keys that hold other actions, with the ways back - #30

Merged
akorobko merged 1 commit into
mainfrom
claude/project-thread-xrq035
Dec 3, 2026
Merged

akorobko merged 1 commit into
mainfrom
claude/project-thread-xrq035

Conversation

@akorobko

@akorobko akorobko commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Requested in the project thread

What and why

Fixes #17. A beta tester gave keys of the Riglight profile other actions in the Stream Deck app. Those keys lost their Riglight Slot, so layout changes stopped reaching them, and nothing explained why.

  • DeckRuntime.decks() lists the devices that show Riglight Slots, plus their keys without one.
  • The Control Center adds decks.list and decks.openRiglight. The plugin and the virtual deck provide both.
  • The layout builder shows a short info note and marks those keys Not in layout (wording approved by the maintainer). It also offers two guides:
    • Put slots back…: drag Riglight Slot onto the marked keys.
    • Restore the whole profile…: delete the profile in the app, then Add the Riglight profile, which switches to the bundled profile so the app offers a fresh copy.

The Stream Deck SDK can't change or reset a profile; a plugin can only switch to a bundled one. That's why both ways back are steps for the user. Users can still keep their own actions on the profile, so the note is informational, not an error.

How it was verified

  • npm run check passes (950 tests), with new runtime tests for decks().
  • New e2e spec: the virtual deck replaces three keys (new POST /api/replaced). The note and the marks appear, the restore button answers, and the note goes away once the slots are back. All layout e2e specs pass.

Not in layout

Checklist

  • npm run check passes
  • Protocol change: none (Control Center RPC only)
  • Renderer change: none
  • UI change: mockup approved first, screenshot attached
  • Docs updated (README, CHANGELOG)
  • No Fractal Audio/Elgato documents, tables, binaries or artwork added

Hardware questions

  • Does switchToProfile offer to re-add a bundled profile that the user deleted? The tester's report suggests it does, but Elgato doesn't document it. Check on a real deck.

Generated by Claude Code

Keys of the Riglight profile given other actions in the app lose their
Riglight Slot, so a layout no longer reaches them, and nothing said so.
The runtime now lists the decks that show slots and their keys without
one; the layout builder marks those keys "Not in layout" and explains how
to put a slot back or restore the whole profile (the SDK lets a plugin
neither change nor reset a profile, only switch to a bundled one, which
the app offers to add when missing). The virtual deck can replace keys
(POST /api/replaced) for the e2e test.

Fixes #17

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wh8yKGhaWQVitkQPu8tehD
@akorobko akorobko self-assigned this Dec 3, 2026
@akorobko
akorobko merged commit ca22171 into main Dec 3, 2026
1 check passed
@akorobko
akorobko deleted the claude/project-thread-xrq035 branch December 3, 2026 00:41
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.

Control Center layout changes stop reaching keys replaced in the Stream Deck app; no way to restore the profile

2 participants