agent-ecosystem/test/renderer
Mike 4c359d5185 perf(team): precompute ActivityTimeline session anchors once per render
Replace the per-item backward scan that located the most recent session
anchor with a single forward pass via useMemo.

Before: for every timeline item the render loop walked backward until
it found a lead-thought anchor, so N items produced up to N * N anchor
lookups on every render pass.

After: a single O(n) sweep builds previousSessionAnchorByIndex; render
time lookup is O(1). getItemSessionAnchorId is hoisted to module scope
so it is not recreated per render.

Behavior is unchanged. The three existing separator tests still pass,
and four new cases cover three-session transitions, long runs of
non-anchor items between thought groups, consecutive same-session
thoughts, and single-item lists.
2026-04-19 09:00:59 +05:00
..
api feat(task-logs): add board task activity and task log stream 2026-04-12 22:13:43 +03:00
components perf(team): precompute ActivityTimeline session anchors once per render 2026-04-19 09:00:59 +05:00
constants improvement: alot small improvements and fixes 2026-04-13 16:20:57 +03:00
features/agent-graph fix(agent-graph): stabilize drag and pan interactions 2026-04-18 18:32:04 +03:00
hooks fix(extensions): ignore stale MCP search responses 2026-04-16 22:26:03 +03:00
store chore(merge): sync local dev into spike/team-snapshot-split-plan 2026-04-18 20:26:36 +03:00
types feat: enhance editor file handling and task management features 2026-03-02 20:08:03 +02:00
utils chore(merge): sync local dev into spike/team-snapshot-split-plan 2026-04-18 20:26:36 +03:00