Skip to content

Remove SvgDomRenderer Dead Code #790

Description

@SorraTheOrc

Summary

Delete obsolete SvgDomRenderer wiring and dead branches once Phaser-native parity is verified.

Player and user experience impact

  • Player experience: Card visuals remain visible and correctly occluded by overlays using Phaser layer/depth semantics.
  • Developer experience: One consistent rendering path with reduced DOM-specific maintenance overhead.

Acceptance Criteria

  • SvgDomRenderer is no longer wired into Main Street production lifecycle.
  • Unused imports/types/branches for DOM rendering are removed.
  • Build and test gates pass without references to removed DOM path.

Minimal Implementation (end-to-end slice)

  • Remove lifecycle wiring/scene fields for SvgDomRenderer.
  • Delete or retire SvgDomRenderer module if not used elsewhere.
  • Run npm test and npm run build after cleanup.

Dependencies

  • Remove DOM Renderer Path
  • Unify Shared SVG Texture Pipeline
  • Rewrite Overlay Layering Tests
  • Harden Texture Cache Invalidation

Deliverables

  • Cleanup commit(s)
  • Worklog summary comment

References

  • Parent: Phaser-native rendering for DOM SVG card visuals (replace svgDom) (CG-0MP8YFNX4007N9ZU)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions