Skip to content

fix(web): a wrapped thread shows when it last wrapped, not an old Wrap up - #980

Merged
badcuban merged 1 commit into
mainfrom
fix/wrapped-thread-timestamp
Nov 17, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/wrapped-thread-timestamp

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

A thread wrapped by hand, then used again, then wrapped again on its own (its pull request merging, or sitting idle) showed the date of the old Wrap up in the Wrapped list. It was also grouped under that old day. Seen on a thread whose PR merged today: the row said "3d" and sat under "Last 7 days".

The filing rules already ignored a Wrap up older than the thread's last activity, but resolveDoneTimestamp still returned it. It now uses the user's Wrap up only while it is still current (freshThreadDoneOverride), otherwise the thread's last activity. That one function feeds both the row's time and the Wrapped list's order, so they still agree. freshThreadDoneOverride now reads the last activity directly instead of going through resolveDoneTimestamp.

Checks: Sidebar.logic and projectBoard.logic unit tests, the sidebar and inbox row browser tests, vp fmt, vp lint, vp run typecheck. Added one test for the reported case.

…p up

A thread wrapped by hand, then used again, then wrapped again on its own
(its pull request merging, or sitting idle) showed the date of the old
Wrap up in the Wrapped list and was grouped under that day.

The row's time now uses the user's Wrap up only while nothing newer has
happened in the thread, the same rule the filing already used. Otherwise
it uses the thread's last activity. The label and the list order both
read this, so they still agree.
@vercel

vercel Bot commented Nov 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Nov 17, 2026 9:38pm UTC

Request Review

@badcuban
badcuban enabled auto-merge November 17, 2026 21:40
@badcuban
badcuban added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 68890b2 Nov 17, 2026
24 checks passed
@badcuban
badcuban deleted the fix/wrapped-thread-timestamp branch November 17, 2026 21:51

This branch was previously deployed

1 inactive deployment
Preview — a84c66bf Deployed Nov 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant