Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The renderer is layered. **Runtime imports flow in one direction only** — a mo
- `stores/` holds client state (Zustand): persisted `accounts` and `settings`, session `filters` and notification action failures.
- `stores/index.ts` is the public store facade for `hooks`, `components`, and `routes`. Lower layers (`utils`) import the specific store module instead (for example `stores/useFiltersStore`): the barrel re-exports every store and its dependencies, which would pull the account/auth/forge graph into leaf utilities and create cycles.
- `utils` and `stores` are **peers** — they may reference each other. Neither may import `hooks`, `components`, or `routes`.
- `components/` is grouped by feature (`notifications`, `filters`, `settings`, `login`, `fields`, `avatars`, `layout`, `metrics`, `primitives`).
- `components/` is grouped by feature (`notifications`, `filters`, `settings`, `login`, `avatars`, `layout`, `metrics`, `primitives`).
- The composition root (`App.tsx`, `index.tsx`) is the only place allowed to wire every layer together.

## State ownership
Expand Down
47 changes: 0 additions & 47 deletions src/renderer/components/fields/Checkbox.test.tsx

This file was deleted.

56 changes: 0 additions & 56 deletions src/renderer/components/fields/Checkbox.tsx

This file was deleted.

30 changes: 0 additions & 30 deletions src/renderer/components/fields/FieldLabel.test.tsx

This file was deleted.

26 changes: 0 additions & 26 deletions src/renderer/components/fields/FieldLabel.tsx

This file was deleted.

48 changes: 0 additions & 48 deletions src/renderer/components/fields/Tooltip.test.tsx

This file was deleted.

Loading
Loading