* fix: use global vars instead of window.
* feat: add GitHub Actions workflow for unit tests
* fix: change mapCoordinates declaration from let to var for compatibility
* feat: add string utility tests and vitest browser configuration
* feat: add Playwright for end-to-end testing and update snapshots
- Introduced Playwright for E2E testing with a new configuration file.
- Added test scripts to package.json for running E2E tests.
- Updated package-lock.json and package.json with new dependencies for Playwright and types.
- Created new SVG snapshot files for various layers (ruler, scaleBar, temperature, terrain, vignette, zones) to support visual testing.
- Excluded e2e directory from TypeScript compilation.
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add SVG layer snapshots for various components
- Added ruler layer snapshot with hidden display.
- Added scale bar layer snapshot with detailed structure and styling.
- Added temperature layer snapshot with opacity and stroke settings.
- Added terrain layer snapshot with ocean and land heights groups.
- Added vignette layer snapshot with mask and opacity settings.
- Added zones layer snapshot with specified opacity and stroke settings.
* fix: update Playwright browser installation command to use npx
* Update snapshots
* refactor: remove unused layer tests and their corresponding snapshots as fonts are unpredictable
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* chore: add npm + vite for progressive enhancement
* fix: update Dockerfile to copy only the dist folder contents
* fix: update Dockerfile to use multi-stage build for optimized production image
* fix: correct nginx config file copy command in Dockerfile
* chore: add netlify configuration for build and redirects
* fix: add NODE_VERSION to environment in Netlify configuration
* remove wrong dist folder
* Update package.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* chore: split public and src
* migrating all util files from js to ts
* feat: Implement HeightmapGenerator and Voronoi module
- Added HeightmapGenerator class for generating heightmaps with various tools (Hill, Pit, Range, Trough, Strait, etc.).
- Introduced Voronoi class for creating Voronoi diagrams using Delaunator.
- Updated index.html to include new modules.
- Created index.ts to manage module imports.
- Enhanced arrayUtils and graphUtils with type definitions and improved functionality.
- Added utility functions for generating grids and calculating Voronoi cells.
* chore: add GitHub Actions workflow for deploying to GitHub Pages
* fix: update branch name in GitHub Actions workflow from 'main' to 'master'
* chore: update package.json to specify Node.js engine version and remove unused launch.json
* Initial plan
* Update copilot guidelines to reflect NPM/Vite/TypeScript migration
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
* Update src/modules/heightmap-generator.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/utils/graphUtils.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/modules/heightmap-generator.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* feat: Add TIME and ERROR variables to global scope in HeightmapGenerator
* fix: Update base path in vite.config.ts for Netlify deployment
* fix: Update Node.js version in Dockerfile to 24-alpine
---------
Co-authored-by: Marc Emmanuel <marc.emmanuel@tado.com>
Co-authored-by: Marc Emmanuel <marcwissler@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@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>
* feat: style - store emblem size mod in style (v1.99.10)
* fix the isOutdated function for versions past 1.99
* fix: showUploadMessage function not called correctly for isUpdated case
* feat: load - improve version detection
* feat: improve version detection and update process
* feat: Update version and use constant for VERSION in multiple files
* Update versioning.js to fix incorrect message display for stored version
* feat: zones editor - update to work with pack data
* feat: zones editor - update editor
* feat: zones editor - update editor
* chore: update version
* feat: zones - regenerate
* feat: zones - render zones as continuius line
* feat: zones - editot changes
* feat: zones - auto-update
* feat: zones - generation fixes
* feat: zones - generation fixes
* feat: zones - restore layer
* feat: zones - proselytism - check population
---------
Co-authored-by: Azgaar <azgaar.fmg@yandex.com>