feat: status indicator for pre and post request scripts#6865
Merged
sid-bruno merged 1 commit intousebruno:mainfrom Jan 21, 2026
Merged
feat: status indicator for pre and post request scripts#6865sid-bruno merged 1 commit intousebruno:mainfrom
sid-bruno merged 1 commit intousebruno:mainfrom
Conversation
Contributor
WalkthroughAdds StatusDot indicators to Pre Request and Post Response tabs in three script editors; chooses initial active tab based on script presence and resets tab when the associated collection/folder/item UID changes. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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. Comment |
Contributor
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@packages/bruno-app/src/components/RequestPane/Script/index.js`:
- Around line 76-90: The StatusDot in the RequestPane Script tabs isn't
receiving error state from the item, so update the two TabsTrigger usages
(value="pre-request" and value="post-response") to pass type="error" to
StatusDot when the corresponding error message exists: use
item.preRequestScriptErrorMessage for the pre-request tab and
item.postResponseScriptErrorMessage for the post-response tab (alongside the
existing hasPreRequestScript/hasPostResponseScript checks) so StatusDot renders
the red error state like HttpRequestPane does.
73c15ad to
2b48d87
Compare
sid-bruno
approved these changes
Jan 21, 2026
This was referenced Jan 22, 2026
Closed
Merged
6 tasks
FraCata00
pushed a commit
to FraCata00/bruno
that referenced
this pull request
Feb 9, 2026
5 tasks
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes: #6255
Jira
Description
This PR implements the logic of adding the content indicator for the Pre and Post request scripts
Contribution Checklist:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.