Closed (fixed)
Project:
Big Menu
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2023 at 14:06 UTC
Updated:
18 Apr 2023 at 00:29 UTC
Jump to comment: Most recent
There is no config form for editing the Max Depth setting. Currently, you have to edit the YAML manually.
Add a config form.
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
elberI can work on it.
Comment #4
elberHi I added a config form please revise.
Comment #5
acbramley commentedComments added to the MR, we also need a test because currently it is broken.
Comment #6
elberHi I fixed the errors please revise.
Comment #7
solideogloria commentedI would suggest using a different form ID than
big_menu_form_id_settings. It seems wrong to put "form_id" in the ID. How aboutbigmenu_settings(the module name doesn't have a space in it).Similarly, in the routing file, it should be
bigmenu.settings, notbig_menu.settings(the module name doesn't have a space in it).Then, we should add
configure: bigmenu.settingsto the info file.Comment #8
elberHi I did the requested changes please revise.
Comment #9
solideogloria commentedThe code looks good to me, but I can't get the patch to apply when I tried using Composer. I don't know why.
Also we should fix the Composer errors that show for the tests.
Comment #10
elberyou can try to clone the module
Comment #11
acbramley commentedStill needs tests.
Comment #12
elberis there something I need to do?
Comment #13
elberHi I install the module using composer after that ran the issue fork's commands and checkout to respective branch.
I was able to revised the changes using composer to install the module.
Comment #14
solideogloria commentedper #11, this has to stay Needs Work until tests are added.
Comment #15
elberI will work on it.
Comment #16
elberHi I added a test to this new feature please revise
Test is passing
Comment #17
acbramley commentedComment #19
acbramley commentedThanks