Devserver scenario with 5,000+ messages and a scroll-back check #97

Open
opened 2026-11-11 13:55:33 +00:00 by charles · 0 comments
Owner

Found by the Foundation acceptance pass (Task 26, #26), criterion 4 of the Foundation spec §9 ("Scroll back through 5,000+ messages without jank; jump to present works").

What exists on 23c10ceec5: the list is virtualised and tested with 1,000 rows (crates/fluxer-ui/tests/message_list.rs::only_visible_rows_are_laid_out, prepend_keeps_anchor_row_in_place, reach_top_fires_once_per_page), history paging and the jump pill are tested (crates/fluxer-ui/tests/message_view.rs). The only scenario, fixtures/scenarios/basic.toml, has 120 messages of history, so nothing has ever held 5,000 messages in one channel, in a test or by hand.

Wanted:

  • a scenario (for example fixtures/scenarios/long-history.toml, count = 6000) for fluxer --devserver long-history;
  • a test that pages back through all of it (core + message_view) and asserts that the number of rows built per frame stays bounded and the anchor row does not move;
  • a number for "without jank": frame time while scrolling, measured on the release build (how to measure is part of the task).
Found by the Foundation acceptance pass (Task 26, #26), criterion 4 of the Foundation spec §9 ("Scroll back through 5,000+ messages without jank; jump to present works"). What exists on 23c10ceec5787bd08f11ff47b635b49fa269e473: the list is virtualised and tested with 1,000 rows (`crates/fluxer-ui/tests/message_list.rs::only_visible_rows_are_laid_out`, `prepend_keeps_anchor_row_in_place`, `reach_top_fires_once_per_page`), history paging and the jump pill are tested (`crates/fluxer-ui/tests/message_view.rs`). The only scenario, `fixtures/scenarios/basic.toml`, has 120 messages of history, so nothing has ever held 5,000 messages in one channel, in a test or by hand. Wanted: - a scenario (for example `fixtures/scenarios/long-history.toml`, `count = 6000`) for `fluxer --devserver long-history`; - a test that pages back through all of it (core + `message_view`) and asserts that the number of rows built per frame stays bounded and the anchor row does not move; - a number for "without jank": frame time while scrolling, measured on the release build (how to measure is part of the task).
charles added this to the Foundation milestone 2026-11-11 13:55:33 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#97
No description provided.