feat: switch-while-running, startup settings and more - #115
Open
rushiranpise wants to merge 8 commits into
Open
Conversation
…login, start minimized, warmup/refresh details, active pin in tray
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.
Description:
Summary
Bundles 6 features + UI polish into a single branch from scratch.
What's changed
Switch accounts while Codex is running
The Switch button no longer disables when Codex is running. Clicking it shows a confirmation dialog ("unsaved work may be lost"), force-kills Codex processes, then switches. The backend
switch_accountcommand accepts a new optionalforceparameter to bypass the running-process guard."Open Codex" in both tray menus
Added to the native right-click menu (between "Open Codex Switcher" and "Quit") and to the React tray popup footer.
Open Codex automatically after switching
New "Open Codex after switch" toggle in the Settings dropdown. When enabled, Codex launches after every successful account switch.
Launch at Login / Start Minimized
Two new toggles in the Settings dropdown (Tauri only). Launch at Login uses
tauri-plugin-autostart. Start Minimized hides the main window on startup so the app runs silently in the tray.Warmup and refresh failure details
Active account pinned at top in both tray menus
Both the native right-click menu and the React tray popup always show the active account first, with a separator below it.
UI polish
whitespace-nowrap, label becomes "Switch & Close" when Codex is runningConfigurable Auto warm-up and usage refresh interval
Testing
Codex Switcher_0.2.9_x64-setup.exe)cargo fmtapplied;cargo checkpasses (warnings only, no errors)