callumalpass_tasknotes/docs/views.md
Callum Alpass ac57dd738a feat: add OpenAPI specification and Pomodoro API endpoints
## OpenAPI Specification
- Add decorator-based OpenAPI system with @OpenAPIController and @OpenAPI decorators
- Generate machine-readable OpenAPI 3.0 spec at /api/docs
- Serve interactive Swagger UI documentation at /api/docs/ui
- Complete schema definitions for all API types and responses
- Enable TypeScript experimental decorators support

## Pomodoro API Endpoints
- POST /api/pomodoro/start - Start new pomodoro session with optional task
- POST /api/pomodoro/stop - Stop current session
- POST /api/pomodoro/pause - Pause running session
- POST /api/pomodoro/resume - Resume paused session
- GET /api/pomodoro/status - Get current session status and statistics
- GET /api/pomodoro/sessions - Get session history with filtering
- GET /api/pomodoro/stats - Get daily/date-specific statistics

## Documentation Updates
- Add comprehensive HTTP API documentation with pomodoro examples
- Include JavaScript PomodoroController integration example
- Update feature documentation with view types and settings
- Improve navigation structure across documentation files

## Dependencies
- Add reflect-metadata for decorator metadata support
- Remove unused express dependency
- Update TypeScript configuration for decorator support

All endpoints include proper error handling, OpenAPI documentation, and support for recurring task integration.
2025-08-13 22:12:14 +10:00

1.4 KiB

Views

TaskNotes offers a variety of views, each providing a different perspective on your tasks and notes.

← Back to Documentation

Task-Focused Views

These views are for managing your tasks and tracking your progress.

  • Task List View: A list-based view of all your tasks, with filtering, sorting, and grouping capabilities.
  • Agenda View: A chronological view of your upcoming tasks and notes, for daily and weekly planning.
  • Kanban View: A card-based view of your tasks, organized by status.
  • Calendar Views: A set of calendar-based views for visualizing your tasks and scheduling your work.

FilterBar Integration

The Task List, Agenda, Kanban, and Advanced Calendar views include a FilterBar that provides hierarchical query building, saved views, and real-time filtering capabilities. See the Task List View documentation for complete FilterBar functionality details.

Note-Focused Views

This view is for browsing and reviewing your notes.

Productivity-Focused Views

These views are for focus and productivity.