mirror of
https://github.com/gravitational/teleport.git
synced 2026-09-24 16:17:11 +08:00
* Separate logging out and forgetting profile * Store `proxyHost` in the workspace and decouple workspace existence from profile existence * Display workspaces instead of profiles in identity list * Only activate workspace on launch when cluster exists * Handle cluster disappearing when `ClusterLogin` is open * Fix e2e tests * Add comments * Clean up rendering workspaces * Make test name more obvious * Make workspace state the source of truth for activation * Adjust callsites to updated `addWorkspace` and `setActiveWorkspace` behavior * Add `makeWorkspace` and `makePersistedWorkspace` test helpers * Fix mistakenly passed `cluster.uri` instead of `cluster.proxyHost` * Read `activeClusterUri` from `useStoreSelector` * Update `proxyHost` in workspace whenever it changes in profile * Use `proxyHost` in notification * Introduce `rootClusterProxyHost` * Get rid of `getActiveRootCluster()` * Rename `identityItems` * Improve comment for `setActiveWorkspace` init action * Fix `Identity` story * Previously used -> Saved in Connect * Clear app updates managing cluster only when forgetting cluster * Wrap `hasAnyWorkspaces` in boolean * Expired session -> Session expired, Saved in Connect -> In history * Fix e2e test