- Issue created by @Grevil
- 🇩🇪Germany Anybody Porta Westfalica
This would also mitigate the duplicate label issues in ✨ Rename "Attributes" to "Link attributes" to distinguish them from other (item) attributes Closed: won't fix as you can decide if you then have the option to NOT use the menu_link_content functionality and just use link_attributes for link fields! That's great!
Furthermore the menu_link_content part becomes more complex with ✨ Add Default menu_link_content attributes UI Needs review which is a further reason to split this into a submodule.
Great point @Grevil! :)
Will you work on this and provide a MR?
- @grevil opened merge request.
- Status changed to Needs review
over 1 year ago 10:28am 15 May 2023 - 🇮🇳India Raveen Kumar
Hello Guys
I have reviewed & Implemented the MR! on my Drupal website having version 9.5, PHP version - 8.1
The MR! has been implemented successfully. Can be moved to RTBC!
Please & Thank You. - 🇩🇪Germany Anybody Porta Westfalica
@Grevil: Please re-review. I renamed the submodule to
link_attributes_menu_link_content
to align with the content type name. Additionally I think we should add a functional test which ensures the settings appear on a menu_link_content create and edit form.
Or is there already a test for that present that needs to be moved? Or prepared in ✨ Add Default menu_link_content attributes UI Needs review (which needs to be re-rolled once this is merged). - Status changed to RTBC
over 1 year ago 10:55am 15 May 2023 - 🇩🇪Germany Grevil
I moved the tests and adjusted them accordingly, changes by @Anybody LGTM!
- 🇩🇪Germany Anybody Porta Westfalica
Re-reviewed! Nice work @Grevil! Confirming RTBC.
@Raveen Thakur could you please review and test again?
Finally this should be signed off by @larowlan to finish 🐛 Duplicate menu item settings with menu_link_attributes Fixed and ✨ Add Default menu_link_content attributes UI Needs review which are currently postponed on this. - last update
over 1 year ago 4 pass - last update
over 1 year ago Composer require failure - Status changed to Needs work
over 1 year ago 7:16pm 18 May 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
-
+++ b/link_attributes.module @@ -27,7 +14,7 @@ function link_attributes_help($route_name, RouteMatchInterface $route_match) { - $output .= '<p>' . t('The link attributes module provides a widget that allows users to add attributes to links. It overtakes the core default widget for menu link content entities, allowing you to set attributes on menu links.') . '</p>'; + $output .= '<p>' . t('The link attributes module provides a widget that allows users to add attributes to link fields.') . '</p>';
Can we mention the submodule here? Perhaps 'If you enable the Menu Link Content integration sub-module, it overtakes...'
-
+++ b/modules/link_attributes_menu_link_content/tests/src/Functional/LinkAttributesMenuLinkContentMenuTest.php @@ -9,9 +9,9 @@ use Drupal\Tests\BrowserTestBase; - * @group link_attributes + * @group link_attributes_menu_link_content
Let's keep it using the same @group as the main module
-
- last update
over 1 year ago 4 pass - Status changed to Needs review
over 1 year ago 10:51am 19 May 2023 - 🇩🇪Germany Anybody Porta Westfalica
Thanks @larowlan addressed #15, please review again.
- last update
over 1 year ago 4 pass - 🇬🇧United Kingdom Alina Basarabeanu
I replaced the patch provided by https://www.drupal.org/project/link_attributes/issues/3046214 ✨ Add Default menu_link_content attributes UI Needs review with the patch in this issue and I can confirm that the link attributes required for the project are still in place.
Drupal core 9.5.9
PHP 8.1.16
Link attributes 1.13.0 - Status changed to Needs work
over 1 year ago 7:29am 30 May 2023 - Status changed to Needs review
over 1 year ago 7:20am 31 May 2023 - last update
over 1 year ago 4 pass - last update
over 1 year ago 4 pass -
larowlan →
committed 48b0be39 on 8.x-1.x authored by
Grevil →
Issue #3360374 by Anybody, Grevil, larowlan: Move the 'menu_link_content...
-
larowlan →
committed 48b0be39 on 8.x-1.x authored by
Grevil →
- Status changed to Fixed
over 1 year ago 8:26am 2 June 2023 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Hi Raveen, I did review the contributions and didn't feel your comment provided enough info to grant credit
What I would have liked to see testing wise in order to grant credit
- that you setup a site with the module without this change and configured some attributes on menu links
- that you applied the patch
- that you ran the update hook and it worked
- that after running the update hook the new module was enabled and that the functionality still worked for the menu links in step oneMy advice would be to provide as much detail in your comments in future, IE this
I have reviewed & Implemented the MR! on my Drupal website having version 9.5, PHP version - 8.1
The MR! has been implemented successfully. Can be moved to RTBC!is too generic for a maintainer to gauge the relevance of the contribution
I would encourage you to elaborate on what 'implemented successfully' means.
As it stands this comment doesn't give me anything to go on and hence I decided not to give credit
Thanks for asking for clarification and I hope you keep contributing 💪💧- see you in the next issue!
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
over 1 year ago 9:02am 21 June 2023 - 🇩🇪Germany Anybody Porta Westfalica
@larowlan could you perhaps think about tagging a new release, containing these changes?
As described above, in certain situations, combined with other attribute modules, this will help a lot. Would be super nice to have a new release. Thanks :)
- 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
@Anybody happy to make a release, but I thought there was one other issue you were keen on.
If not, can make one now and another later
- 🇩🇪Germany Anybody Porta Westfalica
@larowlan thanks. Just went through all the issues and I think the release makes sense. We'll tackle some of the other issues soon, especially the related ones. Others could need your feedback, I think. Whenever you have the time to take a look... :)
- 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
I've used this as an opportunity to cut a 2.x branch
This went out as 2.0.0 - thanks!