Open willguv opened 1 year ago
This is a bit more like it - ordering needs a bit more thought
Without the word 'Add content' how do I know what selecting one of those drop downs will go to ? Will it be a list of all step-by-step pages ? or will it take me to adding a new step-by-step page ? If you are using a screen reader where is the context of this menu ?
Hmmm... good point, thanks @davidupjohn. Some would be creating new content, others link to the lists of things eg alert banners
Can you think of any ways of reducing nesting, or am I trying to force this to do something it can't do? Cheers
Long thread on Drupal.org about creating a new
or Create content
menu.
There is also New “content creation” menu proposal
This looks like the way to go, we could maybe add one with menu link group in the short term?
This is really useful - thanks Andy!
I've pulled a few things over from the Structure menu (eg add facet type) to address the same need
Can menu link groups be used to create new top level items in the nav?
Content group: like this idea
David: how about shortcut buttons for the items you create all the time?
Yes we have shortcuts on our public site (not LGD) for event authors who log in rarely and just do one thing. I never use it personally and think there are other parts to focus effort into. But I use it every day. Its you use it sparingly a shortcut might be good.
Hi there,
I actually kept the original 'Content' "dashboard" (I will call it that!) for myself and 'Administrator' roles on my site.
Then with custom roles and permission customisation, I created other options in the top toolbar which I tested with dummy user accounts.
Here are some screenshots:
Going in the 'views' and 'settings' of the view for allows you to customise the settings. It took a while to get my head around but it has been well received so far, and 'subtracting' every option during our new site launching is probably helpful to our teams.
I also added GOV.UK links and a 'mailto' link which creates an email to myself if they ever wanted to give feedback or request help, which has filled body/subject text for their issue.
See also Tasty backend for an alternative implementation.
@willguv to propose a new menu for discussion. Any flexibility on icons/ styling
Using menu link group.
Config to install this in an existing site.
langcode: en
status: true
dependencies: { }
id: localgov_menu_link_group_new
group_label: New
weight: -99
parent_menu: admin
parent_menu_link: system.admin
child_menu_links:
- 'localgov_menu_link_group:admin_toolbar_tools.extra_links:node.add:services'
- 'localgov_menu_link_group:admin_toolbar_tools.extra_links:node.add:guide'
- 'localgov_menu_link_group:admin_toolbar_tools.extra_links:node.add:directory'
- 'localgov_menu_link_group:admin_toolbar_tools.extra_links:node.add:news'
- 'localgov_menu_link_group:admin_toolbar_tools.extra_links:node.add:step_by_step'
- 'admin_toolbar_tools.extra_links:node.add.localgov_event'
- 'admin_toolbar_tools.extra_links:node.add.localgov_subsites_overview'
- 'admin_toolbar_tools.extra_links:node.add.localgov_subsites_page'
- 'admin_toolbar_tools.extra_links:add_media'
@stephen-cox let's discuss and estimate the following please, then raise at the Product Group
Icon is a '+' if possible
Menu contents are as follows
Alert banner
Directory
Event
Guide
Location
Media
News
Page component
Services
Step by step
Subsites
Menu contents are as follows:
Overview
Alert banners
[Blocks - if the user has suitable permissions]
Directory facets
Files
Locations
Media
Page components
We may need to change the order on https://demo.localgovdrupal.org/admin/content to reflect this
There is also the new Drupal content menu (can be enabled in Gin settings).
Not compatible with menu link group though.
There is also the new Drupal content menu (can be enabled in Gin settings). Not compatible with menu link group though.
Enabling this just crashed the site with complaints from localgov_menu_link :disappointed:
@willguv I have just applied the config Andy gave to the product site. Seems to work reasonably well, so if this is just moving some menu items around then it's fairly easy to do.
That's looking great, thanks @stephen-cox
Is it possible to make these changes: https://github.com/localgovdrupal/localgov/issues/620#issuecomment-1911826456
Or can make them if there's an interface? If so please show me how - thanks
@willguv You can configure the menu link group here: https://product.localgovdrupal.org/admin/structure/menu/localgov_menu_link_group/localgov_menu_link_group_new
It only allows moving things around, so if there are things you want renaming or removing they will have to be handled separately.
@markconroy I saw somewhere that Drupal 11 is overhauling the menus - is this right?
If so, thinking of closing this in favour of that work
Hi @willguv, yes, there's a plan for a new admin menu system in Drupal 11.
Here's some details on it: https://www.drupal.org/project/drupal/issues/3373303
Maybe we can postpone this issue, rather than close it, to see how far the new admin menu in D11 gets us, and then we can add our own specific improvements on top of it.
=== Thanks to Big Blue Door for sponsoring my time to work on this.
Thanks @markconroy let's postpone this
https://www.youtube.com/watch?v=mSTX7xC5WAo is linked from the issue you shared, also worth watching
The double nesting on the Content menu makes it slow to pick the item you want
Content editors do this a lot, so we should optimise this
Is it possible to remove "Add content >" from the content menu, bring everything up a level and reorganise it in a way that makes sense?
UPDATE @andybroomfield flagged an ongoing conversation on Drupal.org about this, and proposals for a "Create" menu