Skip to content

Conversation

@devongovett
Copy link
Member

Sometimes the code examples don't display every file that is needed at once because there'd be way too many tabs and we want to focus on the relevant content. But users might still want to access other files to copy and paste them. This makes imported files in code examples into links to switch tabs. If you click one that isn't already in a tab, a tab will be added to display that file on demand.

@rspbot
Copy link

rspbot commented Nov 17, 2025

Copy link
Member

@LFDanLu LFDanLu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for the most part. I noticed that I couldn't expand the css file under Toolbar.tsx in the RAC toolbar docs even though it was a link. If you open many files, the quiet picker that it switches to is too long but I think we already noted this separately,

Image

Approving anyways if you wanna handle this in a followup, definitely a improvement in the experience IMO

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.

5 participants