co-mono/packages
lockmeister cf10e9592a
feat: Add copy-link button to share viewer messages (#477)
* feat: add copy-link button to share viewer messages

Implements the feature requested in #437:

- Add a small link icon button that appears on hovering over user/assistant
  messages in the share viewer
- Clicking the button copies a shareable URL to clipboard with visual feedback
- URL format: base?gistId&leafId=<active-leaf>&targetId=<message-id>
- When loading a URL with leafId and targetId params:
  - Navigate to the specified leaf node
  - Scroll to and briefly highlight the target message

This enables users to share links to specific messages within a session.

* fix: preserve gist ID format and add clipboard fallback

- Fix URL format to produce ?gistId&leafId=... instead of ?gistId=&leafId=...
  (preserves the bare key format expected by the backend)
- Add execCommand fallback for clipboard copy on HTTP contexts where
  navigator.clipboard is unavailable
2026-01-05 23:59:26 +01:00
..
agent fix: clean up Codex thinking level handling 2026-01-05 21:58:26 +01:00
ai fix: clean up Codex thinking level handling 2026-01-05 21:58:26 +01:00
coding-agent feat: Add copy-link button to share viewer messages (#477) 2026-01-05 23:59:26 +01:00
mom Add [Unreleased] section for next cycle 2026-01-05 06:17:05 +01:00
pods Release v0.36.0 2026-01-05 06:16:25 +01:00
tui fix(tui): remove alt+enter from newLine default keybinding 2026-01-05 23:17:34 +01:00
web-ui Add [Unreleased] section for next cycle 2026-01-05 06:17:05 +01:00