Skip to content

Conversation

@goto-bus-stop
Copy link
Member

@goto-bus-stop goto-bus-stop commented Dec 14, 2025

Exxxperimental.

Could be used to show some chat history when you first join.

Later, the message queue cleanup could be made a bit more intelligent, so it could leave chat messages in for longer for example.

@coveralls
Copy link

coveralls commented Dec 14, 2025

Coverage Status

coverage: 86.076% (+0.1%) from 85.96%
when pulling fe289e4 on backscroll
into 166408e on default.

const messages = rows.map((row) => {
const message = /** @type {ServerActionParameters['chat:message']} */ (fromJson(row.data));
return {
_id: message.id,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be a nice idea to use the socketMessageQueue id here

@goto-bus-stop goto-bus-stop marked this pull request as ready for review December 28, 2025 12:27
@goto-bus-stop goto-bus-stop merged commit ef9b6b9 into default Dec 28, 2025
6 checks passed
@goto-bus-stop goto-bus-stop deleted the backscroll branch December 28, 2025 12:42
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.

3 participants