Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think it would be helpful if, instead of being a direct link to the workbench page, the Workbench tab in the system toolbar behaved like the other toolbar tabs; this would also mean that users could access the workbench local tasks from any page on the site:
The attached patch:
- Creates a "Workbench" menu for the workbench menu items
- Removes the workbench local tasks
- Changes the toolbar item from a link to a tray containing the workbench menu
- Copies/updates the toolbar icon so that we can drop in custom per-item icons
Comment | File | Size | Author |
---|---|---|---|
#4 | Screen Shot 2016-10-21 at 3.52.42 PM.png | 28.77 KB | agentrickard |
workbench-toolbar_tray.patch | 9.85 KB | becw | |
Screen Shot 2016-10-21 at 2.26.30 PM.png | 121.39 KB | becw | |
Screen Shot 2016-10-21 at 2.26.42 PM.png | 105.02 KB | becw |
Comments
Comment #2
becw CreditAttribution: becw at Palantir.net commentedThis change would probably resolve #2771909: No tabs for My edits, All recent content.
Comment #3
becw CreditAttribution: becw at Palantir.net commentedComment #4
agentrickardVery cool. I think using the pencil icon looks odd. Perhaps we should do what Shortcut does and not use an icon for each link item.
Comment #5
agentrickardCommitted.