dillon1000/react
Commit
Browse files [Devtools] Rename Forget badge (#28858)
## Summary The Forget codename needs to be hidden from the UI to avoid confusion. Going forward, we'll be referring to this set of features as part of the larger React compiler. We'll be describing the primary feature that we've built so far as auto-memoization, and this badge helps devs see which components have been automatically memoized by the compiler. ## How did you test this change? - force Forget badge on with and without the presence of other badges - confirm colors/UI in light and dark modes - force badges on for `ElementBadges`, `InspectableElementBadges`, `IndexableElementBadges` - Running yarn start in packages/react-devtools-shell [demo video](https://github.com/facebook/react/assets/973058/fa829018-7644-4425-8395-c5cd84691f3c)
Changed paths5 files
First-parent comparisonpackages/react-devtools-shared/src/devtools/constants.js ModifiedM packages/react-devtools-shared/src/devtools/views/Components/Badge.css ModifiedM packages/react-devtools-shared/src/devtools/views/Components/Element.css ModifiedM packages/react-devtools-shared/src/devtools/views/Components/ForgetBadge.css ModifiedM packages/react-devtools-shared/src/devtools/views/Components/ForgetBadge.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…