Skip to content

(improvements): UI refinements related to response formatter and actions - #21

Merged
arpit-bruno merged 22 commits into
usebruno:mainfrom
vasharma05-bruno:response-formatter-qa-fixes
Jul 31, 2026
Merged

(improvements): UI refinements related to response formatter and actions#21
arpit-bruno merged 22 commits into
usebruno:mainfrom
vasharma05-bruno:response-formatter-qa-fixes

Conversation

@vasharma05-bruno

@vasharma05-bruno vasharma05-bruno commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Description

This PR brings the following changes:

  1. The copy functionality across multiple implemenations is now the same.
  2. Replaced the ActionIcon with IconButton.
  3. Update the Large Response warning banner
  4. Update the Large Response title
  5. Icons added to actions in the Large Response banner
  6. Moved the selected format and preview to redux
  7. Fixed the black text for Preview text when the playground is open in Modal.
  8. Display icon in the Response formatter Menu trigger, eye icon when in preview, else format icon
  9. Add tooltips to the response actions
  10. Hide the copy icon in Response Body editor, since the response action already exists for the same
  11. Added unit and e2e tests for Response Actions and Response body formatters
  12. Update the logic to display the size of response body
  13. Add logic for response status text (which is not added by fetch, but is added by axios
  14. Fix the PDF preview width in the response pane.

@vasharma05-bruno vasharma05-bruno changed the title Improve the small size menu dropdown (improvements): UI refinements related to response formatter and actions Jul 30, 2026
sundram-bruno added a commit to sundram-bruno/bruno-api-docs that referenced this pull request Jul 31, 2026
Copy state and its reset timer are needed by more than one control, so
they move out of CopyButton into a hook. The signature and return shape
match the one being added in usebruno#21 so the two can be reconciled easily; the
hook additionally clears its confirmation when the value changes, which
CopyButton needed and any other caller wants too.
@vasharma05-bruno
vasharma05-bruno force-pushed the response-formatter-qa-fixes branch from 99adb3b to f4c6cff Compare July 31, 2026 12:03
@arpit-bruno
arpit-bruno merged commit bce229a into usebruno:main Jul 31, 2026
2 checks passed
sundram-bruno added a commit to sundram-bruno/bruno-api-docs that referenced this pull request Jul 31, 2026
Takes the useCopy hook and the tabler-icon CopyButton from usebruno#21, keeping
this branch's additions on top: the hook clears its confirmation when the
value changes, and the button still exposes data-copied for the green
tint and a derived test id on the tick.
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