Commit graph

1768 commits

Author SHA1 Message Date
Azgaar
610d6aee78 feat: update architecture document with detailed project context and functional requirements for WebGL layer framework 2026-03-12 04:15:16 +01:00
Azgaar
21d76c4881 feat: add architecture and product requirements documents for WebGL layer framework 2026-03-12 03:50:25 +01:00
Azgaar
dc212eed8a brainstorm 2026-03-12 03:04:03 +01:00
Azgaar
3047aefd40 bmad-init 2026-03-12 01:05:55 +01:00
Azgaar
b6484a783f fix: clean up .gitignore by removing unnecessary entries 2026-03-11 23:17:10 +01:00
Azgaar
94da8fa0bd fix: no foright object 2026-03-11 23:14:56 +01:00
Azgaar
fae0bd1085 fix: improve comments for clarity and update type imports for consistency 2026-03-11 01:17:36 +01:00
Azgaar
3c7b6fffef
Merge branch 'master' into relief-webgl-renderer 2026-03-11 01:03:23 +01:00
Azgaar
ffe350bca8 fix: update type definitions and improve renderer initialization in draw-relief-icons 2026-03-11 00:51:56 +01:00
Azgaar
828534ebd9 fix: clean up drawWebGl and drawSvg functions for improved readability 2026-03-11 00:21:48 +01:00
Azgaar
ab7baf83fd feat: update relief rendering logic and version to 1.114.0 2026-03-11 00:11:15 +01:00
Azgaar
dc06f3d65c fix: streamline texture loading and preload logic in WebGL renderer 2026-03-10 22:55:08 +01:00
Azgaar
4515232e93 fix: update relief icon hover transition and click selection logic 2026-03-10 22:44:07 +01:00
Azgaar
bf22c5eaf6 Refactor relief rendering and generation logic
- 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.
2026-03-10 03:05:07 +01:00
Azgaar
3f9a7702d4 docs: update contribution guidelines and clarify project architecture 2026-03-10 00:59:41 +01:00
Azgaar
6ea53eb6f9 chore: bump version to 1.113.6 and update resample.js reference 2026-03-10 00:00:01 +01:00
Azgaar
cbed9af783 fix: update .gitignore to include additional directories and files 2026-03-09 23:11:32 +01:00
Azgaar
1116cc5e0f refactor: replace deepCopy with structuredClone 2026-03-09 23:05:27 +01:00
Azgaar
8d092e235e fix: set color space to SRGB for loaded textures 2026-03-09 04:49:43 +01:00
Azgaar
62e27a7168 fix: replace preloadTextures with loadTexture in SVG edit mode 2026-03-09 02:54:32 +01:00
Azgaar
7481a2843e feat: relief three.js renderer 2026-03-09 02:47:13 +01:00
Azgaar
7a49098425 fix: update issue templates for consistency and clarity 2026-03-07 18:32:40 +01:00
github-actions[bot]
c7978d9d64 chore: bump version to 1.113.5 2026-03-07 17:29:58 +00:00
Azgaar
9a8744170e
test: add a test change comment in options.js (#1350) 2026-03-07 18:29:46 +01:00
Azgaar
ccd0b451ea fix: update permissions to include models read access 2026-03-07 18:28:31 +01:00
github-actions[bot]
48a3513ef2 chore: bump version to 1.113.4 2026-03-07 17:23:52 +00:00
Azgaar
afe89eff43
Fix: add getPin function and improve code formatting in draw-markers (#1349)
* feat: add getPin function and improve code formatting in draw-markers

* style: improve code formatting in draw-markers.ts for better readability
2026-03-07 18:23:42 +01:00
Azgaar
6e26f49423 fix: improve token handling in version bump workflow 2026-03-07 18:18:07 +01:00
Azgaar
d7555ff1b2
Auto versioning (#1344)
* feat: implement version bumping script and pre-push hook

* chore: bump version to 1.113.5

* chore: bump version to 1.113.6

* chore: bump version to 1.113.7

* chore: bump version to 1.113.8

* chore: bump version to 1.113.9

* chore: bump version to 1.113.10

* chore: bump version to 1.113.3 and update versioning process

* chore: enhance version bump process with base version check

* Update .github/workflows/bump-version.yml

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

* Update .github/workflows/bump-version.yml

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

* fix: sync package-lock.json version fields during automated version bump (#1345)

* Initial plan

* fix: update package-lock.json version fields during version bump

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>

* Fix branch name in versioning.js comment: 'main' → 'master' (#1346)

* Initial plan

* fix: update branch name in versioning.js comment from 'main' to 'master'

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>

* Extend bump-version.js to update ?v= cache-busting hashes in public/**/*.js dynamic imports (#1347)

* Initial plan

* feat: extend bump-version.js to update ?v= hashes in public/**/*.js dynamic imports

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

* chore: merge base branch changes (package-lock.json sync, RELEASE_BOT_TOKEN, node 24.x, comment fix)

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

* Update scripts/bump-version.js

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

* Update scripts/bump-version.js

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>
Co-authored-by: Azgaar <maxganiev@yandex.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* refactor: streamline dynamic import hash updates for public JS files

* refactor: enhance version bump detection using AI analysis of PR diffs

* Auto versioning (#1348)

* Initial plan

* fix: add ref to checkout step and stage public/**/*.js in bump workflow

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 <175728472+Copilot@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-03-07 18:15:18 +01:00
Azgaar
a66b60b5a7 style: make machine save option more visible 2026-03-07 15:32:44 +01:00
Marc Emmanuel
634c7dba4b
fix: enhance emblem rendering for states and burgs in the editor (#1343)
* 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>
2026-03-05 11:57:53 +01:00
Marc Emmanuel
32227518d2
refactor: migrate military generator (#1330)
* refactor: migrate military gnerator

* fix: build + lint

* Update src/modules/military-generator.ts

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

* Update src/modules/military-generator.ts

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

* Update src/modules/military-generator.ts

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

* fix: clean up regiment notes and improve emblem retrieval logic

* Update src/modules/military-generator.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 12:53:07 +01:00
dependabot[bot]
43e35cdecb
chore(deps-dev): bump rollup from 4.55.1 to 4.59.0 (#1338)
Bumps [rollup](https://github.com/rollup/rollup) from 4.55.1 to 4.59.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.55.1...v4.59.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-version: 4.59.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 21:38:31 +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
439caced87 Fix: Ensure heightmap elements are properly removed before re-insertion in editHeightmap function 2026-02-26 17:51:51 +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
da9e915cdc
refactor: migrate markers (#1324)
* refactor: migrate markers

* Update src/modules/markers-generator.ts

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

* Update src/modules/markers-generator.ts

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

* Update src/modules/markers-generator.ts

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

* Update src/modules/markers-generator.ts

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

* Update src/modules/markers-generator.ts

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

* Fix marker names by removing unnecessary suffixes for Lighthouse and Waterfall

* refactor: marker methods to use underscore for unused parameters

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Azgaar <maxganiev@yandex.com>
2026-02-18 21:10:27 +01:00
Marc Emmanuel
bce65ce2b3
refactor: fonts (#1323)
Some checks failed
Deploy static content to Pages / deploy (push) Has been cancelled
Code quality / quality (push) Has been cancelled
* refactor: add font management module and update global types

* fix: declare global declareFont

* test: all map loading test
2026-02-17 14:07:43 +01:00
Azgaar
cff57dc4c8
Revert "refactor: add font management module and update global types (#1317)" (#1322)
Some checks failed
Deploy static content to Pages / deploy (push) Has been cancelled
Code quality / quality (push) Has been cancelled
This reverts commit 9fb1b9c410.
2026-02-16 05:48:53 +01:00
Marc Emmanuel
9fb1b9c410
refactor: add font management module and update global types (#1317) 2026-02-16 00:15:37 +01:00
Marc Emmanuel
4936a887ab
refactor: migrate COA (#1309)
Some checks are pending
Deploy static content to Pages / deploy (push) Waiting to run
Code quality / quality (push) Waiting to run
* refactor: migrate COA

* fix: PR feedback
2026-02-15 16:11:59 +01:00
Marc Emmanuel
1100c7c53b
Refactor: migrate ice (#1308)
Some checks failed
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
2026-02-09 00:49:13 +01:00
Marc Emmanuel
be82ddb0a4
upgrade editors version (#1307) 2026-02-08 21:05:06 +01:00
Marc Emmanuel
f48178a93c
fix: clean up neighbors references on state removal (#1304)
Some checks failed
Deploy static content to Pages / deploy (push) Has been cancelled
Code quality / quality (push) Has been cancelled
* fix: clean up neighbors references on state removal

* test: add end-to-end tests for state removal and military regeneration
2026-02-05 12:40:09 +01:00
Marc Emmanuel
8ba29b2561
refactor: migrate zones (#1300)
Some checks failed
Deploy static content to Pages / deploy (push) Has been cancelled
Code quality / quality (push) Has been cancelled
* refactor: migrate zones

* refactor: remove duplicate markers property from PackedGraph interface
2026-02-03 17:22:25 +01:00