Reorganize the download menu and expose multi-format image exports on package pages#3073
Merged
rushabhcodes merged 2 commits intotscircuit:mainfrom Mar 29, 2026
Conversation
There was a problem hiding this comment.
Pull request overview
Enables the View Package page header’s download menu to offer multiple PNG image format options (schematic/PCB/assembly/3D) by turning on the existing offerMultipleImageFormats behavior in DownloadButtonAndMenu.
Changes:
- Passes
offerMultipleImageFormatstoDownloadButtonAndMenuin the package view header.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
seveibar
reviewed
Mar 29, 2026
Contributor
seveibar
left a comment
There was a problem hiding this comment.
let's put all the images into a submenu in that dropdown, this is a bit out of hand. Same with 3D Models or any grouped category
… and 3D model downloads
seveibar
approved these changes
Mar 29, 2026
Contributor
Author
Contributor
|
Thank you for your contribution! 🎉 PR Rating: ⭐⭐⭐ Track your contributions and see the leaderboard at: tscircuit Contribution Tracker |
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.

What changed
This PR improves the shared download experience by restructuring
DownloadButtonAndMenuand enabling richer image export options on package pages.Changes included:
Images,3D Models, andKiCadofferMultipleImageFormatsis disabledofferMultipleImageFormatson the package page header so package viewers can choose:3D ModelssectionWhy
Before this change, the package page only exposed a generic PNG download action even though the shared download menu already had support for multiple image representations. The overall menu was also flatter and harder to scan as more export formats accumulated.
This update makes the download UX more consistent, more discoverable, and easier to navigate across surfaces that use the shared menu.
User impact
Users viewing a package can now directly choose the exact image export they want instead of relying on a single generic PNG action.
The broader download menu is also easier to understand because related export types are now grouped together:
Images3D ModelsKiCadValidation
Verified against the branch diff with
mainthat this PR:DownloadButtonAndMenucomponentBefore
After