60: Real daemon IPC for layout test commands#83
Merged
Conversation
Task-Url: #60 * **Manual Connection Toggle:** Added a mode-driven "Connect" toggle to the top bar that adapts based on the environment (hidden in Portable, disabled in Local, enabled in Interactive). * **Isolated Testing Configuration:** Configured the handler to build a temporary, isolated test config and a hidden `__ledspicerui_test__` profile, keeping testing completely independent of standard profiles. * **Daemon Takeover & Clean Restore:** Implemented a single-step discovery process that captures running daemon states. It gracefully stops the daemon via `systemctl` or `SIGTERM`, and safely restores it afterward using a detached launch (`setsid`) so it remains completely independent of the UI lifecycle. * **Targeted Hardware Testing:** Implemented generic command sending where UI elements map directly to hardware actions. Strips now pack evenly into display cells, and interacting with a segment cleanly lights or clears the entire block. * **Context-Aware UI Controls:** Restricted element testing so it is only available while actively connected, and automatically deactivates any active element if a disconnect occurs. * **Visual Transition Overlay:** Integrated a modal, borderless busy dialog with an auto-starting spinner and label that pumps the main loop during the brief connection/disconnection window. * **Flashed Debug Feedback:** Added a non persistent "Verbose UI Debugging" option in Settings that routes semantic test actions through a new, fast-fading `Debug` severity level. * **Terminal & UI Cleanups:** Removed dead observers, silenced redundant console noise, and refined the spacing and margins of the Settings layout.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task-Url: #60
__ledspicerui_test__profile, keeping testing completely independent of standard profiles.systemctlorSIGTERM, and safely restores it afterward using a detached launch (setsid) so it remains completely independent of the UI lifecycle.Debugseverity level.this also closes #63