feat(tauri): add the tray status line and lock indicator - #29
Merged
statik merged 1 commit intoJun 21, 2026
Merged
Conversation
Complete tray parity with the Go app's status display:
- Add a disabled status line at the top of the tray menu ("Locked: <id>
(<title>)" / "Disconnected — no player"); the presenter updates its text
from the poll thread via a shared handle populated when the tray is built.
- The TrayPresenter now also sets a menu-bar lock indicator (HD● / HD○,
rendered on macOS where tray titles show) alongside the existing tooltip.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R8X1NxFiaLGJzwUD5wgRTv
statik
marked this pull request as ready for review
June 21, 2026 15:50
statik
merged commit Jun 21, 2026
06a58f5
into
claude/tauri-migration-self-update-74d57g
6 checks passed
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.
Completes tray parity with the Go app's status display.
What it does
Locked: <id> (<title>)when locked,Disconnected — no playerotherwise. TheTrayPresenterupdates its text from the poll thread via a sharedArc<Mutex<Option<MenuItem>>>populated when the tray is built.HD●locked /HD○idle) via the tray title — rendered on macOS, where tray titles show — alongside the existing tooltip update.Menu is now: Status (disabled) · Profile · Re-home · Check for Updates… · Quit.
Verification (Linux, full Tauri toolchain)
cargo clippy --all-targets -- -D warnings(src-tauri) ✅cargo test(src-tauri) ✅cargo fmt --check(src-tauri) ✅🤖 Generated with Claude Code
Generated by Claude Code