mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-25 05:07:05 +00:00
fix(web): render cold sessions from a small initial page (#1809)
* fix(web): speed up cold session first paint * test(web): update pagination fixtures for cold page * test(web): wait for cold page before loading history * feat(native): match cold session pagination * test(native): cover cached re-entry page size
This commit is contained in:
@@ -19,8 +19,10 @@ public enum MessageWindowConstants {
|
||||
/// Separate trim bucket for codex `agent-run-*` rows so background-agent
|
||||
/// traces don't evict chat.
|
||||
public static let agentRunWindowSize = 800
|
||||
/// Request size for every page fetch.
|
||||
/// Request size for ordinary latest/reset, forward, and older-page fetches.
|
||||
public static let pageSize = 200
|
||||
/// Request size for a genuinely cold latest page, prioritizing first paint.
|
||||
public static let initialPageSize = 20
|
||||
}
|
||||
|
||||
public enum MessageViewMode: String, Sendable {
|
||||
|
||||
Reference in New Issue
Block a user