Files
TX/artifacts
riyadhafraa 8729cae01a Task #45: Tapping a chat notification opens the matching conversation
- notifications.tsx: When a notification is clicked, if it has
  relatedType === "conversation" and a relatedId, navigate to
  /chat?c=<conversationId> in addition to marking it read. Other
  notification types continue to behave as before (just mark read).
- chat.tsx: Read the optional `c` query parameter via wouter's
  useSearch hook. When present and valid, set it as the
  selectedConvId so the conversation opens automatically, then
  replace the URL back to /chat so refreshing or navigating away
  doesn't keep re-opening it.

No API or schema changes required; notification records already
carry relatedType/relatedId for chat notifications.

Replit-Task-Id: 2fda1864-99d6-4f07-a3d9-aa3021d5493f
2026-04-21 11:07:55 +00:00
..
2026-04-18 02:00:09 +00:00