26 Commits

Author SHA1 Message Date
Anton
ff85765728
fix: resolve react-doctor errors (hooks order, reduced motion, key prop) (#105)
- Move useCallback hooks before early return in ReferencesDialog
  to fix conditional hook call violation (Rules of Hooks)
- Add useReducedMotion hook and apply to all motion animations
  for WCAG 2.3.3 accessibility compliance
- Replace useEffect state reset with key prop on ItemCatalog
  for proper React reconciliation on category change
- Add global prefers-reduced-motion CSS media query

Fixes 4 react-doctor errors, bringing score from 81 to ~85+.
2026-02-19 19:20:05 +00:00
wass08
e8fcc840d5 surface placement 2026-02-18 16:26:17 +09:00
wass08
c0676f684e item surfaces 2026-02-18 16:06:23 +09:00
wass08
dd5f63df64 wall tool draft 2026-02-17 16:22:45 +09:00
wass08
b4375792ab fix extra rebuild 2026-02-10 14:07:56 +09:00
wass08
cba709cb81 bring back site edition + zindex fix 2026-02-09 16:11:50 +09:00
wass08
a7683924a6 fix shown items in the tree 2026-02-06 13:16:59 +09:00
wass08
39f9f595d8 scene starting with site and not with building anymore 2026-02-05 14:42:46 +09:00
wass08
3579dccf9a fix opacity 3d scans 2026-02-05 10:22:06 +09:00
wass08
549bfb3f29 handle visible/invisible items 2026-02-02 10:33:36 +09:00
wass08
f98ead4585 camera for zones and levels 2026-02-02 10:24:57 +09:00
wass08
07dee4aefc rename items 2026-01-29 15:37:51 +09:00
wass08
f1a61350c7 roof 2026-01-29 12:52:35 +09:00
wass08
c94f661bf9 scans and ref image 2026-01-29 09:38:24 +09:00
wass08
e27028a29a working ceiling items 2026-01-28 06:55:56 +09:00
wass08
e3e3602d91 ceiling 2026-01-27 09:25:40 +09:00
wass08
0e3130bd60 slab rendering + select 2026-01-27 07:37:06 +09:00
wass08
d651cca79a hover seletion 2026-01-26 09:02:10 +09:00
wass08
1861173428 nice state switch 2026-01-26 08:24:10 +09:00
wass08
b86537066f revamp sidebar 2026-01-26 08:03:14 +09:00
wass08
1f23792f9c camera view 2026-01-22 08:14:42 +09:00
wass08
36d45fe695 fix ui issue 2026-01-22 07:24:38 +09:00
wass08
48f7d7ffa4 syncing sidebar 2026-01-21 11:57:31 +09:00
wass08
a338bea4e7 rewrite selection system 2026-01-21 08:00:31 +09:00
wass08
dabaefc57a different level edition + fix 2026-01-20 08:26:47 +09:00
wass08
a35b982b4f sidebar + starting controls 2026-01-19 10:56:23 +09:00