refactor: replace webgl-layer-framework with webgl-layer module

- Removed the webgl-layer-framework module and its associated tests.
- Introduced a new webgl-layer module to handle WebGL2 layer management.
- Updated references throughout the codebase to use the new webgl-layer module.
- Adjusted layer registration and rendering logic to align with the new structure.
- Ensured compatibility with existing functionality while improving modularity.
This commit is contained in:
Azgaar 2026-03-12 19:15:49 +01:00
parent d1d31da864
commit 9e00d69843
37 changed files with 380 additions and 7187 deletions

View file

@ -1,61 +0,0 @@
# generated: 2026-03-12
# project: Fantasy-Map-Generator
# project_key: NOKEY
# tracking_system: file-system
# story_location: _bmad-output/implementation-artifacts
# STATUS DEFINITIONS:
# ==================
# Epic Status:
# - backlog: Epic not yet started
# - in-progress: Epic actively being worked on
# - done: All stories in epic completed
#
# Epic Status Transitions:
# - backlog → in-progress: Automatically when first story is created (via create-story)
# - in-progress → done: Manually when all stories reach 'done' status
#
# Story Status:
# - backlog: Story only exists in epic file
# - ready-for-dev: Story file created in stories folder
# - in-progress: Developer actively working on implementation
# - review: Ready for code review (via Dev's code-review workflow)
# - done: Story completed
#
# Retrospective Status:
# - optional: Can be completed but not required
# - done: Retrospective has been completed
#
# WORKFLOW NOTES:
# ===============
# - Epic transitions to 'in-progress' automatically when first story is created
# - Stories can be worked in parallel if team capacity allows
# - SM typically creates next story after previous one is 'done' to incorporate learnings
# - Dev moves story to 'review', then runs code-review (fresh context, different LLM recommended)
generated: 2026-03-12
project: Fantasy-Map-Generator
project_key: NOKEY
tracking_system: file-system
story_location: _bmad-output/implementation-artifacts
development_status:
# Epic 1: WebGL Layer Framework Module
epic-1: done
1-1-pure-functions-types-and-tdd-scaffold: done
1-2-framework-core-init-canvas-and-dom-setup: done
1-3-layer-lifecycle-register-visibility-render-loop: done
epic-1-retrospective: done
# Epic 2: Relief Icons Layer Migration
epic-2: done
2-1-verify-and-implement-per-icon-rotation-in-buildsetmesh: done
2-2-refactor-draw-relief-icons-ts-to-use-framework: done
2-3-webgl2-fallback-integration-verification: done
epic-2-retrospective: done
# Epic 3: Quality & Bundle Integrity
epic-3: done
3-1-performance-benchmarking: done
3-2-bundle-size-audit: done
epic-3-retrospective: done