Add message grouping for consecutive same-author messages#11
Merged
Add message grouping for consecutive same-author messages#11
Conversation
Collapse avatar/name/time for consecutive messages from the same author within a 5-minute window, matching Slack/Discord convention. Pure client-side: JS scans DOM and toggles a CSS class. Handles SSE insert, delete, edit, history prepend, and catch-up reconnect. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace always-visible touch controls with a bottom sheet triggered by tapping a message on mobile. The sheet shows a cloned message preview (avatar, author, text) and contextual actions (react, copy, edit, delete). Edit/delete are owner-only, verified via computed display in E2E tests. The emoji picker opens inline within the sheet rather than as a separate overlay. A MutationObserver on the picker's hidden attribute closes the sheet after emoji selection (reactions.js uses stopImmediatePropagation). On desktop, edit/delete/react buttons move from inline meta to a floating toolbar (position: absolute, top-right) that appears on message hover. Reaction bars with no pills are now display:none globally (the toolbar handles the add-reaction role). When pills exist, the add-reaction button is always visible at the end — no hover required. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
message--continuationCSS classTest plan
make test)🤖 Generated with Claude Code