Films and checklist loading #35

Merged
quoije merged 1 commits from cursor/films-and-checklist-loading-4f51 into 2026 2025-12-21 16:40:55 -05:00
quoije commented 2025-12-21 16:40:26 -05:00 (Migrated from github.com)

Add a fast /api/movies/summary endpoint and refactor Films/Checklist pages to load header stats in parallel, improving perceived loading speed.

Previously, the "Dernière mise à jour", "Vu", and "Temps avant les Oscars" sections waited for the entire movie list to load, or even blocked the movie list request. By introducing a dedicated, lightweight summary API and fetching it in parallel with the main movie data, these critical header elements now appear much faster with their own loading indicators.


Open in Cursor Open in Web

Add a fast `/api/movies/summary` endpoint and refactor Films/Checklist pages to load header stats in parallel, improving perceived loading speed. Previously, the "Dernière mise à jour", "Vu", and "Temps avant les Oscars" sections waited for the entire movie list to load, or even blocked the movie list request. By introducing a dedicated, lightweight summary API and fetching it in parallel with the main movie data, these critical header elements now appear much faster with their own loading indicators. --- <a href="https://cursor.com/background-agent?bcId=bc-91c6c803-3677-474b-8f25-6d711f433dea"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-cursor-light.svg"><img alt="Open in Cursor" src="https://cursor.com/open-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?id=bc-91c6c803-3677-474b-8f25-6d711f433dea"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/open-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/open-in-web-light.svg"><img alt="Open in Web" src="https://cursor.com/open-in-web.svg"></picture></a>
cursor[bot] commented 2025-12-21 16:40:27 -05:00 (Migrated from github.com)

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

Cursor Agent can help with this pull request. Just `@cursor` in comments and I'll start working on changes in this branch. <sub>[Learn more](https://cursor.com/docs/background-agent/web-and-mobile) about Cursor Agents</sub>
Sign in to join this conversation.