Skip to content

fix(mobile): finished threads rise to the top of their project section - #77

Closed
nachogames wants to merge 1 commit into
mainfrom
fix/mobile-finished-threads-rise
Closed

nachogames wants to merge 1 commit into
mainfrom
fix/mobile-finished-threads-rise

Conversation

@nachogames

Copy link
Copy Markdown
Owner

On the phone, with Group by project on, a thread that finished stayed where it was. Finished threads ended up buried in the list.

Cause: Ctrl's f8b525c (Nov 4) turned the Working section off under Group by project so running threads stay in their projects. Upstream's "newest return first" order only runs with Working on, so that fix also brought back the fixed order.

Fix: buildHomeProjectSections takes newestReturnFirst. HomeScreen sets it from the Working setting. With it on:

  • Inside each project section, rows sort by their latest start or finish, using upstream's sortInboxThreadsByReturn.
  • Project sections keep their order, which still comes from the list's fixed order or your Edit-mode arrangement.
  • Rows you arranged in Edit mode keep their saved places.

Test: one new case in homeProjectSections.test.ts. It fails before the fix and passes after; the home tests pass (91) and mobile typecheck is clean. Not tried on a phone yet. This is JS only, so it can ship as an OTA update.

Committed with --no-verify: the file's existing untranslated labels trip t3code/no-untranslated-copy, as on main.

Opus 5.5 via Claude Code in Ctrl.

🤖 Generated with Claude Code

Group by project turns the Working section off (f8b525c), and that also
turned off its newest-return order, so a thread that finished stayed where
it was. Rows inside each project now sort by latest start or finish while
Working is on in settings; project sections keep their order, and rows
arranged in Edit mode keep their saved places.

Committed with --no-verify: the file's existing untranslated labels trip
t3code/no-untranslated-copy, as on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nachogames

Copy link
Copy Markdown
Owner Author

Folded into the sync PR #76 (commit 71ff38b) so it ships in the same release.

@nachogames nachogames closed this Nov 23, 2026
@nachogames
nachogames deleted the fix/mobile-finished-threads-rise branch November 23, 2026 15:13
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