- Issue created by @Anybody
- @anybody opened merge request.
- Status changed to Needs review
over 1 year ago 11:21am 12 May 2023 - π©πͺGermany Anybody Porta Westfalica
Simple but helpful. And needed to better work with other attributes modules. Please review.
- Status changed to Needs work
over 1 year ago 11:44pm 14 May 2023 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I think I would prefer to make this a configuration option in the edit: widget settings, defaulting to 'Attributes'
But +1 for the concept
Thanks!
- π©πͺGermany Anybody Porta Westfalica
@larowlan: Thanks, well isn't that a bit too much and might lead to inconsistencies across forms? For example with β¨ Add Default menu_link_content attributes UI Needs review it would mean, you'd have to change it for each menu.
You're the maintainer and you decide of course :) but I'd really tend to say "Link attributes" is short and clear and removes the risk of misunderstandings or mixing up attribute forms without needing the user to site builder to make changes.
So from my perspective the simple solution is the better one here for SBX. Would you mind to discuss that again?
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
I would want people to be able to configure it for each widget, just like they can for what is/isn't enabled
Changing the name for everyone could cause translation issues for those who've not yet translated it as well as confuse people who've been using this module for 5 years plus.
That's my thinking.
I don't think it will have an impact on the UI issue.
- π©πͺGermany Anybody Porta Westfalica
Thanks @larowlan :) Then let's do it that way!
I'll prepare the MR asap or ask a teammate. - π©πͺGermany Anybody Porta Westfalica
The label naming conflicts will be mitigaged by π Move the 'menu_link_content' 'link' base field widget overwrite into its own submodule Fixed which totally makes sense here in combination with other modules to set attributes on menu items (li) or menus (ul).
Link fields typically don't have other attribute fieldsets or use modules like fences, which don't conflict in the UI.
- Status changed to Postponed
over 1 year ago 11:04am 15 May 2023 - π©πͺGermany Anybody Porta Westfalica
After thinking about this for a while, I think with π Move the 'menu_link_content' 'link' base field widget overwrite into its own submodule Fixed we could even discuss to close this won't fix. Who needs this, could use the patch. But due to the incompatibilities mentioned in π Duplicate menu item settings with menu_link_attributes Fixed with multiple modules for menu_link_content attributes, I think this combination won't be useful.
And in other cases the label can be kept as "Attributes". So let's postpone this for @larowlan to decide. Sorry for the back and forth ... -.-
- Status changed to Needs work
over 1 year ago 9:48am 21 June 2023 - π©πͺGermany Anybody Porta Westfalica
π Move the 'menu_link_content' 'link' base field widget overwrite into its own submodule Fixed is now fixed! So setting this back to NW.
@larowlan what do you think about #10?
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
@Anybody given you opened this to address a pain point, if the other issue has resolved it, happy to close it and avoid extra complexity in the code
- Status changed to Closed: won't fix
over 1 year ago 11:35am 22 June 2023