Skip to content

fix(web): the Move threads dialog lists a family's children oldest first - #1005

Merged
badcuban merged 1 commit into
mainfrom
fix/move-window-child-order
Nov 19, 2026
Merged

badcuban merged 1 commit into
mainfrom
fix/move-window-child-order

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

The Move threads dialog listed a parent's children in the order this app happened to receive them. Two streams race to deliver threads, so the order could differ from the sidebar and change between openings. That race also made a browser test flaky.

The children now come oldest first, then by id, the rule the sidebar's families already use. One shared comparator (compareFamilyChildren in lib/threadSort.ts) serves both. The family browser test checks the exact order again, with the older child arriving second.

The dialog listed a parent's children in the order this app happened to
receive them, so they could differ from the sidebar and from one opening
to the next. They now come oldest first, then by id, the rule the
sidebar's families use, through one shared comparator. The family browser
test checks the exact order again.
@vercel

vercel Bot commented Nov 19, 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 19, 2026 12:35am UTC

Request Review

@badcuban
badcuban added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 4d300e8 Nov 19, 2026
24 checks passed
@badcuban
badcuban deleted the fix/move-window-child-order branch November 19, 2026 00:45

This branch was previously deployed

1 inactive deployment
Preview — dfef9370 Deployed Nov 19, 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