Rework documentation#2550
Conversation
5d2192b to
add5121
Compare
Visual regression report✅ No changes.
Baselines come from the |
|
408073b to
a8a412c
Compare
a8a412c to
d128181
Compare
d128181 to
a65c973
Compare
1959e8e to
59b7ab8
Compare
59b7ab8 to
ba6ede5
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
66a57b5 to
dfad812
Compare
1f6033a to
cdd775d
Compare
e713885 to
ced0fb5
Compare
|
|
||
|
|
||
| > You can read more about how our theming system works and how to use it [here](/#using-theme-overrides) | ||
| > You can read more about how our theming system works and how to use it [here](/#legacy-theme-overrides) |
There was a problem hiding this comment.
This renames the page id using-theme-overrides → legacy-theme-overrides, but the anchor was only updated in a few in-app files. These still point at the now-dead #using-theme-overrides and will render as broken links:
packages/ui-themes/README.mdpackages/emotion/src/withStyleNew.tsxpackages/emotion/src/InstUISettingsProvider/README.mdpackages/ui-link/src/Link/v2/README.md
Same risk for the usage → guides-getting-started rename. Could we grep the repo for every renamed page id and fix all inbound links (incl. package READMEs/JSDoc) before merge? A link check over the built docs would catch the rest.
| componentDidMount() { | ||
| this.props.makeStyles?.() | ||
| // Defer color card rendering so the initial page paint is not blocked | ||
| requestAnimationFrame(() => this.setState({ showColors: true })) |
There was a problem hiding this comment.
This rAF (and the one in componentDidUpdate) is never cancelled. On fast navigation the component can unmount before the frame fires, triggering a setState-on-unmounted warning. Storing the handle and calling cancelAnimationFrame in componentWillUnmount would close that.
…s, JSDocs and fix for fast theme switch and fix Link theme override example fix outdated JSDocs. Add the new-theme-overrides entry to LLM summaries. Fix Link v2 themeOverride example. Fix outdated theme override links. Cancel pending rAF in Theme on unmount/theme switch
1c6da87 to
01baa9e
Compare
INSTUI-4997
Summary
Co-Authored-By: 🤖 Claude