Problem
GET /document (getDocs) returns every owned+collaborated document including the full content field, uncapped. The dashboard renders all of them with client-side sorting only — no search, no pagination/virtualization. This degrades quickly as document count and size grow.
Fix
- Drop
content from the list payload (only needed in the editor).
- Add a search query param (title match) and limit/offset or cursor pagination.
- Add matching search input to the dashboard.
Problem
GET /document(getDocs) returns every owned+collaborated document including the fullcontentfield, uncapped. The dashboard renders all of them with client-side sorting only — no search, no pagination/virtualization. This degrades quickly as document count and size grow.Fix
contentfrom the list payload (only needed in the editor).