feat: #3631092 Add a Copy link item to the Social media menu

Issue: https://www.drupal.org/i/3631092

  • Adds a "Copy link" item to the Social media menu default content: internal:/, classes bi bi-link-45deg copy-link, role: button, after the last social item. There is no hx-* in content, because core 11.4.10 strips it.
  • The item ships disabled (enabled: false). The designs show no Copy link in the footer for this template; only The Rightup shows one. A site builder can enable it from the menu UI.
  • The theme adds the HTMX handler to links with the copy-link class: https://www.drupal.org/i/3631091 (vartheme_bs5!222 (merged)).
  • CHANGELOG under Unreleased.

With the item enabled, checked on a Varbase Starter site with the theme change: click, Enter and Space each copy the URL at 1440 and 390, with no console errors.

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release
Edited by Rajab Natshah

Merge request reports

Loading
Loading