Skip to content

feat(playground):adds search functionality for the sidebar and moves env switcher to the Header - #124

Merged
arpit-bruno merged 13 commits into
usebruno:release/v0.6.0from
adwait-bruno:feat/playground-desktop-layout
Nov 23, 2026
Merged

arpit-bruno merged 13 commits into
usebruno:release/v0.6.0from
adwait-bruno:feat/playground-desktop-layout

Conversation

@adwait-bruno

@adwait-bruno adwait-bruno commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

JIRA:BRU-4143

Description

Environment switcher

Before After
Switcher + gear button in the playground sidebar Switcher at the top right of the playground header
Always one of the collection's environments New "No environment" option (playground + docs topbar); the first environment is still the default
Gear button opens the Environments page "Configure" item in the menu opens the Environments page on the selected environment
Title could wrap in a narrow header Title stays on one line; only the switcher shrinks (min 87px); inline dock min width 445px

Sidebar search

  • "Search requests" box at the top of the sidebar
  • Searches folder names, request names and URLs (same search as the global docs search)
  • Shows only matches and the folders leading to them; matched letters are bold
  • Requests matched by URL show the URL under the name while searching
  • Result folders open by default and can be closed; clearing the search restores the tree as it was
  • Searches the playground's copy, so edited URLs are found
  • "No results found" when nothing matches

Screenshots

Before After
Before After

@changeset-bot

changeset-bot Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1844c35

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@usebruno/api-docs Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vasharma05-bruno vasharma05-bruno left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some minor changes, else looks good to me!

adwait-bruno and others added 7 commits November 16, 2026 14:05
…inline dock, and reopen environments on the selected env each time configure is clicked
…s own menu item, style the header switcher by class
…ound-desktop-layout

# Conflicts:
#	packages/bruno-api-docs/e2e/components/playground.component.ts
#	packages/bruno-api-docs/src/components/Docs/Sidebar/SidebarNavLink/SidebarNavLink.tsx
@arpit-bruno
arpit-bruno merged commit 5b189b2 into usebruno:release/v0.6.0 Nov 23, 2026
9 checks passed
arpit-bruno added a commit to arpit-bruno/bruno-api-docs that referenced this pull request Nov 23, 2026
… env switcher onto the split packages, env switcher in the standalone playground toolbar
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.

3 participants