Imported from Linear: TYS-169
Review the dashboard API and optimize ORM usage to reduce query count, over-fetching, and response latency.
Goals:
- Identify expensive dashboard queries and repeated work in aggregations.
- Use ORM optimizations such as select_related, prefetched data, annotations, or caching where appropriate.
- Preserve the dashboard response contract while improving performance.
Imported from Linear: TYS-169
Review the dashboard API and optimize ORM usage to reduce query count, over-fetching, and response latency.
Goals: