agent-ecosystem/test/renderer/components
Mike d4f518e8c5 refactor(team): viewport contract + observer root for ActivityTimeline
Second step of the virtualization plan. No virtualization yet. This PR
makes IntersectionObserver-based visibility tracking correct inside
scroll containers (sidebar, bottom-sheet), which is a prerequisite for
virtualizing the timeline.

- Introduces `TimelineViewport` — a grouped contract passed as a single
  `viewport` prop on `ActivityTimeline`. Holds `scrollElementRef`,
  `observerRoot`, `scrollMargin`, and `virtualizationEnabled`.
- `MessageRowWithObserver` and `LeadThoughtsGroupRow` now create their
  `IntersectionObserver` with `root = observerRoot?.current ?? null`
  instead of defaulting to the document viewport. Unread marking now
  fires when rows enter their real scroll parent.
- `MessagesPanel` resolves the active scroll owner from `position`
  (inline from parent ref, sidebar from `sidebarScrollRef`, bottom-sheet
  from `bottomSheetScrollRef`) and passes it into ActivityTimeline.
- Tests: stubs `IntersectionObserver` to capture `options.root` and
  asserts null when no viewport is passed, and the provided element when
  `viewport.observerRoot` is set.

`scrollMargin` and `virtualizationEnabled` are included in the contract
but not consumed yet — they land in follow-up PRs (#4/#5).
2026-04-20 00:17:04 +05:00
..
cli fix(extensions): avoid success banner when no visible providers remain 2026-04-17 20:28:35 +03:00
common fix(ci): resolve branch lint errors 2026-04-18 12:32:44 +03:00
extensions chore(merge): sync dev into spike/team-snapshot-split-plan 2026-04-18 11:32:29 +03:00
runtime feat(extensions): add provider-aware runtime adapters 2026-04-17 10:08:13 +03:00
sidebar fix(sidebar): soften unread task highlight 2026-04-18 18:32:40 +03:00
team refactor(team): viewport contract + observer root for ActivityTimeline 2026-04-20 00:17:04 +05:00
fileLink.test.ts feat: update task comment and message length limits to use centralized constant 2026-03-07 01:04:00 +02:00
renderOutput.test.ts feat: improve MCP tool input/output rendering 2026-02-19 19:09:53 -03:00
reviewDiffSafety.test.ts fix(team): deduplicate permission_request processing across all entry paths 2026-03-28 20:32:42 +02:00