agent-ecosystem/test/renderer/components/team
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
..
activity perf(team): precompute ActivityTimeline session anchors once per render 2026-04-19 09:00:59 +05:00
dialogs fix(team): refine bootstrap and provider diagnostics 2026-04-18 18:32:21 +03:00
editor feat: enhance file icon handling and keyboard shortcuts 2026-03-01 14:24:24 +02:00
members test(members): small improvements 2026-04-19 01:38:44 +03:00
messages Merge branch 'dev' into spike/team-snapshot-split-plan 2026-04-18 18:21:25 +03:00
sidebar feat(graph): enhance GraphControls with settings toggle and improved zoom functionality 2026-03-29 00:05:29 +02:00
taskLogs feat(team): add live task log stream count badge 2026-04-18 21:04:15 +03:00
ClaudeLogsPanel.test.ts feat(team): enhance Claude logs handling and improve retrieval logic 2026-04-19 01:38:58 +03:00
TeamModelSelector.test.ts fix(team): support anthropic opus 4.7 team models 2026-04-18 12:09:26 +03:00
TeamModelSelectorDisabledState.test.ts feat(cliInstaller): add model verification for providers 2026-04-16 19:41:23 +03:00
teamProjectSelection.test.ts feat(agent-graph): integrate stable slot layout for improved node positioning and interaction 2026-04-15 16:18:11 +03:00
TeamProvisioningBanner.test.ts refactor(team): split team detail snapshot from messages activity 2026-04-15 21:54:38 +03:00
teamSessionFetchGuards.test.ts fix(team-runtime): harden refresh flows and reduce ui churn 2026-04-09 16:34:55 +03:00