-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(dashboard): Prevent overfetching data #11532
fix(dashboard): Prevent overfetching data #11532
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
6 Skipped Deployments
|
🦋 Changeset detectedLatest commit: 99b6546 The changes in this PR will be included in the next version bump. This PR includes changesets to release 65 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
/snapshot-this |
🚀 A snapshot release has been made for this PRTest the snapshots by updating your yarn add @medusajs/admin-bundler@2.6.0-snapshot-20250219141800 yarn add @medusajs/admin-sdk@2.6.0-snapshot-20250219141800 yarn add @medusajs/admin-shared@2.6.0-snapshot-20250219141800 yarn add @medusajs/admin-vite-plugin@2.6.0-snapshot-20250219141800 yarn add @medusajs/dashboard@2.6.0-snapshot-20250219141800 yarn add create-medusa-app@2.6.0-snapshot-20250219141800 yarn add @medusajs/cli@2.6.0-snapshot-20250219141800 yarn add medusa-dev-cli@2.6.0-snapshot-20250219141800 yarn add @medusajs/medusa-oas-cli@2.6.0-snapshot-20250219141800 yarn add @medusajs/core-flows@2.6.0-snapshot-20250219141800 yarn add @medusajs/framework@2.6.0-snapshot-20250219141800 yarn add @medusajs/js-sdk@2.6.0-snapshot-20250219141800 yarn add @medusajs/modules-sdk@2.6.0-snapshot-20250219141800 yarn add @medusajs/orchestration@2.6.0-snapshot-20250219141800 yarn add @medusajs/types@2.6.0-snapshot-20250219141800 yarn add @medusajs/utils@2.6.0-snapshot-20250219141800 yarn add @medusajs/workflows-sdk@2.6.0-snapshot-20250219141800 yarn add @medusajs/icons@2.6.0-snapshot-20250219141800 yarn add @medusajs/ui@4.0.6-snapshot-20250219141800 yarn add @medusajs/ui-preset@2.6.0-snapshot-20250219141800 yarn add @medusajs/medusa@2.6.0-snapshot-20250219141800 yarn add @medusajs/telemetry@2.6.0-snapshot-20250219141800 yarn add @medusajs/test-utils@2.6.0-snapshot-20250219141800 yarn add @medusajs/api-key@2.6.0-snapshot-20250219141800 yarn add @medusajs/auth@2.6.0-snapshot-20250219141800 yarn add @medusajs/cache-inmemory@2.6.0-snapshot-20250219141800 yarn add @medusajs/cache-redis@2.6.0-snapshot-20250219141800 yarn add @medusajs/cart@2.6.0-snapshot-20250219141800 yarn add @medusajs/currency@2.6.0-snapshot-20250219141800 yarn add @medusajs/customer@2.6.0-snapshot-20250219141800 yarn add @medusajs/event-bus-local@2.6.0-snapshot-20250219141800 yarn add @medusajs/event-bus-redis@2.6.0-snapshot-20250219141800 yarn add @medusajs/file@2.6.0-snapshot-20250219141800 yarn add @medusajs/fulfillment@2.6.0-snapshot-20250219141800 yarn add @medusajs/index@2.6.0-snapshot-20250219141800 yarn add @medusajs/inventory@2.6.0-snapshot-20250219141800 yarn add @medusajs/link-modules@2.6.0-snapshot-20250219141800 yarn add @medusajs/locking@2.6.0-snapshot-20250219141800 yarn add @medusajs/notification@2.6.0-snapshot-20250219141800 yarn add @medusajs/order@2.6.0-snapshot-20250219141800 yarn add @medusajs/payment@2.6.0-snapshot-20250219141800 yarn add @medusajs/pricing@2.6.0-snapshot-20250219141800 yarn add @medusajs/product@2.6.0-snapshot-20250219141800 yarn add @medusajs/promotion@2.6.0-snapshot-20250219141800 yarn add @medusajs/auth-emailpass@2.6.0-snapshot-20250219141800 yarn add @medusajs/auth-github@2.6.0-snapshot-20250219141800 yarn add @medusajs/auth-google@2.6.0-snapshot-20250219141800 yarn add @medusajs/file-local@2.6.0-snapshot-20250219141800 yarn add @medusajs/file-s3@2.6.0-snapshot-20250219141800 yarn add @medusajs/fulfillment-manual@2.6.0-snapshot-20250219141800 yarn add @medusajs/locking-postgres@2.6.0-snapshot-20250219141800 yarn add @medusajs/locking-redis@2.6.0-snapshot-20250219141800 yarn add @medusajs/notification-local@2.6.0-snapshot-20250219141800 yarn add @medusajs/notification-sendgrid@2.6.0-snapshot-20250219141800 yarn add @medusajs/payment-stripe@2.6.0-snapshot-20250219141800 yarn add @medusajs/region@2.6.0-snapshot-20250219141800 yarn add @medusajs/sales-channel@2.6.0-snapshot-20250219141800 yarn add @medusajs/stock-location@2.6.0-snapshot-20250219141800 yarn add @medusajs/store@2.6.0-snapshot-20250219141800 yarn add @medusajs/tax@2.6.0-snapshot-20250219141800 yarn add @medusajs/user@2.6.0-snapshot-20250219141800 yarn add @medusajs/workflow-engine-inmemory@2.6.0-snapshot-20250219141800 yarn add @medusajs/workflow-engine-redis@2.6.0-snapshot-20250219141800
|
What - Remove `fields` from query to export products Why - The product export route uses the `fields` in the export request if specified. The `fields` didn't used to be part of the request, but in #11532 we accidentally started using a narrow set of fields as a result of shaving down on the requested data elsewhere in the dashboard.
What

Currently, the dashboard is fetching way more data than needed to display the products. This can lead to issues for complex catalog. this pr aim to reduce the data to be fetched to exactly what is needed.