Skip to content

feat(docs): open in bruno download modal for non-git collections - #74

Open
sundram-bruno wants to merge 4 commits into
usebruno:mainfrom
sundram-bruno:feat/bru-3875-open-in-bruno-modal
Open

feat(docs): open in bruno download modal for non-git collections#74
sundram-bruno wants to merge 4 commits into
usebruno:mainfrom
sundram-bruno:feat/bru-3875-open-in-bruno-modal

Conversation

@sundram-bruno

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

Copy link
Copy Markdown
Contributor

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.

image

…-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.
@changeset-bot

changeset-bot Bot commented Sep 8, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 342a3c0

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

@sundram-bruno sundram-bruno changed the title feat(docs): open in bruno download modal for non-git collections (BRU-3875) feat(docs): open in bruno download modal for non-git collections Sep 8, 2026
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.
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