Skip to content

fix(web): a chat folded away still asks until its reply is seen - #544

Merged
futrime merged 1 commit into
mainfrom
fix/web-chat-asking-folds
Nov 2, 2026
Merged

futrime merged 1 commit into
mainfrom
fix/web-chat-asking-folds

Conversation

@futrime

@futrime futrime commented Nov 2, 2026

Copy link
Copy Markdown
Member

Summary

  • A chat folds away about a minute after its turn ends if no page follows it. When it does, its host and the pending question go too, so asking drops to [] and the gold blinking mark turned grey before anyone had read the reply.
  • The page now remembers, in localStorage under hmz-owed, what each chat last waited on, and forgets it once a turn opens. A folded chat stays asking until that is seen. Opening its page marks it seen, and it then shows stopped.
  • A chat that is still folding is reported as running with no host, because its lock is still held. That no longer clears what it owes; only a turn its host says is open does.
  • web.md §5.10 and docs/user/web.md are updated to match.

Follows #542 and #543.

Test plan

  • New system test test_a_chat_answered_unread_still_asks_once_folded_until_one_looks (Chromium and WebKit). It fails without the fix and passes with it.
  • uv run pytest: 6731 passed. pre-commit run --all-files is clean.
  • tests/system/web: 200 passed. The 2 failures, test_web_daemon_bar, fail the same way on main on this machine.

🤖 Generated with Claude Code

A chat between turns folds away once no page follows it, and its host's question goes with it, so its row lost the blinking asking mark before anyone read the reply. The page now remembers what each chat last waited on until a turn of it opens, and keeps it asking until that is seen.

Co-Authored-By: Claude <noreply@anthropic.com>
@futrime
futrime enabled auto-merge November 2, 2026 04:29
@futrime
futrime added this pull request to the merge queue Nov 2, 2026
Merged via the queue into main with commit 1f60f9e Nov 2, 2026
14 checks passed
@futrime
futrime deleted the fix/web-chat-asking-folds branch November 2, 2026 04:35
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