Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(UnderlinePanels): Convert UnderlinePanels to CSS modules behind team feature flag #5357

Merged
merged 14 commits into from
Dec 11, 2024

Conversation

randall-krauskopf
Copy link
Collaborator

@randall-krauskopf randall-krauskopf commented Dec 4, 2024

Closes https://github.com/github/primer/issues/4308

Changelog

Changed

Convert UnderlinePanels component to css module behind feature flag

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

Copy link

changeset-bot bot commented Dec 4, 2024

🦋 Changeset detected

Latest commit: b5205a2

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

This PR includes changesets to release 1 package
Name Type
@primer/react Minor

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 the integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm label Dec 4, 2024
Copy link
Contributor

github-actions bot commented Dec 4, 2024

👋 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!

Copy link
Contributor

github-actions bot commented Dec 4, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 102.73 KB (+0.12% 🔺)
packages/react/dist/browser.umd.js 103.14 KB (+0.14% 🔺)

@github-actions github-actions bot temporarily deployed to storybook-preview-5357 December 4, 2024 21:36 Inactive
@randall-krauskopf randall-krauskopf changed the title Underline panels css modules feat(UnderlinePanels): Convert UnderlinePanels to CSS modules behind team feature flag Dec 4, 2024
@randall-krauskopf randall-krauskopf self-assigned this Dec 4, 2024
@github-actions github-actions bot added integration-tests: failing Changes in this PR cause breaking changes in gh/gh and removed integration-tests: recommended This change needs to be tested for breaking changes. See https://arc.net/l/quote/tdmpakpm labels Dec 4, 2024
@@ -31,5 +35,6 @@ export function useResizeObserver<T extends HTMLElement>(callback: ResizeObserve
return () => {
observer.disconnect()
}
}, [target])
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [target, ...depsArray])
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Needed to be able to toggle this for other dependencies than the RefObject. In my case recalculating the tabIcon show logic when a new component is rendered because of the FF toggle

@randall-krauskopf randall-krauskopf marked this pull request as ready for review December 9, 2024 21:26
@randall-krauskopf randall-krauskopf requested a review from a team as a code owner December 9, 2024 21:26
@primer-integration
Copy link

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

@primer-integration
Copy link

🔴 golden-jobs completed with status failure.

@randall-krauskopf randall-krauskopf added this pull request to the merge queue Dec 11, 2024
Merged via the queue into main with commit 161e3fd Dec 11, 2024
42 checks passed
@randall-krauskopf randall-krauskopf deleted the underline-panels-css-modules branch December 11, 2024 17:27
@primer primer bot mentioned this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration-tests: failing Changes in this PR cause breaking changes in gh/gh
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants