Skip to content

ENG-1575 Hide left sidebar settings tabs when feature flag is off#1084

Open
sid597 wants to merge 3 commits into
mainfrom
eng-1575-hide-left-sidebar-tabs-when-left-sidebar-flag-is-off
Open

ENG-1575 Hide left sidebar settings tabs when feature flag is off#1084
sid597 wants to merge 3 commits into
mainfrom
eng-1575-hide-left-sidebar-tabs-when-left-sidebar-flag-is-off

Conversation

@sid597
Copy link
Copy Markdown
Collaborator

@sid597 sid597 commented May 25, 2026

Hide the Personal and Global "Left sidebar" tabs in the Settings dialog
when the "Enable left sidebar" feature flag is disabled, using the same
hidden prop pattern as the Admin tab.
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 25, 2026

ENG-1575

@supabase
Copy link
Copy Markdown

supabase Bot commented May 25, 2026

This pull request has been ignored for the connected project zytfjzqyijgagqxrzbmz because there are no changes detected in packages/database/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

Subscribe to the leftSidebarFlag setting change so the Left sidebar
tabs hide/show immediately when the flag is toggled in the open
settings dialog, matching the live sidebar mount/unmount in index.ts,
instead of waiting for a tab switch or refresh.
@sid597
Copy link
Copy Markdown
Collaborator Author

sid597 commented May 25, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: af4196bd1e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/roam/src/components/settings/Settings.tsx
@sid597 sid597 requested a review from mdroidian May 25, 2026 09:54
When the flag is off, derive the displayed tab so a left-sidebar tab
that ends up selected (e.g. via a deep link from the command palette)
falls back to the Home tab instead of being rendered as a hidden
selection.
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.

1 participant