Fixed
- Prevented accidental duplicate insertion caused by browsing feature presets in the select field.
- Improved destructive action safety by adding confirmation prompts before row deletion.
Added
- Added three explicit feature preset actions in the administrator form:
- Add to current: append selected preset items to existing feature rows.
- Replace current: delete existing feature rows and insert selected preset items.
- Clear: delete all current feature rows.
- Added confirmation prompts for destructive actions:
- replacing existing feature rows;
- clearing the full feature list.
- Added status messages for replacing, clearing, successful replacement, successful clearing and empty-list situations.
- Added
CHANGELOG.md. - Added
IMPLEMENTATION_REPORT.md. - Expanded
README.mdwith module purpose, benefits, workflow, grid behavior, structure and developer notes.
Changed
- Feature preset selection no longer inserts rows automatically.
- The preset selector now only selects the source preset; buttons perform the actual action.
- Administrator custom field output now renders a button group instead of a single insert button.
- Administrator JavaScript now exposes explicit public helpers:
ModBibCtaPresetAdmin.appendPreset();ModBibCtaPresetAdmin.replacePreset();ModBibCtaPresetAdmin.clearFeatures().- Updated module version to
1.0.5. - Updated asset versions to
1.0.5to avoid stale cached administrator scripts.