backdrop-contrib / rules

Porting the Rules project to Backdrop CMS.
GNU General Public License v2.0
5 stars 10 forks source link

Make tabs persistent on edit pages #202

Closed alanmels closed 1 year ago

alanmels commented 1 year ago

This is not that important feature request.

Every time you click on specific Rule or Component the tabs on top are gone and after making changes and saving you have to navigate back the respective list of Rules or Component using admin bar or modifying the URL. Not a big deal, but still would be more comfortable to have those tabs persistent everywhere on Rules pages.

Screenshot 2023-09-23 at 9 41 17 PM

argiepiano commented 1 year ago

I see your point, but that's not possible given how core handles those tabs. Those tabs are shown only when you are displaying the page at a specific set of paths. In this case, that set of paths is:

All three use the same base, and have been defined as either type MENU_LOCAL_TASK or MENU_DEFAULT_LOCAL_TASK.

While less convenient, I usually click on the breadcrumb to go back (which is more convenient than using the admin bar).

Two possible solutions:

BTW, the same "problem" happens with Layouts. Once you enter the edit screens, you won't see the tabs that include "List Layouts". Again, it's a core UI thingy, the results of how and when those tabs are built.

alanmels commented 1 year ago

Fair enough. I'll re-enable crumbs on admin pages because of this one.