- 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.
- Mark Epic 2 as done and update related stories to reflect completion.
- Add Epic 2 retrospective document detailing team performance, metrics, and insights.
- Enhance draw-relief-icons.ts to include parentEl parameter in drawRelief function.
- Introduce performance measurement scripts for WebGL and SVG rendering comparisons.
- Add benchmarks for geometry building in draw-relief-icons.
- Removed global renderer, camera, and scene management in favor of layer framework integration.
- Implemented terrain layer registration with setup, render, and dispose methods.
- Enhanced texture loading and caching mechanisms.
- Updated geometry building to return Mesh objects directly.
- Added performance benchmarking story for render performance validation.
- Created bundle size audit story to ensure effective tree-shaking and size constraints.
- Implemented registration of draw-relief-icons with WebGL2LayerFramework, removing module-level renderer state.
- Updated drawRelief, undrawRelief, and rerenderReliefIcons functions to utilize framework methods.
- Ensured SVG fallback path is preserved and functional.
- Added performance criteria for rendering relief icons.
- Created tests to verify fallback integration and visual parity with existing SVG output.
test: Add WebGL2 fallback integration verification
- Introduced new tests for WebGL2LayerFramework to ensure no-ops when fallback is active.
- Verified that drawRelief routes to SVG when WebGL2 is unavailable.
- Confirmed visual parity between SVG output and existing implementation.
- Ensured all tests pass with updated coverage metrics.
- Migrate relief icon rendering from SVG to WebGL for improved performance.
- Introduce a new relief generator module to handle relief icon creation.
- Update event listeners in relief editor to use a consistent `byId` method.
- Synchronize relief data with the current SVG DOM when exiting edit mode.
- Enhance relief icon management by integrating new utility functions for generating and resolving relief icons.
- Clean up legacy code and improve overall structure for better maintainability.
* fix: enhance emblem rendering for states and burgs in the editor
* fix: update tools.js version to 1.112.0 for improved functionality
* Update src/index.html
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Deploy static content to Pages / deploy (push) Has been cancelled
Code quality / quality (push) Has been cancelled
* Adding zone export to GeoJSON, added versioning and hash updates
* Fixing copilot findings and test not using production code call
* Correcting collection of disconnected features
---------
Co-authored-by: Joe McMahon <joe@mcmahongroup.org>
Co-authored-by: Azgaar <maxganiev@yandex.com>
* Initial plan
* Fix: Military notes not updated on regiment or Era data change
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Refactor: update existing regiment note in-place; remove all regiment notes in one pass
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Bump version to 1.112.3 (patch: fix military notes not updated on regen)
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
Deploy static content to Pages / deploy (push) Waiting to run
Code quality / quality (push) Waiting to run
* Initial plan
* Fix zones restoration in risk heightmap edit mode
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Remove comments from zones restoration code
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Optimize zones restoration with O(n) map lookup instead of O(n²)
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Use local Map for zone backup instead of mutating zone objects
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Update version to 1.112.2 and heightmap-editor.js cache hash
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
Deploy static content to Pages / deploy (push) Has been cancelled
Code quality / quality (push) Has been cancelled
* refactor: migrate ice module
* chore: lint
* refactor: enhance rand function documentation for clarity on argument usage
* refactor: reorganize imports in probabilityUtils test file for clarity