perf(frontend): session lists and thread render every row without content-visibility or virtualisation #727
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
follow-up
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman#727
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up from the perf report (item 12).
`components/SessionTable.tsx:275,365,477` (Dashboard, 30-day default window, up to 500 rows), `pages/session-detail/SessionSidebar.tsx:275,310` (72 h, unbounded) and the assistant-ui thread render with plain `.map`; no virtualisation lib is installed.
Fix: `content-visibility: auto` (+ `contain-intrinsic-size`) on row/message containers is the one-line win. Only reach for `@tanstack/react-virtual` if a Dashboard with >1k rows turns out to be real.