Skip to content
This repository was archived by the owner on Nov 9, 2026. It is now read-only.

Messages: an unread count stays in free roam, I opens the conversation - #138

Open
pimpeters wants to merge 1 commit into
mainfrom
track/messages
Open

pimpeters wants to merge 1 commit into
mainfrom
track/messages

Conversation

@pimpeters

Copy link
Copy Markdown
Collaborator

Why

A friend's message faded from free roam's log after 8-15 s, counted as read as soon as it showed, and could not be seen again in the game.

What changes for players

  • An envelope with the unread count stays under the log until the conversation is opened (on touch screens, tap it).
  • I opens the newest unread conversation.
  • The message card in the game shows the history with that friend, up to the last 40 messages, above the field. It used to show only the friend's latest message.
  • Tab lists the friends, unread first.
  • Messages that arrive while the card is open join the conversation or wait for it to close.
  • Quick chat no longer pushes a friend's message out of the log.
  • A message shown only in the log now stays unread, so the Friends tab's dot stays lit until it is opened.

Page only: no server, runtime or lift changes. New texts are translated in every language, and docs/web/PLAYING.md is updated.

Testing

  • npm run check and the language check pass.
  • web/test/messages.test.mjs, with 3 new tests, passes (run in a real browser through a small stand-in for Playwright, as no browser could start in WSL).
  • npm run test:fast: 556 passed, 8 failed, all 8 because no browser could start there. boot, claim-ui, copy, friends, quickchat, sitekeys and menu-layout still need CI.
  • Checked by hand on a local server in the game, and with phone emulation.

🤖 Generated with Claude Code

Schermafbeelding 2026-11-08 164616 Schermafbeelding 2026-11-08 164625

A friend's message faded from the log after 8-15 s, counted as read as
soon as it showed, and could not be seen again in the game.

An envelope with the unread count now stays under the log until the
conversation is opened, and I opens the newest unread one.

The message card in the game now shows the history with that friend,
up to the last 40 messages, above the field. It used to show only the
friend's latest message. Tab lists the friends, unread first.

Messages that arrive while the card is open join the conversation or
wait for it to close, and quick chat no longer pushes a message out of
the log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant