You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PluginsArea: what it touches
ImprovementsKind: in v2.1.281,
ImprovementsSection of the release
Unclear The finding does not say what running ui.render inside a drawing context changes for plugin authors.
What
Plugins can draw their own interface elements. When one of these elements is pressed and held, the plugin can now check the value and refuse it, in which case the message is that it does not take that value and nothing ran. These events can also carry a request ID. ui.render now runs inside a drawing context.
Why
A refused value now ends with a clear statement that nothing ran, rather than the element acting on input it cannot use.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed sinceAnthropic's documentation has since written up ui.render, on Draw in the interface with a mod.on('ui.render', { component: 'Spinner' }, async ($, e, next) => {plugins/mods/interfacesee the edit
Added sinceA small documentation edit on Mods reference touched a line naming ui.render after this was published.Elements are the building blocks of a tree a `ui.render` hook returns, and you get them from `$.ui.resolve(e)`. [Build a tree from elements](/docs/en/plugins/mods/interface#build-a-tree-from-elements) shows the common ones with how the ter…plugins/mods/referencesee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say what running `ui.render` inside a drawing context changes for plugin authors.
Anthropic's documentation agreesA small documentation edit on Mods reference touched a line naming ui.render after this was published.