Repository navigation
fix(web): add back to workspace button in profile settings sidebar - #10019
thomas0x01 wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
The profile settings pages (settings/profile/*) had no prominent way to return to the workspace: the only links back were the workspace entries at the bottom of the sidebar, which are easy to miss. Add a "Back to workspace" item at the top of the profile settings sidebar. It links to the user's last visited workspace (falling back to the first available one) and reuses the existing back_to_workspace translation key and SettingsSidebarItem component, mirroring the pattern already used by the workspace settings sidebar header. Signed-off-by: thomas0x01 <thomas0x01@users.noreply.github.com>
7ab7566 to
106e2d4
Compare
Description
The profile settings pages (
settings/profile/*) currently have no prominent way to return to the workspace. The only links back are the workspace entries at the bottom of the sidebar, which are easy to miss — as a user you enter settings from the app and then hit a dead end.This PR adds a Back to workspace item at the top of the profile settings sidebar:
last_workspace_id), falling back to the first available workspace; hidden entirely when the user has no workspaces.back_to_workspacetranslation key (already used by the workspace settings sidebar header) and the sharedSettingsSidebarItemcomponent, so no new strings or components are introduced.Type of Change
Screenshots and Media (if applicable)
Happy to attach before/after screenshots on request — the change adds a single sidebar item styled identically to the existing ones.
Summary by CodeRabbit