Skip to content

Inbox: folded message no longer says questions are open after Mark read - #4160

Merged
backnotprop merged 1 commit into
mainfrom
fix/inbox-chip-after-mark-read
Nov 28, 2026
Merged

backnotprop merged 1 commit into
mainfrom
fix/inbox-chip-after-mark-read

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

What a person saw: after Mark read on a thread, a folded message still showed "2 open questions", while the thread's foot button showed none.

Cause: holdingsOf (packages/core/inbox-folding.ts) counted every live question that was not sent and not picked as open. Mark read leaves questions closed (set aside), so they still counted.

Fix: the chip counts open with inboxQuestionWaitsForList, the same rule behind the thread's open-questions list (open, or picked and not sent, and not orphaned). Closed questions no longer count.

Test: packages/inbox/folding.test.ts: a message whose questions Mark read closed has no open count, the same as threadOpenQuestions. A message with one closed and one open question counts 1.

@backnotprop backnotprop added the ci:e2e Run the full browser suite (Inbox window e2e) on this PR label Nov 28, 2026
@backnotprop
backnotprop merged commit cd9066c into main Nov 28, 2026
76 of 77 checks passed
backnotprop added a commit to bendrucker/plannotator that referenced this pull request Nov 28, 2026
…panel swipes and the HTML viewer's lost highlights

ui 0.67.0 and core 0.25.35 went to npm on 2026-11-28 with package files
that match the v0.29.6 tag (c21f65e), so this pair carries what merged
after v0.29.6, up to v0.29.7.

core 0.25.36 is additive: the linked mark "decisions" and
InboxDecision.machine (backnotprop#4066), DraftFileUploader.previewUrl (backnotprop#4165), and
holdingsOf no longer counting a question Mark read closed (backnotprop#4160). No
exports subpath changes; nothing removed.

ui 0.68.0 is a minor: Escape while an input method composes only ends the
composition, and shortcuts skip such keys; holdsImeEscape is new (backnotprop#3689,
backnotprop#4162). HtmlViewer treats a collapsed live Range as lost (backnotprop#4152). Compact
panels: OverlayScrollArea scrollMemory, SidebarContainer closing and
scrollPositions, ActionMenu compactEdgeSwipe, four new hooks and the panel
rules in theme.css (backnotprop#2861). useLaunchAnnouncement waits for ready (backnotprop#4067).
ui uses nothing new from core; its exact pin follows so a host gets one
core. Publish core first.

README and HANDOFF name the new pair, and HANDOFF adds what the published
0.25.35 / 0.67.0 already held beyond their notes (backnotprop#4114, backnotprop#4151).

bun.lock is bun install's own output: the two package version lines, and
six app workspace version lines (0.29.5 to 0.29.7) the release bumps left
behind.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:e2e Run the full browser suite (Inbox window e2e) on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant