payload
payload copied to clipboard
feat: exposes custom order for tabs and custom path for edit views
What?
- Adds ability to customize the order of both default and custom tabs.
- Allows overriding the path of default edit views (previously the
pathoption was only effective for custom tabs).
Why?
This change gives users more flexibility in customizing the edit document view. They can now:
- Reorder tabs freely, including the ability to make custom tabs appear before default ones.
- Set a custom path for any edit view, which includes overwriting the default path (i.e. can set any view as
/:id).
How?
- Introduces a new order option under
views.edit[key].tabto control tab ordering. - Configured
views.edit[key].pathto override the path of default views (not just create paths for custom tabs, as before).
Testing
Test suite added under admin/custom-views-tabs
TODO
- [x] Add docs
- [x] Add tests
wow this is exactly what I was looking for!
🚀 This is included in version v3.43.0