Commit graph

22 commits

Author SHA1 Message Date
Azgaar
274e992799 chore: bump version to 1.113.3 and update versioning process 2026-03-07 16:37:31 +01:00
Azgaar
bbd3a907c2 chore: bump version to 1.113.10 2026-03-07 16:10:43 +01:00
Azgaar
a8d27c19bb chore: bump version to 1.113.9 2026-03-07 16:10:17 +01:00
Azgaar
0889fd7dff chore: bump version to 1.113.8 2026-03-07 16:07:27 +01:00
Azgaar
a7ad7055e0 chore: bump version to 1.113.7 2026-03-07 16:07:00 +01:00
Azgaar
d92aab82ff chore: bump version to 1.113.6 2026-03-07 16:06:47 +01:00
Azgaar
87a9d7cc0a chore: bump version to 1.113.5 2026-03-07 16:06:25 +01:00
Azgaar
a66b60b5a7 style: make machine save option more visible 2026-03-07 15:32:44 +01:00
Johan Aantjes
badaf71504
Update Dockerfile to include TypeScript config (#1339)
* Update Dockerfile to include TypeScript config

Added TypeScript configuration and updated Vite config file.

* Update version
2026-03-02 21:38:00 +01:00
Azgaar
f57b9abb8e Update version to 1.113.2 and enhance label editor functionality with offset controls 2026-02-28 23:57:58 +01:00
Copilot
4149374d31
Improve Merge States dialog: hover highlight + color boxes + clearer instructions (#1336)
* Initial plan

* Improve Merge States dialog: add hover highlight and clearer instructions

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

* Address review feedback: remove duplicate header, set width 600px, add reverse map-hover highlight

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

* Fix reverse highlight clearing; add state color fill-box to merge dialog rows

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

* Fix highlightEditorLine to clear all .hovered elements, not just .states.hovered

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

* Bump version to 1.113.1

Co-authored-by: Azgaar <26469650+Azgaar@users.noreply.github.com>

* Update file hashes for index.css and general.js to 1.113.1

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>
2026-02-26 19:35:09 +01:00
Azgaar
a276b61b2d #1334 2026-02-26 17:49:32 +01:00
Joe McMahon
0ff0311a98
Adding zone export to GeoJSON, added versioning and hash updates (#1312)
Some checks failed
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>
2026-02-19 22:29:06 +01:00
Copilot
b87225665e
Fix: Military regiment notes not updated on regeneration with new era/year (#1329)
* 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>
2026-02-19 18:06:47 +01:00
Copilot
13ec798ffb
Fix zones not recovering after heightmap edit in Risk mode (#1327)
Some checks are pending
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>
2026-02-18 23:33:18 +01:00
Marc Emmanuel
b73557d624
fix: include ice generation in resampling process (#1302)
* feat: include ice generation in resampling process

* chore: update version to 1.112.1 in versioning.js and resample.js script reference
2026-02-03 16:46:19 +01:00
Marc Emmanuel
e8b0b19ff0
feat: show total land percentage in biomes editor footer (#1301)
Some checks are pending
Deploy static content to Pages / deploy (push) Waiting to run
Code quality / quality (push) Waiting to run
* feat: show total land percentage in biomes editor footer

* feat: update version to 1.112.0 in versioning.js and biomes-editor.js
2026-02-01 22:18:05 +01:00
kruschen
4b341a6590
Data model ice (#1279)
Some checks are pending
Deploy static content to Pages / deploy (push) Waiting to run
* prototype for ice seperation

* feat: migrate ice data to new data model and update version to 1.110.0

* refactor: update ice data handling and rendering for improved performance

* feat: integrate ice generation and recalculation in heightmap editing

* fix ice selection(hopefully)

* fix ice selection better(pls)

* refactor: remove redundant element selection in ice editing functions

* fix: clear ice data before generating glaciers and icebergs

* sparse array implementation with reduced updates

* fix logic chech in modules/dynamic/auto-update.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: migrate ice data to new data model structure

* refactor: streamline ice generation process and clean up rendering functions

* refactor: simplify ice rendering logic by removing redundant clearing of old SVG

* fix: update editIce function to accept element parameter and improve logic for glacier handling

* ice drawing with only type on less occuring glaciers

* feat: add compactPackData function to filter out undefined glaciers and icebergs

* fix: clear existing ice elements before redrawing in editHeightmap function

* fix compact problems on autosave

* refactor: unify ice data structure and streamline ice element handling

* refactor: improve getNextId function to fill gaps in ice element IDs(optional commit)

* just to be sure

* bump version in html

* fix index.html script import

* feat: add ice module script to index.html

* fix migration check

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-22 22:24:34 +01:00
Azgaar
b228a8f610
Revert "Ice Layer Data Model (#1262)" (#1275)
This reverts commit e597d905eb.
2026-01-22 17:51:20 +01:00
kruschen
e597d905eb
Ice Layer Data Model (#1262)
* prototype for ice seperation

* feat: migrate ice data to new data model and update version to 1.110.0

* refactor: update ice data handling and rendering for improved performance

* feat: integrate ice generation and recalculation in heightmap editing

* fix ice selection(hopefully)

* fix ice selection better(pls)

* refactor: remove redundant element selection in ice editing functions

* fix: clear ice data before generating glaciers and icebergs

* sparse array implementation with reduced updates

* fix logic chech in modules/dynamic/auto-update.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: migrate ice data to new data model structure

* refactor: streamline ice generation process and clean up rendering functions

* refactor: simplify ice rendering logic by removing redundant clearing of old SVG

* fix: update editIce function to accept element parameter and improve logic for glacier handling

* ice drawing with only type on less occuring glaciers

* feat: add compactPackData function to filter out undefined glaciers and icebergs

* fix: clear existing ice elements before redrawing in editHeightmap function

* fix compact problems on autosave

* refactor: unify ice data structure and streamline ice element handling

* refactor: improve getNextId function to fill gaps in ice element IDs(optional commit)

* just to be sure

* bump version in html

* fix index.html script import

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-22 17:33:30 +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
Renamed from versioning.js (Browse further)