Problem/Motivation
We need to provide a image for the new navigation for the dashboard link. Ideally, it would be its own block at the top of the navigation bar.
Proposed resolution
Hack around by adding a dependency to our own navigation library, so the css is included with navigation.
Also need a patch to allow our block to be displayed there.
Remaining tasks
Review.
User interface changes
Navigation shows Dashboard at the top, and has a nice icon.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #22 | navigation-dashboard-3395527-11.x-2024-11-18.patch | 2.46 KB | phenaproxima |
| #21 | navigation-dashboard-3395527-11.x.patch | 2.46 KB | penyaskito |
| #19 | navigation-dashboard-D10.4.x.patch | 2.6 KB | jurgenhaas |
| #15 | navigation-dashboard-integration-d10.3.patch | 2.58 KB | penyaskito |
Issue fork dashboard-3395527
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
penyaskitoNeeds to define something like
So might need a css alter?
Comment #3
plopescComment #4
penyaskitoThis patch will be required for core until we figure out #3443833: Provide a way for other modules to flag block plugin implementations as 'navigation safe'.
Comment #6
penyaskitoComment #7
penyaskitow00t
Comment #8
penyaskitohttps://www.drupal.org/project/drupal/issues/3438895#comment-15574276
It landed on 10.3.x, so we shouldn't need the tugboat magic.
Also maybe using 10.3.x makes tests pass again, which I'm not sure why they would fail here.
Comment #9
penyaskitoAttached rerolled patch for navigation
Comment #10
penyaskitoComment #11
penyaskitoAttached new patch that should fix schema issues in tests.
Comment #12
plopescIt looks great!
Moving to RTBC
Comment #14
penyaskitoMerged, thanks!
Comment #15
penyaskitoFor 10.3.x the patch for core would be this one
Comment #17
penyaskitoFor 10.4.x the patch for core would be this one
Comment #18
penyaskitoRe-rolled for 11.x
Comment #19
jurgenhaasRe-rolled for 10.4.x
Comment #20
phenaproximaRerolled again for 11.x.
Comment #21
penyaskitoRerolled again for 11.x after NavigationHooks has been created.
Comment #22
phenaproximaYet another reroll on 11.x.
Comment #23
joelsteidl commentedI was checking out the patch for Drupal CMS and wondering if it would be better to include the following as part of the Dashboard module. If this has already been discussed, please just point me towards it. I'd be happy to open a new issue and create a MR but wanted a bit of direction.
Comment #24
penyaskitoThe
block_alteris already in dashboard.Next step for better navigation integration is at #3486246: Provide a block for Navigation top region on installation.