- Issue created by @scotwith1t
- 🇺🇸United States scotwith1t Birmingham, AL
This was, admittedly a fairly quick, copy/paste/adjust bonanza directly from Menu Block code, so it will undoubtedly require cleanup and refinement, just wanted to get this out there. Thanks!
- 🇺🇸United States scotwith1t Birmingham, AL
A bit cleaner now, removed stuff about Fixed Parent, which is illogical in the context of this module. Also don't render the menu/block at all if the settings leave just the block title. Fixed a caching bug. I'll learn how to do an interdiff soon...I tried but got an error about whitespace 🤷♂️.
- 🇺🇸United States scotwith1t Birmingham, AL
Another couple of changes as I do a little more functional/practical testing on the project where we're using this.
- heddn Nicaragua
There's an awful lot of phpcs changes in the last few patches. Can we roll some of that back? It makes it harder to review.
- 🇺🇸United States scotwith1t Birmingham, AL
Hopefully this will do it. I really need to be schooled on how to properly patch a module :-/
- heddn Nicaragua
That last patch seems a bit odd. It seems more of an interdiff then a diff against the original code.
- 🇺🇸United States scotwith1t Birmingham, AL
Yeah, I guess I'm starting over. I really don't know how to do this properly. Stay tuned... :)
- Merge request !17Issue #3366930: Integrate some of Menu Block module's options → (Merged) created by scotwith1t
- Open on Drupal.org →Core: 10.1.x + Environment: PHP 8.1 & MySQL 8last update
over 1 year ago Not currently mergeable. - 🇺🇸United States scotwith1t Birmingham, AL
I just found ✨ Add advanced option to display children of current menu item Needs review which does some of this and I updated my patch to (hopefully!) be formatted correctly and it incorporates all of the options there as well as additional ones from menu_block.
- 🇺🇸United States akalata
+1 for some of these changes!
* Custom theme hook suggestion for the block and menu
* Make the initial visibility level follow the active menu item - First commit to issue fork.
- last update
9 months ago 6 pass gabesullice → changed the visibility of the branch 3366930-theme-suggestion-and-dynamic-level to hidden.
I pushed two commits to the issue branch. Thanks for the head start @scotwhith1t! I ended up starting from a blank slate based on the 3.0.x branch, but I used your patch as inspiration.
The two commits:
- Add an input to configured a theme hook suggestion
- Set the menu depth to be relative to the active menu item
I propose any remaining functionality from the
menu_block
module be broken out into their own feature request issues to keep the scope of changes to a minimum. I probably should have broken the two commits above apart.- Status changed to Needs work
9 months ago 2:39pm 3 April 2024 - heddn Nicaragua
Some feedback posted on MR. Also, is there a simple way to add to our test coverage?
- last update
9 months ago 6 pass - Status changed to Needs review
9 months ago 3:04pm 3 April 2024 - last update
9 months ago 2 fail - Status changed to Needs work
9 months ago 3:08pm 3 April 2024 is there a simple way to add to our test coverage?
Missed this. Moving back to NW.
tl;dr: not sure yet
- last update
9 months ago 7 pass - last update
9 months ago 8 pass - last update
9 months ago 8 pass - last update
9 months ago 8 pass - Status changed to Needs review
9 months ago 12:35pm 4 April 2024 - last update
9 months ago 8 pass -
heddn →
committed ecde5d6f on 3.0.x authored by
scotwith1t →
Issue #3366930 by gabesullice, scotwith1t, heddn: Integrate some of Menu...
-
heddn →
committed ecde5d6f on 3.0.x authored by
scotwith1t →
-
heddn →
committed 7e390712 on 2.0.x authored by
scotwith1t →
Issue #3366930 by gabesullice, scotwith1t, heddn: Integrate some of Menu...
-
heddn →
committed 7e390712 on 2.0.x authored by
scotwith1t →
- Status changed to Fixed
6 months ago 2:37pm 4 July 2024 Automatically closed - issue fixed for 2 weeks with no activity.