Skip to content

fix(web): add back to workspace button in profile settings sidebar - #10019

Open
thomas0x01 wants to merge 1 commit into
makeplane:previewfrom
thomas0x01:fix/profile-settings-back-to-workspace
Open

thomas0x01 wants to merge 1 commit into
makeplane:previewfrom
thomas0x01:fix/profile-settings-back-to-workspace

Conversation

@thomas0x01

@thomas0x01 thomas0x01 commented Oct 15, 2026 •

Copy link
Copy Markdown

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:

  • Links to the user's last visited workspace (last_workspace_id), falling back to the first available workspace; hidden entirely when the user has no workspaces.
  • Reuses the existing back_to_workspace translation key (already used by the workspace settings sidebar header) and the shared SettingsSidebarItem component, so no new strings or components are introduced.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Improvement (change that would cause existing functionality to not work as expected)
  • Code refactoring
  • Performance improvements
  • Documentation update

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

  • New Features
    • Added an optional link from profile settings back to a workspace, prioritizing the user’s last-used workspace.

@CLAassistant

CLAassistant commented Oct 15, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@coderabbitai

coderabbitai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2375c8c4-27d1-4852-845e-6f1a884aba5d
📥 Commits

Reviewing files that changed from the base of the PR and between 7ab7566 and 106e2d4.

📒 Files selected for processing: 1
  • apps/web/components/settings/profile/sidebar/header.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

📝 Walkthrough

The profile settings sidebar header now displays an optional link to the user’s last workspace, or the first available workspace. The link uses the selected workspace’s slug. The avatar, name, and email remain below the link.

Changes: Profile workspace navigation

Layer / File(s) Summary
Workspace selection and link
apps/web/components/settings/profile/sidebar/header.tsx
The header selects the user’s last workspace or falls back to the first available workspace. When a workspace exists, it displays a translated link to that workspace. The avatar and user details appear below the optional link.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to 106e2

The back-to-workspace link is available after workspace data loads and is omitted for users without workspaces. No identified behavior blocks merging.

Pre-merge checks: Passed 5
Passed Passed checks: 5 passed
Check name Status Explanation
Description check Passed The description explains the change, identifies the feature type, and describes the workspace-selection behavior. It does not include the required Test Scenarios or References sections, but the core i…
Title check Passed The title clearly and concisely describes the main change: adding a back-to-workspace button in the profile settings sidebar.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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>
@thomas0x01
thomas0x01 force-pushed the fix/profile-settings-back-to-workspace branch from 7ab7566 to 106e2d4 Compare October 15, 2026 08:34

This branch has not been deployed

No deployments
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.

2 participants