Skip to content

[Story] Make the sidebar tree and the scene asset pipeline data-driven #40

Done

Description

@aMonteSl

As a developer adding a sidebar section or a scene asset,
I want the tree provider and the asset injection to be driven by small tables,
so that adding an item means adding a row, not touching five switch statements.

Scope (ROADMAP W5-12..19, W5-37..43)

  • ModularTreeDataProvider: registry transcription and 17-property snapshot test; convertToSectionItem and createModularChild from one table; section header function and options object; SectionChild type union (import type only); optional CodeXRTreeItemBase. The eight lazy require() calls stay.
  • buildBabiaUiPlaceholders model; createSession helpers.
  • Asset descriptor table for the 8 scene assets, then room and guide-screen descriptors.
  • Shared ChartType types, then the chart-type setting core.

Acceptance criteria

  • Snapshot of every tree item (label, icon, contextValue, command, children) identical before and after.
  • Generated scene HTML byte-identical for the analysis fixtures (test:analysis).
  • Manual F5: every sidebar section renders and every context menu still appears on the right items.

Activity

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

    @aMonteSl
    CollaboratorAuthor

    Done in #57, merged into v1.2.1 with CI green on Linux, macOS and Windows. Tree snapshot unchanged, generated scene HTML byte-identical (59/59). W5-19 and W5-41 skipped with reasons in .claude/docs/v1.2.1/sessions/40-tree-assets.md; F5 checks run in #43.


    Generated by Claude Code

  4. added 2 commits that reference this issue on Nov 25, 2026
  5. added
    area: extension
    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: extensionstream: cleanup-refactortfmuser-story

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions