Add editable system configuration flow
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Project Index
|
||||
|
||||
Updated: 2026-04-01
|
||||
Updated: 2026-04-02
|
||||
|
||||
## Root
|
||||
|
||||
@@ -23,20 +23,22 @@ Updated: 2026-04-01
|
||||
## Frontend
|
||||
|
||||
- `src/main.tsx`: application bootstrap
|
||||
- `src/App.tsx`: authenticated panel shell wired to backend APIs with local fallback behavior
|
||||
- `src/App.test.tsx`: login-gate, modal interaction, pause/resume, and delete-confirm tests
|
||||
- `src/App.tsx`: authenticated panel shell with API-backed dashboard/user flows and validated local fallback mutations
|
||||
- `src/SystemTab.tsx`: editable runtime/system form for host, modes, and managed services
|
||||
- `src/App.test.tsx`: login-gate, modal interaction, pause/resume, delete-confirm, and system-save UI tests
|
||||
- `src/app.css`: full panel styling
|
||||
- `src/data/mockDashboard.ts`: default panel state and frontend fallback snapshot
|
||||
- `src/lib/3proxy.ts`: formatting and status helpers
|
||||
- `src/lib/3proxy.test.ts`: paranoia-oriented tests for core domain rules
|
||||
- `src/shared/contracts.ts`: shared panel, service, user, and API data contracts
|
||||
- `src/shared/validation.ts`: shared validation for user creation, system edits, protocol mapping, and quota conversion
|
||||
- `src/test/setup.ts`: Testing Library matchers
|
||||
|
||||
## Server
|
||||
|
||||
- `server/index.ts`: backend entrypoint and runtime bootstrap
|
||||
- `server/app.ts`: Express app with panel state and runtime routes
|
||||
- `server/app.test.ts`: API tests for user management edge cases
|
||||
- `server/app.ts`: Express app with panel state, runtime routes, and writable system configuration API
|
||||
- `server/app.test.ts`: API tests for user management plus system-update safety edge cases
|
||||
- `server/lib/config.ts`: 3proxy config renderer, validation, and dashboard derivation
|
||||
- `server/lib/config.test.ts`: config-generation regression tests
|
||||
- `server/lib/runtime.ts`: managed 3proxy process controller
|
||||
|
||||
Reference in New Issue
Block a user