Proposal (from a zero-context external scan, 2026-09-13)
Adopt React <ViewTransition> for session/workspace/settings switch transitions and evaluate <Activity> for keep-alive background session panels.
Why
- React 19.3 (2026-09-09) stabilized View Transitions and Fragment Refs (https://react.dev/blog/2026/09/09/react-19-3); the lockfile pins react 19.2.8 under
^19.2.0, so the upgrade is near-zero cost.
- View Transitions are now baseline across engines (Firefox 144 closed the gap).
- Today the app has ~6 transitions total and no transition orchestration;
<Activity> would preserve scroll position and expansion state for hidden sessions (currently only the socket and backgroundTurns state survive a switch).
Scope sketch
apps/web/src/app/App.tsx:143-182 — selection/switch state is the trigger point.
apps/web/src/features/session/use-octos-session.ts:292-296 — transitioning/backgroundTurns state.
- Progressive enhancement: wrap switches in
ViewTransition where supported, instant swap otherwise. No behavior change.
Proposal (from a zero-context external scan, 2026-09-13)
Adopt React
<ViewTransition>for session/workspace/settings switch transitions and evaluate<Activity>for keep-alive background session panels.Why
^19.2.0, so the upgrade is near-zero cost.<Activity>would preserve scroll position and expansion state for hidden sessions (currently only the socket and backgroundTurns state survive a switch).Scope sketch
apps/web/src/app/App.tsx:143-182— selection/switch state is the trigger point.apps/web/src/features/session/use-octos-session.ts:292-296— transitioning/backgroundTurns state.ViewTransitionwhere supported, instant swap otherwise. No behavior change.