Tags: azu/launchd-ui
Tags
Add dark mode with system preference detection (#11) * Add dark mode with system preference detection and manual toggle Follows macOS prefers-color-scheme by default. A header button cycles through system/dark/light modes, persisted in localStorage. The dark CSS variables already existed but were unused. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Fix dark mode badge contrast, move theme toggle, add tests - System/Daemon badges use lighter text and borders in dark mode - Theme toggle button moved to left of title - Added 7 tests for useTheme hook (cycle, persistence, system preference) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Address Copilot review feedback - Fix cycle() race condition: derive next theme from previous state via setThemeState callback, move localStorage/DOM side effects into the useEffect that reacts to theme changes - Add aria-label to theme toggle button for screen reader accessibility - Restore window.matchMedia in afterEach to avoid test pollution - Add test for rapid consecutive cycle() calls Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add "Home" filter for user-authored agents (#8) Adds a "Home" button between "User" and "System" in the source filter toolbar. It shows only user-authored automations — agents whose executable is a script under the home directory (run via an interpreter such as /bin/bash, /bin/zsh, python), as opposed to vendor-installed apps whose binary lives in /Applications, an .app bundle, or ~/Library/Application Support. Backend: compute an `is_home_agent` flag in `list_jobs` from the parsed plist (Program / ProgramArguments) and expose it on `JobListEntry`. Frontend: add a `SourceFilter` type ("All" | JobSource | "Home") and match `is_home_agent` when the Home filter is active. Tests: Rust unit tests for the classification helpers; a vitest case for the Home filter. Co-authored-by: James <jamescomptemac@MacBook-Pro-de-James.local> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
PreviousNext