Skip to content

Conversation

@TylerJDev
Copy link
Member

@TylerJDev TylerJDev commented Aug 4, 2025

API: https://github.com/github/primer/pull/5284

Adds prop secondaryActions which renders trailing action(s) to the TreeView.Item. Each action is accessible via keyboard via the keyboard shortcut (Cmd + Shift + U), which will open up a dialog that renders the actions inline.

Try it out here: Trailing Actions Story

Changelog

New

  • Add secondaryActions prop to TreeView.Item

Rollout strategy

  • Patch release
  • Minor release
  • Major release; if selected, include a written rollout or migration plan
  • None; if selected, include a brief description as to why

Testing & Reviewing

Merge checklist

@changeset-bot
Copy link

changeset-bot bot commented Aug 4, 2025

🦋 Changeset detected

Latest commit: 87a6d1e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@primer/react Minor
@primer/styled-react Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added staff Author is a staff member integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Aug 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2025

👋 Hi, this pull request contains changes to the source code that github/github depends on. If you are GitHub staff, we recommend testing these changes with github/github using the integration workflow. Thanks!

@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 2025

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 90.35 KB (+0.46% 🔺)
packages/react/dist/browser.umd.js 90.42 KB (+0.35% 🔺)

@github-actions github-actions bot temporarily deployed to storybook-preview-6456 August 7, 2025 14:09 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-6456 August 7, 2025 14:25 Inactive
@github-actions github-actions bot requested a deployment to storybook-preview-6456 August 7, 2025 14:33 Abandoned
@github-actions github-actions bot temporarily deployed to storybook-preview-6456 August 7, 2025 14:42 Inactive
@TylerJDev TylerJDev changed the title TreeView: Add TreeView.TrailingAction accessible via prop TreeView: Add trailing actions Aug 7, 2025
@github-actions github-actions bot temporarily deployed to storybook-preview-6456 August 11, 2025 14:12 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-6456 August 11, 2025 14:43 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-6456 August 11, 2025 15:02 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-6456 August 11, 2025 18:21 Inactive
@TylerJDev TylerJDev force-pushed the tylerjdev/treeview-trailing-action-as-prop branch from 7d343d6 to 3899b42 Compare August 11, 2025 18:27
@TylerJDev TylerJDev force-pushed the tylerjdev/treeview-trailing-action-as-prop branch from 3899b42 to e69350f Compare August 11, 2025 18:30
@github-actions github-actions bot requested a deployment to storybook-preview-6456 August 11, 2025 18:35 Abandoned
@github-actions github-actions bot temporarily deployed to storybook-preview-6456 August 11, 2025 18:45 Inactive
@github-actions github-actions bot temporarily deployed to storybook-preview-6456 September 23, 2025 00:11 Inactive
@github-actions github-actions bot added integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm and removed integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Sep 23, 2025
@github-actions
Copy link
Contributor

👋 Hi, there are new commits since the last successful integration test. We recommend running the integration workflow once more, unless you are sure the new changes do not affect github/github. Thanks!

@github-actions github-actions bot removed the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Sep 23, 2025
@github-actions
Copy link
Contributor

👋 Hi, there are new commits since the last successful integration test. We recommend running the integration workflow once more, unless you are sure the new changes do not affect github/github. Thanks!

@github-actions github-actions bot added the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Sep 23, 2025
@TylerJDev TylerJDev added the update snapshots 🤖 Command that updates VRT snapshots on the pull request label Sep 23, 2025
@github-actions github-actions bot temporarily deployed to storybook-preview-6456 September 23, 2025 15:45 Inactive
@primer primer bot requested a review from a team as a code owner September 23, 2025 15:50
@github-actions github-actions bot added integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm and removed update snapshots 🤖 Command that updates VRT snapshots on the pull request integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Sep 23, 2025
@github-actions
Copy link
Contributor

👋 Hi, there are new commits since the last successful integration test. We recommend running the integration workflow once more, unless you are sure the new changes do not affect github/github. Thanks!

@github-actions github-actions bot removed the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Sep 23, 2025
@primer-integration
Copy link

👋 Hi from github/github-ui! Your integration PR is ready: https://github.com/github/github-ui/pull/3088

@primer-integration
Copy link

🟢 ci completed with status success.

@TylerJDev TylerJDev added this pull request to the merge queue Sep 23, 2025
Merged via the queue into main with commit fbd3ac7 Sep 23, 2025
43 checks passed
@TylerJDev TylerJDev deleted the tylerjdev/treeview-trailing-action-as-prop branch September 23, 2025 16:23
@primer primer bot mentioned this pull request Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-tests: passing Changes in this PR do NOT cause breaking changes in gh/gh staff Author is a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants