Skip to content

feat: add account switching#282

Merged
Dimillian merged 8 commits intoDimillian:mainfrom
net-snix:pr/account-switch
Jan 29, 2026
Merged

feat: add account switching#282
Dimillian merged 8 commits intoDimillian:mainfrom
net-snix:pr/account-switch

Conversation

@net-snix
Copy link
Copy Markdown
Contributor

@net-snix net-snix commented Jan 29, 2026

  • add account switcher UI + action in sidebar footer
  • fetch and store account info per workspace
  • add backend commands for account read + codex login (local + daemon)

@Dimillian
Copy link
Copy Markdown
Owner

@codex review

@Dimillian
Copy link
Copy Markdown
Owner

The new account card at the bottom of the sidebar is too much, IMO it should be a little "account/person" picto next to the setting button with some account popover when you can switch accounts

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 2f486339b2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src-tauri/src/codex.rs Outdated
@Dimillian
Copy link
Copy Markdown
Owner

Thx, will take it over to polish a bit the UX of it

Implements cancellation for the Codex login process in both backend (Rust) and frontend (React/TypeScript). Adds a new Tauri command and RPC handler for canceling login, updates UI components to allow users to cancel account switching, and provides visual feedback during the process.
Moved account switching logic from App.tsx to a new useAccountSwitching hook for better separation of concerns and reusability. This change simplifies the main app component and encapsulates related state and handlers.
@Dimillian Dimillian merged commit b16fb7d into Dimillian:main Jan 29, 2026
5 checks passed
@schifter
Copy link
Copy Markdown

schifter commented Jan 29, 2026

image

great feature. slight styling issue on account switcher view if sidebar is reduced width

gersmann pushed a commit to gersmann/codex-monitor-web that referenced this pull request Mar 10, 2026
zip700 pushed a commit to zip700/CodexMonitor that referenced this pull request Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants