Skip to content

fix(workspace): keep workspace nav tabs visible when editing docs - #8249

Merged
naman-bruno merged 1 commit into
usebruno:mainfrom
gopu-bruno:fix/BRU-3562-workspace-docs-hides-nav-tabs
Jun 12, 2026
Merged

naman-bruno merged 1 commit into
usebruno:mainfrom
gopu-bruno:fix/BRU-3562-workspace-docs-hides-nav-tabs

Conversation

@gopu-bruno

@gopu-bruno gopu-bruno commented Jun 12, 2026 •

Copy link
Copy Markdown
Collaborator

Description

When a workspace had many collections and the user opened Workspace Docs for editing, the workspace name and tabs disappeared and could not be recovered.

Fixes BRU-3562

Screen Recording

Screen.Recording.2026-06-12.at.3.11.57.PM.mov

Contribution Checklist:

  • I've used AI significantly to create this pull request
  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

Summary by CodeRabbit

  • Style
    • Optimized internal layout handling for improved component flexibility and sizing behavior.

@coderabbitai

coderabbitai Bot commented Jun 12, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 64d59118-4743-41ad-81c9-a3801fbb2276

📥 Commits

Reviewing files that changed from the base of the PR and between 13363d7 and 282e3a2.

📒 Files selected for processing (1)
  • packages/bruno-app/src/components/WorkspaceHome/WorkspaceOverview/StyledWrapper.js

Walkthrough

StyledWrapper's root styled component is updated to use flexbox growth and shrinking with a minimum height constraint instead of a fixed height value, aligning its layout behavior with flex container semantics.

Changes

Flexbox Sizing

Layer / File(s) Summary
StyledWrapper flexbox layout update
packages/bruno-app/src/components/WorkspaceHome/WorkspaceOverview/StyledWrapper.js
Root styled div switches from height: 100% to flex: 1 1 0% and adds min-height: 0 to enable proper flex layout participation and nested scrolling constraints.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested reviewers

  • bijin-bruno
  • lohit-bruno
  • helloanoop

Poem

Flexbox grows and shrinks with grace,
No fixed heights in this place,
Min-height zero, the key to scroll,
Layout harmony, the goal. ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: fixing a bug where workspace navigation tabs disappeared when editing docs, which aligns with the changeset's flexbox layout fix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@utkarsh-bruno utkarsh-bruno left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good

@naman-bruno
naman-bruno merged commit 7a24b19 into usebruno:main Jun 12, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants