zed/crates/title_bar/src
Tom Houlé 5656f3eb3f
client: Use cloud as source of truth for the selected organization (#57140)
Now that the cloud platform exposes a system-settings endpoint for the
user's selected organization, switch `UserStore` over to it and drop the
local database persistence. The server already returns the current
selected organization for `get_authenticated_user()`.

set_current_organization becomes a optimistic, with the in-memory
selection updated immediately. hen a background task POSTs to the system
settings endpoint.

Stale current_organization_id rows from older installs are left dangling
— harmless and not worth a migration. This is the second step in moving
organization selection to cloud; the first added the
update_system_settings client method.

Part of CLO-716

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
2026-05-20 07:00:02 +00:00
..
application_menu.rs gpui: Add disabled state to app menu items (#44191) 2026-03-20 11:00:00 +00:00
collab.rs client: Rename UserId to LegacyUserId (#56185) 2026-05-08 15:53:40 +00:00
onboarding_banner.rs Migrate Rules to global Skills and AGENTS.md (#56672) 2026-05-14 16:30:08 +00:00
plan_chip.rs cloud_api_types: Add ZedBusiness variant to Plan (#51329) 2026-03-11 21:28:29 +00:00
stories.rs
title_bar.rs client: Use cloud as source of truth for the selected organization (#57140) 2026-05-20 07:00:02 +00:00
title_bar_settings.rs Move the worktree picker to the title bar + make it always visible (#54183) 2026-04-20 09:29:51 +00:00
update_version.rs Improve update button version display (#56647) 2026-05-13 16:29:58 +00:00