You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(ui): don't return full documents on bulk UI operations (#14145)
## What
Modified bulk operation UI components (PublishMany, UnpublishMany,
RestoreMany, DeleteMany, EditMany) to send an empty `select` object in
their API requests, which returns only document IDs instead of full
documents.
## Why
Bulk operations were returning complete document data including all
relationships, causing:
- Large response payloads (MBs of data for 100+ documents)
- Slow response times due to relationship population
- High memory usage
The UI only needs document counts for success/error messages, not the
full data.
## How
Added `select: {}` parameter to query strings in all bulk operation
components. When the API receives an empty select object, it returns
only the `id` field.
---------
Co-authored-by: German Jablonski <43938777+GermanJablo@users.noreply.github.com>
0 commit comments