Skip to content

feat(share): add message query param for deep linking to specific messages#11809

Closed
Zeko369 wants to merge 1 commit into
anomalyco:devfrom
Zeko369:feature/share-message-query-param
Closed

feat(share): add message query param for deep linking to specific messages#11809
Zeko369 wants to merge 1 commit into
anomalyco:devfrom
Zeko369:feature/share-message-query-param

Conversation

@Zeko369

@Zeko369 Zeko369 commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

Closes #11808

This change allows users to share links to specific messages in a shared session by adding a ?message=msgId query parameter.

Changes:

  • Replaced local store state with useSearchParams from SolidJS router
  • Added messageId memo to handle the query param value (handling both string and array cases)
  • Links like https://opncd.ai/share/some-code?message=abc123 will now load that specific message directly

Example:

  • https://opncd.ai/share/xyz789 → opens first message
  • https://opncd.ai/share/xyz789?message=msg_456 → opens message with ID msg_456

@github-actions

github-actions Bot commented Feb 2, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@Zeko369
Zeko369 force-pushed the feature/share-message-query-param branch 2 times, most recently from 41d0ef2 to 72b5216 Compare February 2, 2026 16:46
@Zeko369
Zeko369 force-pushed the feature/share-message-query-param branch from 72b5216 to 3fba345 Compare February 2, 2026 16:51
@Zeko369 Zeko369 closed this Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Share pages should support linking to specific messages via query parameter

1 participant