Skip to content

fix(playground): ui parity bugs 2 - #69

Open
sundram-bruno wants to merge 6 commits into
usebruno:release/v0.4.0from
sundram-bruno:fix/script-error-cards-layout
Open

sundram-bruno wants to merge 6 commits into
usebruno:release/v0.4.0from
sundram-bruno:fix/script-error-cards-layout

Conversation

@sundram-bruno

@sundram-bruno sundram-bruno commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Jira: BRU-4444

Description

Parity fixes for the collection docs playground, covering items 18, 21, 24, 26, 29 and 31 of the ticket.

What changed

18. Environment value fields. Multiline value fields grow to fit their content instead of scrolling inside a fixed box, and they re-fit when a column is dragged narrower. Table, card and secret variants now behave the same.

21. Header name suggestions. The suggestions list renders in a portal, so the playground's scrollbar styling never reached it. It now uses the same thin themed scrollbar as the rest of the app.

24. Request tabs across a dock change. Changing the dock placement swaps the dock component and remounts the request and response panes, which reset their tab to the default. Both panes now keep the selected tab in session storage, the lane the collapsible sections and dock sizes already use.

26. Assertion descriptions. The Assertions tab was the only tab without a Description column, although the format and the desktop app both carry the field. It now shows and persists the description, and its column labels match the app (Expr, Value).

29. First column alignment. The first column header now starts exactly where the cell text below it starts, with and without the enable checkbox. The query params table labels that column Name instead of Key, as the app does.

31. Script error cards. When both the post-response and tests scripts failed, closing one error card closed both, and the cards took the panel's height from the content below them. Each card now closes on its own and the response body and test results keep their full height.

Also in this PR

KeyValueTable.css becomes an Emotion StyledWrapper, matching every other component in the package. The legacy .text-input rules are dropped because HighlightedInput already owns those fields.

@sundram-bruno sundram-bruno changed the title fix(playground): close script error cards one at a time and keep the response content scrollable fix(playground): ui parity bugs 2 Sep 7, 2026
@sundram-bruno
sundram-bruno marked this pull request as draft September 7, 2026 11:59
@sundram-bruno
sundram-bruno deleted the fix/script-error-cards-layout branch September 16, 2026 05:13
@sundram-bruno
sundram-bruno restored the fix/script-error-cards-layout branch September 16, 2026 05:14
@sundram-bruno sundram-bruno reopened this Sep 16, 2026
@sundram-bruno
sundram-bruno force-pushed the fix/script-error-cards-layout branch from bc587e5 to 1a01276 Compare September 16, 2026 05:15
@changeset-bot

changeset-bot Bot commented Sep 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3edab3d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

Tables cap at 24rem and scroll inside the container; cell hover
tooltips and name title attributes are gone. Multiline values grow to
fit instead of scrolling, re-fit when a column is dragged narrower, and
share one line-height with single-line inputs so rows keep their
height. The header-name suggestions list gets the thin themed
scrollbar. Assertions gain the Description column with round-trip
persistence and the app's short column labels. The first column header
starts exactly where the cell text starts, and query params say Name
instead of Key.

KeyValueTable styles move into an Emotion StyledWrapper like every
other component; the legacy .text-input rules are dropped because
HighlightedInput owns those fields.
Switching the dock placement swaps the dock component and remounts the
request and response panes, so their locally held tab reset to the
default. Both panes now keep the active tab in session storage, the same
lane the collapsible sections and dock sizes use, so it survives the
remount and a reload.
@sundram-bruno
sundram-bruno force-pushed the fix/script-error-cards-layout branch from 1a01276 to c863479 Compare September 22, 2026 04:52
@sundram-bruno
sundram-bruno marked this pull request as ready for review September 22, 2026 04:54
@sundram-bruno
sundram-bruno force-pushed the fix/script-error-cards-layout branch from 1c8606d to 5e1199f Compare September 22, 2026 05:12
Parity item 17 was worded ambiguously and the implementation followed
the wrong reading, so the table height cap and the removal of the cell
tooltips both come out. Tables grow with their content again and a
clipped cell shows its full text on hover and through its title.
Comment thread packages/bruno-api-docs/src/components/KeyValueTable/StyledWrapper.ts Outdated
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