35 lines
561 B
Markdown
35 lines
561 B
Markdown
# Dashboard Module
|
|
|
|
`dashboard/` is the operations UI for the inbox host.
|
|
|
|
## Owns
|
|
|
|
- Page routing and layout
|
|
- API client for `/api/*`
|
|
- Presentation components and hooks
|
|
- Dashboard-specific Playwright and Vitest suites
|
|
|
|
## Dependency Rule
|
|
|
|
The dashboard may call inbox HTTP APIs, but it must not import code from `inbox/`.
|
|
|
|
## Local Commands
|
|
|
|
```bash
|
|
npm ci
|
|
npm run dev
|
|
npm run build
|
|
npm test
|
|
npm run test:e2e
|
|
```
|
|
|
|
From the repository root:
|
|
|
|
```bash
|
|
make deps-dashboard
|
|
make dev-dashboard
|
|
make build-dashboard
|
|
make test-dashboard
|
|
make test-dashboard-e2e
|
|
```
|