- Move item_form_plugin_fields render point in form.php from top of
fieldset to bottom, near closing form_close(), so plugin fields
render after core item fields.
- Rework plugin_data_helper.js to sync plugin_data hidden field on
every change/click of a [data-plugin-field] element, not just on
form submit. Needed because some forms use jQuery Validate's
submitHandler, which bypasses native submit event and would leave
plugin_data stale.
- Refactor sync logic into reusable syncPluginData() helper invoked
on initial load, on field change/click, and on submit.
Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
- Relocate PluginTestCase from App\\Libraries\\Plugins to Tests\\Support
- Update all references in AGENTS.md, README.md, and test files
- Add TestModulePlugin fixture for module registration tests
- Add PluginModuleRegistrationTest covering namespace registration
- Add plugin_data_helper.js for zero-JS plugin form field collection
Signed-off-by: Travis Garrison <travis@chiraqbookstore.com>