You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Third-party plugins that register a settings.section page always render
with the fallback gear icon in the settings nav rail, because the icon
channel does not exist at any layer: not in the registration options,
not in the ledger projection, and not in the render call. A plugin cannot
fix this on its own — any workaround (patching the host install, DOM
hacks) breaks on every upgrade. This proposal asks for a small,
backward-compatible icon channel on the settings.section registration,
following the icon?: ReactNode prop pattern already established in ui-primitives.
Real-world case
dsh-plugin-model-modalities registers a settings companion page:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Summary
Third-party plugins that register a
settings.sectionpage always renderwith the fallback gear icon in the settings nav rail, because the icon
channel does not exist at any layer: not in the registration options,
not in the ledger projection, and not in the render call. A plugin cannot
fix this on its own — any workaround (patching the host install, DOM
hacks) breaks on every upgrade. This proposal asks for a small,
backward-compatible
iconchannel on thesettings.sectionregistration,following the
icon?: ReactNodeprop pattern already established inui-primitives.Real-world case
dsh-plugin-model-modalitiesregisters a settings companion page:All reactions