Skip to content

product: session switch transitions and keep-alive panels (React ViewTransition / Activity) #53

Description

@anantheparty

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions