Danielv123
17480aafff
fix(minimap): clarify dual filter API pattern in data source
...
Dual filter API methods (setInstanceSurfaceFilters and setInstanceSurfaceFilter) both exist for backward compatibility with different plugin implementations. Added comment explaining why both are checked in fallback pattern.
2026-02-21 17:16:06 +01:00
Danielv123
387a9425ce
refactor(minimap): deduplicate tile parsing and parallelize file cleanup
2026-02-21 17:11:33 +01:00
Danielv123
550ea22724
fix(minimap): improve error handling and performance in tile parsing
...
- Add warning logging in renderChunkToPixels catch block before fallback
- Switch maxTick filtering from skip/continue to early break (append-only optimization)
- Use existsSync for directory existence check in loadExistingTagContent
2026-02-21 17:02:50 +01:00
Danielv123
9375c462af
fix(minimap): use existing player_position channel for join start event
...
Replace unsupported minimap:player_session_start IPC with existing minimap:player_position channel to emit immediate session start on join.
2026-02-21 16:49:03 +01:00
Danielv123
e28b4121e3
fix(minimap): use physical position and emit session start on join
...
- Use player.physical_surface/physical_position for accurate tracking when in vehicles/remotes
- Emit session start record immediately on on_player_joined_game
- Make storage.minimap initialization consistent (init() ensures all fields exist)
2026-02-21 16:46:32 +01:00
Danielv123
a1e8d009ff
fix(minimap): restore chart tag interval semantics after task 3
...
Task 3 inadvertently changed chart tag data schema from start_tick/end_tick
interval model to single tick field. This restores the original interval
semantics for chart tags while preserving legitimate Task 3 fixes.
Reverted:
- create_chart_tag_data(tick) -> create_tag_data(start_tick, end_tick)
- Single-emission in on_chart_tag_modified -> dual-emission (end old, start new)
- All chart tag event handlers use interval model again
Preserved from Task 3:
- prev.name.name fix (both locations)
- Hot-loop local aliases (math_floor, bit32_rshift, table_insert)
- IIFE removal for recipe icon lookup
- Recipe data single tick field (within Task 3 scope)
2026-02-21 16:43:31 +01:00
Danielv123
7c6dd1ff66
fix(minimap): fix prev.name bug and lua code quality improvements
...
- Fix prev.name.name bug: previous_recipe.name is RecipeID, not nested
- Add hot-loop local references (math_floor, bit32_rshift, table_insert)
- Remove IIFE pattern for icon lookup, use inline logic
- Rename create_tag_data to create_chart_tag_data for consistency
- Use recipe nilness + single tick field instead of start_tick/end_tick split
2026-02-21 16:40:31 +01:00
Danielv123
bb74b615a7
refactor(minimap): tighten typed parse helper returns for player records
2026-02-21 16:34:40 +01:00
Danielv123
c3136532b8
refactor(minimap): use discriminated union for PlayerPositionRecord and extract readSignedInt24
2026-02-21 16:31:20 +01:00
Danielv123
245ceb14fa
security(minimap): fix path traversal in controller file loading
2026-02-21 16:25:11 +01:00
Danielv123
5ff7d7ee42
minimap: fix debounced zoom cleanup
2026-02-09 19:19:48 +01:00
Danielv123
35575a93a3
minimap: remove redundant instance RCON init
2026-02-09 19:13:24 +01:00
Danielv123
57b50048bc
minimap: address small review feedback
2026-02-09 18:54:55 +01:00
Danielv123
923316b44d
Order player session records by receive time
2026-02-05 22:45:20 +01:00
Danielv123
81fcea8398
Revert keyToLabels label parsing
2026-02-05 22:38:17 +01:00
Danielv123
3f8ef85987
Harden minimap tile storage paths
2026-02-05 22:38:13 +01:00
Danielv123
78fc90d7a0
Align minimap plugin package metadata
2026-02-05 22:37:56 +01:00
Danielv123
ebbc14ba71
Use type-only import for InputPartialVersion props
2026-02-05 22:37:56 +01:00
Danielv123
3be1d637c8
Validate tile paths
2026-02-05 21:55:05 +01:00
Danielv123
3d9c682d7c
Fix surfaces with underscore in the name
2026-02-03 21:51:53 +01:00
Danielv123
b0fd90d273
Extend minimap components to allow external use
2026-01-29 23:18:26 +01:00
Danielv123
73ab8fc4f3
Player session end tracking
2026-01-29 21:51:19 +01:00
Danielv123
2eedddf17f
Don't break version selector
2026-01-28 09:06:52 +01:00
Danielv123
9061d2aa92
Stable label creation, forgot imports of messages
2026-01-28 00:15:41 +01:00
Danielv123
3932ac2cae
Merge branch 'plugin-minimap' of https://github.com/clusterio/clusterio into plugin-minimap
2026-01-28 00:08:10 +01:00
Danielv123
107201e6e5
Add antd icons to minimap
2026-01-28 00:07:42 +01:00
Danielv123
a7ab63ba3c
Add antd icons to minimap
2026-01-28 00:02:50 +01:00
Danielv123
ec0c068d44
Add button to delete minimap data
2026-01-27 23:49:25 +01:00
Danielv123
264a32431e
Fix react errors in factorio version selector
2026-01-27 23:12:15 +01:00
Danielv123
01f6397983
Fix circular imort breaking web UI
2026-01-27 20:37:01 +01:00
Danielv123
979d961618
Merge remote-tracking branch 'origin/master' into plugin-minimap
2026-01-27 17:45:23 +01:00
Daniel
6489fa4048
Merge pull request #823 from Cooldude2606/fix/update-plugin-ts-config
...
Updates package jsons and tsconfigs to have catalogs and correct peer deps
2026-01-25 20:10:14 +01:00
Daniel
22850b7cd0
Merge pull request #815 from Cooldude2606/feature/database-lock
...
Add extra startup warnings to CLI: User count and Lock file
2026-01-25 20:08:36 +01:00
Daniel
f65c8fb9a0
Merge pull request #816 from Cooldude2606/fix/download-headless
...
Fix headless download
2026-01-25 20:08:18 +01:00
Daniel
3232da71e2
Merge pull request #817 from Cooldude2606/fix/disable-achivement
...
Fix achievements not being disabled when save patching disabled
2026-01-25 20:08:05 +01:00
Daniel
c9fc4f1c8f
Merge pull request #821 from Cooldude2606/feature/version-selector
...
Add drop down version selector based on Wube version archive
2026-01-25 20:07:38 +01:00
Cooldude2606
0c56c56f74
Fixed duplicate pnpm version spec
2026-01-25 00:26:53 +00:00
Cooldude2606
2928b9b7c5
Bump node and pnpm version
2026-01-25 00:23:09 +00:00
Cooldude2606
1fc6971278
Switch to catalogs
2026-01-25 00:02:20 +00:00
Cooldude2606
2679851d66
Update plugin template
2026-01-24 22:54:59 +00:00
Cooldude2606
ab86cd2b1c
Update package json and tsconfig
2026-01-24 22:47:40 +00:00
Cooldude2606
02fce63e11
Fix git ignore
2026-01-24 21:03:57 +00:00
Cooldude2606
8981a018b0
Fix lint issue
2026-01-24 18:33:28 +00:00
Cooldude2606
bbf5df6d01
Add remaining tests
2026-01-24 17:58:36 +00:00
Cooldude2606
6f68cf74a7
Add network events and switch to tree select
2026-01-24 16:27:28 +00:00
Cooldude2606
07f501a67a
Add ValueCache and fetchFactorioVersions
2026-01-23 01:50:20 +00:00
Daniel
4caf06aafc
Merge pull request #819 from Cooldude2606/feature/login-screen-name
...
Display cluster name on login screen
2026-01-22 15:45:00 +01:00
Cooldude2606
4901d76ebe
Refactor version inputs
2026-01-22 00:37:34 +00:00
Cooldude2606
6b0dd4e9cf
Add tests for new api route
2026-01-21 23:47:47 +00:00
Cooldude2606
a2c38ad4e8
Add cluster name to login form
2026-01-21 23:42:53 +00:00