# Frontend TODOs and Missing APIs

## Missing APIs

### Dashboard Statistics
- **Endpoint**: `GET /api/stats/dashboard`
- **Description**: Returns summary statistics for the dashboard (e.g., total users, api calls).
- **Reason**: The dashboard needs high-level metrics to display to the user immediately upon login. Currently using mock data in `ui/page/dashboard/index.html`.

## Future Improvements

### UI
- Add proper form validation for all inputs.
- Implement pagination for lists (Users, OAuth Clients).
- Add search and filter functionality for lists.
- Improve error handling and user feedback messages.
- Add loading states for all async operations.

### Features
- Implement User creation modal (currently placeholder).
- Implement User editing (currently placeholder).
- Implement detailed OAuth client management (scopes, secrets).
