zed/crates/client/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
..
proxy ci: Update typos versions and fix new occurrences (#40784) 2025-10-21 10:43:22 +00:00
telemetry
client.rs client: Attach system ID to sign-in request (#56675) 2026-05-14 13:29:49 +00:00
llm_token.rs Merge gpui::Task and scheduler::Task (#53674) 2026-05-05 22:41:13 +00:00
proxy.rs
telemetry.rs client: Cleanup superfluous dbg! left over from #56440 (#56457) 2026-05-11 17:50:24 +00:00
test.rs collab: Remove database access in Authorization header verification (#56558) 2026-05-13 15:17:42 +00:00
user.rs client: Use cloud as source of truth for the selected organization (#57140) 2026-05-20 07:00:02 +00:00
zed_urls.rs Use the announcement toast for skills support (#56873) 2026-05-20 01:26:06 +00:00