Skip to content

CL-6795: keep sidebar preview across join/event rows (server) - #354

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-6795-sidebar-preview-blanks-or-ignores-the-latest-user-message
Aug 23, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-6795-sidebar-preview-blanks-or-ignores-the-latest-user-message

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

  • Server listActivity lookback now runs when the newest row has an empty preview (join/event/attachment-only), same path as failure lookback (CL-6735).
  • Bench-list preview keeps the last person-facing text instead of blanking after a join notice; newer user text still wins over a stale greeting.
  • Exports previewOf from @corbits/chat.

Test plan

  • bun test packages/chat/src/room-messages.test.ts packages/chat/test/room-activity.drizzle.test.ts (18 pass)
  • @corbits/chat typecheck

Closes CL-6795 (server slice only; client list-cache deferred).

Walk listActivity lookback when the newest row has an empty preview
(join/event/attachment-only), same path as failure lookback, so the
bench list keeps the last person-facing text instead of blanking.
@TheGreatAxios
TheGreatAxios merged commit 313fbdb into main Aug 23, 2026
5 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-6795-sidebar-preview-blanks-or-ignores-the-latest-user-message branch August 25, 2026 15:40
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.

1 participant