Problem/Motivation

The footer's Social media menu has no way to copy the page address. Vartheme BS5 now adds an HTMX copy handler to any Social media menu link with the copy-link class: #3631091.

Proposed resolution

  • Add 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. No hx-* in content, because core 11.4.10 strips it.
  • The footer step checks a.copy-link[hx-on\:click].

Merge the theme change first (#3631091) and let its dev release repackage.

Remaining tasks

  • ✅ File an issue
  • ✅ Addition/Change/Update/Fix
  • ✅ Testing to ensure no regression
  • ✅ Automated unit/functional testing coverage
  • ➖ Developer Documentation support
  • ➖ User Guide Documentation support
  • ➖ UX/UI designer responsibilities
  • ❌ Accessibility and Readability
  • ❌ Reviewed by a human
  • ❌ Code review by maintainers
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes
  • ❌ Release

User interface changes

  • A chain link icon at the end of the footer social links copies the page address.

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • New installs get a Copy link control in the footer social links.

AI-Generated: Yes. Drafted with Claude Code and reviewed before posting.

Command icon Show commands

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

rajab natshah created an issue. See original summary.

rajab natshah’s picture

Assigned: rajab natshah » Unassigned
Status: Needs review » Fixed
Issue tags: +varbase_starter-1.0.7

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.