Commit graph

14 commits

Author SHA1 Message Date
Marc Emmanuel
e45f6aed98 Merge branch 'master' into refactor/migrate-first-modules 2026-01-22 13:48:55 +01:00
Azgaar
f30ffd812e
Overview dialogs search (#1260)
* feat: add search functionality to overview components

* feat: enhance search functionality

* chore: correct typo in pull request template

* chore: update version to 1.110.0 and add peer dependencies in package-lock.json; enhance versioning.js with new features

* Fix null safety and performance in overview dialogs search (#1272)

* Initial plan

* fix: add optional chaining and optimize performance in overview dialogs

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>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>
2026-01-22 13:06:13 +01:00
Azgaar
9e0eb03618
[Migration] NPM (#1266)
* 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>
2026-01-22 12:20:12 +01:00
Marc Emmanuel
371c775578 refactor: Migrate lakes functionality to lakes.ts and update related interfaces 2026-01-21 23:04:23 +01:00
Marc Emmanuel
49e7e5c533 refactor: Remove river-generator.js reference and add biomes module 2026-01-21 22:34:30 +01:00
Marc Emmanuel
2ba8bd12b8 refactor: Remove river-generator.js script reference and migrate river generation logic to river-generator.ts 2026-01-21 22:21:36 +01:00
Marc Emmanuel
9733db81f4 refactor: Remove legacy ocean-layers.js and migrate functionality to ocean-layers.ts 2026-01-20 21:19:14 +01:00
Marc Emmanuel
e7c853bf52 refactor: Migrate features to a new module and remove legacy script reference 2026-01-19 22:43:54 +01:00
Azgaar
5a460cab87
Merge pull request #1268 from SheepFromHeaven/refactor/migrate-modules
feat: Implement HeightmapGenerator and Voronoi module
2026-01-19 16:51:29 +01:00
Azgaar
abc91ce066
Merge branch 'npm' into refactor/migrate-utils-to-ts 2026-01-18 16:30:08 +01:00
Azgaar
9bf5c8fddd chore: update package.json to specify Node.js engine version and remove unused launch.json 2026-01-18 16:27:02 +01:00
Marc Emmanuel
4b5e9bfeea 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.
2026-01-16 13:12:56 +01:00
Marc Emmanuel
fa493989b6 migrating all util files from js to ts 2026-01-14 09:18:08 +01:00
Marc Emmanuel
76f86497c7 chore: split public and src 2026-01-13 12:47:37 +01:00