feat: #3614494 Set the share platforms to the design's set and order
The design's share rail is Facebook, Instagram, LinkedIn, X. The site shipped LinkedIn, Facebook, X — wrong set and wrong order.
Sets webshare.settings.buttons to the design's order and adds Instagram. Instagram has no share intent, so it is configured as a profile link rather than a share URL.
Pairs with the theme-side styling in vartheme_bs5_horizonaid!10 (merged), which makes the rail monochrome navy pills at the design's size.
Known limitation — please read before merging
webshare.settings.buttons is only a fallback. The module seeds a webshare_platforms database table in hook_install(), and its service reads that table first:
- On a site whose table is already populated, this config has no effect — the order also has to be set on the table.
- A recipe cannot reach that table through config actions.
So this change states the correct intent and works wherever the table is empty or rebuilt, but it does not by itself guarantee the design's order on an existing site. The real fix is upstream in Webshare: make the platform list config, or have the service respect config ordering. Worth its own issue.
Verified in the browser on the development site, after setting the same order on the table: four pills in the design's order, each a 16×16 navy glyph on the subtle surface, 12px apart.
Issue: https://www.drupal.org/i/3614494
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
- Documentation
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release