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
Copy file name to clipboardExpand all lines: docs/development/frontend/architecture.mdx
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -272,6 +272,12 @@ The application uses an **event bus** for cross-component communication without
272
272
273
273
For complete details on the event bus system, including usage patterns, naming conventions, and implementation examples, see the [Event Bus Documentation](/development/frontend/event-bus).
274
274
275
+
### Persistent State Management
276
+
277
+
The application includes a **storage system** built into the event bus for managing persistent state across route changes and browser sessions. This system provides type-safe localStorage access with automatic event emission for reactive updates.
278
+
279
+
For complete details on the storage system, including usage patterns, naming conventions, and best practices, see the [Frontend Storage System](/development/frontend/storage).
280
+
275
281
## Component Implementation Standards
276
282
277
283
### Vue Component Structure
@@ -455,7 +461,7 @@ For table implementations, use the shadcn-vue Table components as documented in
455
461
### Frontend Security Principles
456
462
457
463
1.**Never Trust Client**: All validation must happen on backend
458
-
2.**Secure Storage**: Never store sensitive data in localStorage
464
+
2.**Secure Storage**: Never store sensitive data (passwords, API keys, tokens) in localStorage. See [Frontend Storage System](/development/frontend/storage) for proper storage patterns
459
465
3.**XSS Prevention**: Sanitize user input, use Vue's built-in protections
460
466
4.**CSRF Protection**: Include tokens in API requests
0 commit comments