You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- React Context is reserved for infrastructure concerns such as i18n
122
+
- Navigation state persists the current room while the active section is derived from the URL
115
123
116
124
See [docs/technical/REACT_ZUSTAND.md](docs/technical/REACT_ZUSTAND.md) for the state-management contract.
117
125
@@ -122,10 +130,13 @@ See [docs/technical/REACT_ZUSTAND.md](docs/technical/REACT_ZUSTAND.md) for the s
122
130
|[`src/app/App.tsx`](/Users/vishal/Development/Github/Navet/Navet/src/app/App.tsx)| Root app shell, HA connection bootstrap, PWA/update shell, global DOM sync |
123
131
|[`src/app/stores/selectors.ts`](/Users/vishal/Development/Github/Navet/Navet/src/app/stores/selectors.ts)| Shared selectors for minimal store subscriptions |
|[`src/app/hooks/use-ha-devices.ts`](/Users/vishal/Development/Github/Navet/Navet/src/app/hooks/use-ha-devices.ts)| HA entity to device type mapping |
139
+
|[`src/app/hooks/use-area-rooms.ts`](/Users/vishal/Development/Github/Navet/Navet/src/app/hooks/use-area-rooms.ts)| Area-name room source derived from the HA registry |
Copy file name to clipboardExpand all lines: docs/README.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ This directory is the index for active Navet documentation.
8
8
-[technical/REACT_ZUSTAND.md](technical/REACT_ZUSTAND.md): state-management rules and store/service contracts
9
9
-[../design-system/README.md](../design-system/README.md): design-system scope, shared UI layers, and Storybook workflow
10
10
-[../src/test/](/Users/vishal/Development/Github/Navet/Navet/src/test): shared unit-test helpers, browser mocks, and HA service stubs
11
-
-[../design-system/FEATURES.md](../design-system/FEATURES.md): feature map with test coverage locations
11
+
-[../design-system/FEATURES.md](../design-system/FEATURES.md): feature map with section routing, layout ownership, and test coverage locations
12
12
13
13
## Documentation Map
14
14
@@ -24,7 +24,7 @@ This directory is the index for active Navet documentation.
24
24
25
25
-[technical/REACT_ZUSTAND.md](technical/REACT_ZUSTAND.md): Zustand-only shared state guidance
26
26
-[../src/test/](/Users/vishal/Development/Github/Navet/Navet/src/test): shared test harness for Vitest-based unit coverage
27
-
-[../design-system/FEATURES.md](../design-system/FEATURES.md): implementation map of current product areas and test locations
27
+
-[../design-system/FEATURES.md](../design-system/FEATURES.md): implementation map of current product areas, top-level sections, and test locations
28
28
-[../design-system/UI-GUIDELINES.md](../design-system/UI-GUIDELINES.md): visual rules, component patterns, and performance-sensitive UI guidance
29
29
-[../design-system/STORYBOOK_FOUNDATION.md](../design-system/STORYBOOK_FOUNDATION.md): Storybook structure and workshop rules
30
30
@@ -80,7 +80,8 @@ This directory is the index for active Navet documentation.
80
80
- Prefer updating active docs over adding duplicate one-off notes
81
81
- Treat `docs/archive/` as historical material, not the current source of truth
82
82
- When Storybook ownership, card sizing, or feature boundaries change, update the design-system docs
83
-
- When shared test harnesses, store-reset behavior, or service stubs change, update the testing references in the active docs
83
+
- When shared test harnesses, store-reset behavior, service stubs, or active `__tests__/` directories change, update the testing references in the active docs
84
+
- When top-level sections, room sourcing, or dashboard layout modes change, update `README.md` and `design-system/FEATURES.md`
84
85
- When new primitives, patterns, or test directories are added, update FEATURES.md and README.md
0 commit comments