Commit graph

24 commits

Author SHA1 Message Date
StempunkDev
0d3c903dd4 fix migration check 2026-01-22 20:15:59 +01:00
StempunkDev
5fc5dc700a just to be sure 2026-01-22 14:26:42 +01:00
StempunkDev
95a06dfb4b refactor: improve getNextId function to fill gaps in ice element IDs(optional commit) 2026-01-22 14:25:07 +01:00
StempunkDev
f2d98e5bc7 refactor: unify ice data structure and streamline ice element handling 2026-01-22 14:25:07 +01:00
StempunkDev
a7d9fb3242 fix compact problems on autosave 2026-01-22 14:25:07 +01:00
StempunkDev
9db2f708ec fix: clear existing ice elements before redrawing in editHeightmap function 2026-01-22 14:25:07 +01:00
StempunkDev
eb78b332a6 feat: add compactPackData function to filter out undefined glaciers and icebergs 2026-01-22 14:25:07 +01:00
StempunkDev
d1250b4c00 ice drawing with only type on less occuring glaciers 2026-01-22 14:25:07 +01:00
StempunkDev
6003dbb111 fix: update editIce function to accept element parameter and improve logic for glacier handling 2026-01-22 14:25:07 +01:00
StempunkDev
3711478d59 refactor: simplify ice rendering logic by removing redundant clearing of old SVG 2026-01-22 14:25:07 +01:00
StempunkDev
d1e40b6277 refactor: streamline ice generation process and clean up rendering functions 2026-01-22 14:25:07 +01:00
StempunkDev
89d27f8e4c fix: migrate ice data to new data model structure 2026-01-22 14:25:06 +01:00
kruschen
cc4a7cab30 fix logic chech in modules/dynamic/auto-update.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-22 14:25:06 +01:00
StempunkDev
21710bc426 sparse array implementation with reduced updates 2026-01-22 14:25:06 +01:00
StempunkDev
5600c06381 fix: clear ice data before generating glaciers and icebergs 2026-01-22 14:25:06 +01:00
StempunkDev
23071611d6 refactor: remove redundant element selection in ice editing functions 2026-01-22 14:25:06 +01:00
StempunkDev
dafed163ad fix ice selection better(pls) 2026-01-22 14:25:06 +01:00
StempunkDev
959e49b255 fix ice selection(hopefully) 2026-01-22 14:25:06 +01:00
StempunkDev
f726c911b8 feat: integrate ice generation and recalculation in heightmap editing 2026-01-22 14:25:06 +01:00
StempunkDev
a2139f1aee refactor: update ice data handling and rendering for improved performance 2026-01-22 14:25:06 +01:00
StempunkDev
b1a8c042e6 feat: migrate ice data to new data model and update version to 1.110.0 2026-01-22 14:25:06 +01:00
StempunkDev
7f99323d22 prototype for ice seperation 2026-01-22 14:25:06 +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