Skip to content

[Story] Simplify and de-duplicate the browser runtimes of the XR scenes and LivePanel #37

Done

Description

@aMonteSl

As a developer of the XR scenes,
I want the browser runtimes under templates/components/ to share their duplicated lifecycle and wiring code and to keep their complex functions small,
so that a fix to the immersive session, SSE or data table is made once and reaches every scene.

Scope (ROADMAP W4-R R01–R05, W5-50..52; W5-53..55 stay cut to 1.3.0)

  • Data-table column factories (R01).
  • ar-fill-light attach/detach characterization, then bindImmersiveSessionLifecycle (R02–R03).
  • createLivePanelSse in panelShell.js; directory-panel diagnostics through debugLog (R04–R05).
  • Characterize and refactor refreshUi, computePlanarAxisTargetScale (keeping its seven positional parameters), applySharedState (W5-50..52).
  • Re-verify each item at pick-up (the skeptic pass for runtime items was pending).

Acceptance criteria

  • Load order in templates/components/COMPONENTS.md respected; no new global.
  • Matching browser harness green for each touched runtime (test:xr-harness, test:xr-immersive-harness, test:xr-mode-harness, test:project-evolution-harness), plus npm test.
  • Runtime complexity targets recorded in the ratchet; no visible change in the scene.

Activity

  1. self-assigned this
    on Nov 25, 2026
  2. added
    tfm
    on Nov 25, 2026
  3. added
    user-story
    on Nov 25, 2026
  4. aMonteSl commented on Nov 25, 2026

    @aMonteSl
    CollaboratorAuthor

    Done in #49, merged into v1.2.1 with CI green on Linux, macOS and Windows. The immersive F5 checks listed in .claude/docs/v1.2.1/sessions/37-runtime-dedup.md run in the final verification (#43).


    Generated by Claude Code

  5. added
    area: xr-scene
    stream: cleanup-refactor
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: xr-scenestream: cleanup-refactortfmuser-story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions