simoleo89
1d580e6d24
refactor(navigator): migrate all 13 consumers off useNavigator god-hook
...
Mechanical swap to the new filter hooks landed in the previous commits:
- NavigatorDoorStateView -> useDoorState (snapshot/setSnapshot/reset)
- NavigatorView -> useNavigatorData + useNavigatorUiState +
useNavigatorActions + direct useNavigatorUiStore.getState() in handlers
(linkTracker collapsed to a dispatch table; 9 useState gone)
- NavigatorSearchView -> useNavigatorData + useNavigatorActions
(sendSearch prop drilling removed)
- NavigatorSearchResultItemView -> useDoorState (setSnapshot aliased as
setDoorData; call sites unchanged - DoorStateSnapshot is compatible)
- 9 bulk consumers (one-line import swap) -> useNavigatorData
Zero behavioural change intended. yarn typecheck + yarn test --run +
yarn lint:hooks all clean on this commit.
2026-05-27 18:58:03 +02:00
simoleo89
535fa71020
ESLint --fix: auto-fix brace-style, indent, semi, no-trailing-spaces
...
Run eslint --fix across src/ to clear ~1900 mechanical lint errors
surfaced by the @typescript-eslint v8 + react-hooks v7 + react-compiler
upgrade in the React 19 modernization PR.
Issues fixed automatically:
- brace-style (Allman): try/catch one-liners reformatted to multi-line
- indent: tab-vs-space and depth corrections
- semi: missing trailing semicolons
- no-trailing-spaces
No semantic changes. Remaining 701 errors are real-code issues
(set-state-in-effect, rules-of-hooks, no-unsafe-* type checks) that
need manual per-file review.
https://claude.ai/code/session_01GrR87LAqnAEyKG2ZbmQt5Q
2026-05-11 16:31:50 +00:00
simoleo89
a0d10caa79
feat(room-settings): add underpass walk-under-furniture checkbox
...
Add allowUnderpass toggle to room settings UI (Info tab), allowing room
owners to enable/disable walking under elevated furniture per room.
Changes:
- IRoomData: add allowUnderpass boolean field
- NavigatorRoomSettingsView: map allowUnderpass from server data, handle
changes, and send via SaveRoomSettingsComposer
- NavigatorRoomSettingsBasicTabView: add checkbox below "Disabilita blocco caselle"
Requires server-side PR: duckietm/Arcturus-Morningstar-Extended#12
Note: nitro-renderer changes (RoomSettingsData, RoomSettingsDataParser,
SaveRoomSettingsComposer) must be applied separately in node_modules.
Co-Authored-By: medievalshell <medievalshell@users.noreply.github.com >
2026-03-17 13:42:36 +01:00
duckietm
eb4ba702fd
ℹ️ Release wired : wf_slc_furni_area
2026-03-04 11:17:40 +01:00
duckietm
7c01337984
🆙 Fix Room Settings / HC now hidden when not HC and small fixes
2026-03-03 09:12:12 +01:00
DuckieTM
7feb10ab15
🆙 Init V3
2026-01-31 09:10:52 +01:00