kindly-admin.js
Administration interactions for Kindly-owned management screens.
Responsibility#
Administration interactions for Kindly-owned management screens: the Trash question, the focused Add window (open, Esc, Close and Cancel, focus returned to its button, a busy Create button), list search and filters with their count, and the popup on/off switch.
File characteristics#
- Source:
assets/kindly-admin.js - Lines in this release: 97
- Type: browser JavaScript
Named browser helpers#
apply, open, setSwitch.
These functions are internal to the module unless an explicit public contract says otherwise. The list includes nested helpers and is not a global browser API.
Literal event listeners#
change, click, close, input, pageshow, submit. Dynamic event names may be assembled elsewhere. Event listeners must follow the owner document when the live device canvas moves page nodes.
Integration and verification#
Load this file through the plugin’s normal enqueue path so its dependencies and configuration are present. Check the relevant feature after a saved reload, in the live device canvas where applicable, and on the published page. Editor-only UI should not become authored page content. See architecture for the lifecycle and responsive design for document movement.