backdrop / backdrop-issues

Issue tracker for Backdrop core.
144 stars 40 forks source link

[D10] Views page displays: Provide a new option to use the admin theme #6025

Open klonos opened 1 year ago

klonos commented 1 year ago

This is the respective issue for the feature that went into D10.1.x core with https://git.drupalcode.org/project/drupal/-/commit/4dbf3f46c19766a38c3e47d09123267cdd47ed5e (issue | change record).

Problem/Motivation

...

Use case: As a site moderator, I'm able to use a View, located at /articles/moderate, with VBO to bulk approve/decline articles. I want to access this moderation tool using the admin theme in the same way I'm using the node edit page.

Proposed resolution

Add a new page setting "Use the administration theme" in the page display that allows site builders to make that page an admin one, similar to https://www.drupal.org/project/page_manager.

User interface changes

stpaultim commented 1 year ago

My first thought was that it's already possible to use the admin theme for a view if you simply give it an 'admin/' path. But, that is not obvious to many site architects. This proposal would make that option more obvious while also allowing for the use of the admin theme without an 'admin/' path.

I don't think we need to add features simply because they have been added to Modern Drupal. BUT, I think this one does help make existing features more discoverable, while adding a bit more flexibility to create a good site editor experience.

I've been adding quite a few custom views to help site owners administer their sites and this would make that a little easier or more intuitive.