Move more template context to the action renderers.
Review Request #14671 — Created Nov. 5, 2025 and updated — Latest diff uploaded
In preparation for the final changes in separating actions from their
views, this change pulls out some of the view-specific state from the
actions and sets them in the renderers instead. This includes the
has_parentflag anddom_element_id(which previously required a call
toget_dom_element_id()).
BaseAction.get_dom_element_id()and the JavaScriptActionmodel's
domIDattribute are now both deprecated.There's no good way to shim
domID, as it's an action model attribute
and is fundamentally incompatible with per-view dom IDs. We only use
this ourselves for menus, and it doesn't appear we ever actually do
anything with it anywhere, so we're just scrapping it.
Unit tests pass.
Tested that all actions displayed and worked correctly.