Files
CatoandClaude Opus 5.5 383a98692f feat(sharing): one share row everywhere, from @bitbaum/bip-kit (#1731)
* feat(sharing): one share row everywhere, from @bitbaum/bip-kit

The share row on wall posts and articles was a local copy of bip-kit's
ShareRow; profiles, projects, entities and blog posts still used an old
wrapping grid of platform tiles. Every share surface now renders
ShareRow from @bitbaum/bip-kit/react (^0.9.1):

- Wall post: "Repost on OrangeCat" opens the repost flow in place
  (crossPost.onClick); signed out it goes to sign-up and back, in the tab.
- Article: "Post on OrangeCat" via /share, in the tab (newTab: false).
- Content that is not public uses audience="restricted": cross-post and
  Copy link only, with the package's note.
- ShareContent (profiles, projects, entities, blog) keeps its panel and
  phone dialog but its body is the same row.

The row is themed with OrangeCat's tokens through the existing --bp-*
mapping in longform.css (adds --bp-on-fg, transparent action fill,
overlay hover, control radius). Removed: the local ShareRow/shareLinks
copies, PostShareRow, sharePlatforms and the sharing BrandIcons. The
share block is recorded in package-plan.json.

Claude-Session: https://claude.ai/code/session_019MDtmvPuHDQeZwXtasWfSx

* test(sharing): hold the bip-kit share row to the share sheet's promises

Main added share-sheet tests against the hand-built sheet (#1722). The sheet is now @bitbaum/bip-kit's ShareRow: its readable primary ink is tested in bip-kit, and its X link carries the title and the URL, so a post always fits. The two close-button tests stand unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvPuHDQeZwXtasWfSx

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-13 21:01:58 +01:00
..