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
cbed9af783
fix: update .gitignore to include additional directories and files
2026-03-09 23:11:32 +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 )
...
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 )
...
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 )
...
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 )
...
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 )
...
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 )
...
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 )
...
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 )
...
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
Marc Emmanuel
86fc62da03
fix: rename feature path functions and update global declarations ( #1303 )
...
Deploy static content to Pages / deploy (push) Waiting to run
Code quality / quality (push) Waiting to run
* fix: rename feature path functions and update global declarations
* chore: lint
2026-02-03 16:59:08 +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
844fc15891
refactor: migrate religions ( #1299 )
...
Deploy static content to Pages / deploy (push) Waiting to run
Code quality / quality (push) Waiting to run
* refactor: migrate religions
* Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-02 14:53:59 +01:00
Marc Emmanuel
3ba8338508
refactor: migrate renderers to ts ( #1296 )
...
* refactor: migrate renderers to ts
* fix: copilot review
2026-02-02 11:32:08 +01:00
Marc Emmanuel
e8b0b19ff0
feat: show total land percentage in biomes editor footer ( #1301 )
...
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
Marc Emmanuel
0f19902a56
refactor: migrate provinces generator to new module structure ( #1295 )
...
* refactor: migrate provinces generator to new module structure
* fix: after merge fixes of state
* refactor: fixed a bug so had to update tests
2026-02-01 22:16:04 +01:00
Marc Emmanuel
454178fa99
refactor: migrate routes ( #1294 )
...
Deploy static content to Pages / deploy (push) Has been cancelled
Code quality / quality (push) Has been cancelled
* refactor: migrate routes
* refactor: format findPath call for improved readability
* refactor: update findPath call to include pack parameter
* refactor: optimize route deletion logic in RoutesModule
2026-01-30 18:29:44 +01:00
Marc Emmanuel
88c70b9264
refactor: migrate states generator ( #1291 )
...
* refactor: migrate states generator
* Update src/modules/states-generator.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/modules/states-generator.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-30 16:44:09 +01:00
Marc Emmanuel
363c82ee30
fix: update port type from string to number and add tests for inland burgs ( #1292 )
Deploy static content to Pages / deploy (push) Waiting to run
Code quality / quality (push) Waiting to run
2026-01-30 13:42:33 +01:00
Marc Emmanuel
e938bc7802
refactor: migrate burg module ( #1288 )
...
Deploy static content to Pages / deploy (push) Has been cancelled
Code quality / quality (push) Has been cancelled
* refactor: migrate burg module
* Update src/modules/burgs-generator.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* chore: lint
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-28 00:11:22 +01:00
Marc Emmanuel
3807903cae
refactor: migrate cultures generator ( #1287 )
...
Deploy static content to Pages / deploy (push) Waiting to run
Code quality / quality (push) Waiting to run
* refactor: migrate cultures generator
* Update src/modules/cultures-generator.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* chore:lint
* fix: wrong call structure
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-27 21:00:55 +01:00
Marc Emmanuel
260ccd76a3
refactor: migrate names-generator ( #1285 )
...
* refactor: migrate names-generator
* Update src/types/global.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/modules/index.ts
* fix: failing builds after merge
* chore: update biome version to 2.3.13 and adjust name validation regex for ASCII characters
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-27 19:29:37 +01:00