medusa icon indicating copy to clipboard operation
medusa copied to clipboard

feat(dashboard): Reservations and inventory item list pages

Open kasperkristensen opened this issue 1 year ago • 3 comments

WIP

TODO

  • [ ] Fix missing query params on endpoints
  • [ ] Finalize number filter for DataTable, used for querying by quantity etc. (awaiting desing)
  • [ ] Finalize string filter for DataTable, used for matching exact strings etc material === "cotton" (awaiting design)

kasperkristensen avatar Feb 29 '24 21:02 kasperkristensen

🦋 Changeset detected

Latest commit: ce0074e91ac7a9b30884b59332ba81d6ca182466

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@medusajs/client-types Patch
@medusajs/medusa Patch

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

changeset-bot[bot] avatar Feb 29 '24 21:02 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 11, 2024 8:14am
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Mar 11, 2024 8:14am
docs-ui ⬜️ Ignored (Inspect) Visit Preview Mar 11, 2024 8:14am
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Mar 11, 2024 8:14am

vercel[bot] avatar Feb 29 '24 21:02 vercel[bot]

️✅ There are no secrets present in this pull request anymore.

If these secrets were true positive and are still valid, we highly recommend you to revoke them. Once a secret has been leaked into a git repository, you should consider it compromised, even if it was deleted immediately. Find here more information about risks.


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

gitguardian[bot] avatar Feb 29 '24 21:02 gitguardian[bot]

Clicking the # order link takes you to the reservation item (which is currently not done) instead of the order:

https://github.com/medusajs/medusa/assets/59018053/d9ed63a6-0b2a-4361-be6c-32a0dbee4a72

olivermrbl avatar Mar 11 '24 07:03 olivermrbl

Should we show location in the list view too?

olivermrbl avatar Mar 11 '24 07:03 olivermrbl

@olivermrbl unfortunately we can't as the reservations don't have a relation to their location, just a location_id. This means we would have to fire of a request for each table row (20 per page) in order to display the location. You can filter by location which is the best we can do with the current data structure.

kasperkristensen avatar Mar 11 '24 08:03 kasperkristensen