feat(docs): open in bruno download modal for non-git collections - #74
Open
sundram-bruno wants to merge 4 commits into
Open
feat(docs): open in bruno download modal for non-git collections#74sundram-bruno wants to merge 4 commits into
sundram-bruno wants to merge 4 commits into
Conversation
…-3875) Show the Open in Bruno button for every collection. Git-backed collections keep the Fetch in Bruno link; the rest get a modal that downloads the collection as OpenCollection YAML and lists the import steps, with a Download Bruno link for readers without the app. The download returns the original YAML text the docs were loaded with when it is available and rebuilds it from the parsed collection otherwise.
|
Name the download like the desktop export so non-ASCII collection names survive, keep folders without items free of an empty items key, stabilise the modal onClose callback, clear the git url from the store when the prop is removed, and derive every modal test id from one base.
sachin-bruno
approved these changes
Sep 9, 2026
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.
JIRA: BRU-3875
Description
The Open in Bruno button was hidden for collections that are not backed by a git repo, so readers of those docs had no way to get the collection into the desktop app. It is now always shown. Git-backed collections keep the Fetch in Bruno link. For everything else the button opens a modal with a Download Collection action, the two import steps, and a Download Bruno link for readers who do not have the app.