Skip to content

Port upstream #269: webchat reactions - #8

Open
bruno320x wants to merge 3 commits into
bruno320x:integration/upstream-prsfrom
spacedriveapp:feat/webchat-reactions
Open

bruno320x wants to merge 3 commits into
bruno320x:integration/upstream-prsfrom
spacedriveapp:feat/webchat-reactions

Conversation

@bruno320x

Copy link
Copy Markdown
Owner

Port of spacedriveapp#269. Adds persisted reaction events and webchat rendering. Staged on integration/upstream-prs.

jamiepine and others added 3 commits February 28, 2026 20:23
Reactions from the react tool were silently dropped in webchat because
the adapter is a no-op and the SSE bus had no reaction event type.

Backend: add ApiEvent::Reaction variant, emit it in the outbound routing
loop, persist reactions via a new 'reaction' column on conversation_messages,
and include them in the timeline query so they survive page refresh.

Frontend: add ReactionEvent SSE handler that attaches the emoji to the
most recent user message, and render it as a chip overlapping the message
bubble.
…E fields

Address PR review feedback:

- Thread message_id through OutboundResponse::Reaction and ApiEvent::Reaction
  so the frontend can target the exact message instead of scanning backwards
  (coderabbitai)

- Make log_reaction async with a retry loop (5 attempts, 25ms backoff) to
  handle the race where the fire-and-forget user message INSERT hasn't
  landed yet (tembo)

- Guard the frontend SSE reaction handler against missing channel_id/emoji
  fields before mutating state (tembo)
@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: d6a575cc-4d19-4f78-bda4-42a5d1dd6673

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-15T13:28:46.864759Z bf488c8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants