payload icon indicating copy to clipboard operation
payload copied to clipboard

feat: exposes custom order for tabs and custom path for edit views

Open jessrynkar opened this issue 10 months ago • 1 comments

What?

  • Adds ability to customize the order of both default and custom tabs.
  • Allows overriding the path of default edit views (previously the path option 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].tab to control tab ordering.
  • Configured views.edit[key].path to 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

jessrynkar avatar May 01 '25 11:05 jessrynkar

wow this is exactly what I was looking for!

tan-ahmed avatar May 01 '25 12:05 tan-ahmed

🚀 This is included in version v3.43.0

github-actions[bot] avatar Jun 16 '25 20:06 github-actions[bot]