519aa35f1f
routing table
41 lines
1.4 KiB
Markdown
41 lines
1.4 KiB
Markdown
# Web Roadmap
|
|
|
|
## Product Model
|
|
|
|
MyGO Web is a client-side application built by Vite. It consumes the same `/api/v1` REST API as native clients. Production can serve `web/dist` from MyGO or a same-origin reverse proxy.
|
|
|
|
## Available Capabilities
|
|
|
|
- Email and password login
|
|
- Access and refresh tokens stored for the browser session
|
|
- One coordinated refresh retry after an authenticated request returns `401`
|
|
- Protected application shell
|
|
- Root file listing with 50 items per page
|
|
- Single-file upload to the root directory
|
|
- Authenticated file download
|
|
- Responsive Ant Design interface with Tailwind layout utilities
|
|
- Unit tests for the API client and session behavior
|
|
- Playwright smoke tests and repository-scoped browser diagnostics
|
|
|
|
## Current Structure
|
|
|
|
```text
|
|
web/src/
|
|
├── api/ # API client, session storage, and wire types
|
|
├── app/ # Router, providers, and authentication guard
|
|
├── components/ # Shared presentation components
|
|
├── features/ # Feature hooks and state
|
|
└── pages/ # Route entry points
|
|
```
|
|
|
|
## Planned Capabilities
|
|
|
|
- Directory navigation and management
|
|
- Account, settings, and administrator screens
|
|
- Shared OpenAPI contracts and generated client types
|
|
- Multi-file transfer queues and progress reporting
|
|
- Resumable large-file transfers
|
|
- Document preview
|
|
|
|
Select dependencies when designing the capability that requires them. Record significant choices in the Web decision log.
|