Skip to content

85: Test mode for restrictor-only configs#87

Merged
meduzapat merged 1 commit into
developmentfrom
task_85-Test_mode_for_restrict
Jun 28, 2026
Merged

85: Test mode for restrictor-only configs#87
meduzapat merged 1 commit into
developmentfrom
task_85-Test_mode_for_restrict

Conversation

@meduzapat

Copy link
Copy Markdown
Owner

Task-Url: #85

The test toggle was gated on LED elements, meaning a restrictor-only project (no LED hardware) could never enter test mode, leaving the rotator test unreachable.

Reframe the single toggle as a shared sandbox configuration with two zones: the daemon zone (devices, layout test) and the restrictor zone (rotator test). Test mode is available when either zone contains data; staging is always performed, while ledspicerd launches only when devices are present.

  • updateDaemonControls: Eligibility is now based on (devices and port) OR restrictors. The port requirement applies exclusively to the daemon zone.
  • launchDaemon: Always stage the sandbox configuration; connect the daemon only when devices exist.
  • connectDaemon/reconnectDaemon: Drive layout consumers and the "Daemon connected" status exclusively for the daemon zone.
  • Relabel the toggle tooltip and status messages to remove daemon-specific wording.

Task-Url: #85

The test toggle was gated on LED elements, meaning a restrictor-only
project (no LED hardware) could never enter test mode, leaving the
rotator test unreachable.

Reframe the single toggle as a shared sandbox configuration with two
zones: the daemon zone (devices, layout test) and the restrictor zone
(rotator test). Test mode is available when either zone contains data;
staging is always performed, while ledspicerd launches only when devices
are present.

- updateDaemonControls: Eligibility is now based on (devices and port)
OR restrictors. The port requirement applies exclusively to the daemon
zone.
- launchDaemon: Always stage the sandbox configuration; connect the
daemon only when devices exist.
- connectDaemon/reconnectDaemon: Drive layout consumers and the "Daemon
connected" status exclusively for the daemon zone.
- Relabel the toggle tooltip and status messages to remove
daemon-specific wording.
@meduzapat meduzapat self-assigned this Jun 28, 2026
@meduzapat meduzapat added the enhancement New feature or request label Jun 28, 2026
@meduzapat meduzapat merged commit 1604af6 into development Jun 28, 2026
1 check passed
@meduzapat meduzapat deleted the task_85-Test_mode_for_restrict branch June 28, 2026 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant