Inbox: older conversations, and older texts in a chat (#265) #309

Merged
littlefox merged 4 commits from issue-265-inbox-older into main 2026-10-23 12:09:43 +00:00
Owner

Closes #265

Older conversations, and older texts in a chat:

  • "Visa äldre samtal" under the inbox list looks at 200 more of the letterbox's texts (cached stats reused) while it has older ones;
  • "Visa äldre" above a chat shows 50 more of it, and looks further back in the letterbox when all its texts so far are shown;
  • opening a chat still goes to the newest; older texts coming in above keep the place;
  • browser tests make the pages small (window.__neokomInboxPages); seed: Ivar, with 5 letters from Bertil and 30 from Anna.

Verified: new e2e/tests/inbox-older.spec.ts (Bertil's conversation reached by paging; Anna's chat 10 → 20 → 30 back to her first letter) and the inbox spec in desktop/android/iphone; lint with CI's three clippy commands; unit tests; screenshots looked at.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8

Closes #265 Older conversations, and older texts in a chat: - "Visa äldre samtal" under the inbox list looks at 200 more of the letterbox's texts (cached stats reused) while it has older ones; - "Visa äldre" above a chat shows 50 more of it, and looks further back in the letterbox when all its texts so far are shown; - opening a chat still goes to the newest; older texts coming in above keep the place; - browser tests make the pages small (`window.__neokomInboxPages`); seed: Ivar, with 5 letters from Bertil and 30 from Anna. Verified: new `e2e/tests/inbox-older.spec.ts` (Bertil's conversation reached by paging; Anna's chat 10 → 20 → 30 back to her first letter) and the inbox spec in desktop/android/iphone; lint with CI's three clippy commands; unit tests; screenshots looked at. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Inbox: older conversations, and older texts in a chat (#265)
Some checks failed
ci / check (push) Successful in 9m18s
ci / desktop (push) Successful in 16m28s
ci / e2e (push) Has been cancelled
1df44fa9ec
The inbox only looked at the newest 200 letters and a chat showed its
last 50, with no way further back. "Visa äldre samtal" now looks at 200
more of the letterbox while it has more, and "Visa äldre" above a chat
shows 50 more of it, looking further back in the letterbox when needed.
Opening a chat still goes to the newest; older texts keep the place.

Closes #265

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Inbox: a chat's older texts load on the page asked for
Some checks failed
ci / check (push) Successful in 7m57s
ci / desktop (push) Successful in 15m24s
ci / e2e (push) Failing after 47m58s
c361ab83cd
The chat's loader kept the texts it was made with, so "Visa äldre"
loaded the same ten again; it now works them out from the conversation
and the page each time. The spec clicks the conversation, not its time.

Refs #265

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
Merge main into issue-265-inbox-older
Some checks failed
ci / check (push) Successful in 12m36s
ci / desktop (push) Successful in 21m33s
ci / e2e (push) Failing after 47m49s
9d1597eae5
Merge main into issue-265-inbox-older; inbox spec clicks until done
All checks were successful
ci / check (push) Successful in 9m29s
ci / desktop (push) Successful in 14m38s
ci / e2e (push) Successful in 35m36s
7690e6df55
The seed now creates Mona (main) before Ivar, so main's numbers stay.
The inbox-older spec counted the "Visa äldre samtal" button right after
a click, while the old one was still there, and then waited two minutes
on a click it never got: it clicks until the button is gone instead.

Refs #265

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XJW2ocwLunyaLiUwCBHEP8
littlefox referenced this pull request from a commit 2026-10-24 13:23:56 +00:00
Sign in to join this conversation.
No description provided.