Patrick
d06ab92994
fix(medusa-react): export product-categories store hooks ( #3689 )
2023-04-03 17:32:02 +02:00
Riqwan Thamir
9ba09ba4d7
feat(medusa, medusa-js, medusa-react): Add store queries to react medusa ( #3436 )
...
What:
- Adds queries to medusa react for core
- Fix naming issues in types
RESOLVES CORE-1131
2023-03-10 10:14:48 +00:00
Kasper Fabricius Kristensen
6293fccc65
hotfix(medusa-react): Invalidate query keys on successful mutations ( #3099 )
...
**What**
- Fixes an issue where query keys weren't invalidated on successful mutations.
**How**
- Update `buildOptions` function to be called per `QueryKey` instead of passing them all as a single query key, resulting in no matches found.
- Fixes imports that aren't compatible with ESM modules.
2023-01-24 12:55:24 +00:00
Kasper Fabricius Kristensen
150696de99
feat(medusa, medusa-js, medusa-react): Add endpoint to retrieve product tags from the storefront ( #3051 )
2023-01-18 10:47:15 +01:00
Kasper Fabricius Kristensen
8d1275c942
feat(medusa-react): Upgrade react-query and clean up dependencies ( #2969 )
2023-01-11 19:19:34 +01:00
Philip Korsholm
a6243618fe
feat(medusa): Claim customer orders ( #2710 )
2022-12-08 17:48:49 +01:00
Carlos R. L. Rodrigues
15c667fbd3
feat(medusa,medusa-react): PaymentCollection support ( #2659 )
...
* chore: medusa react, order edit complete fix and single payment session
2022-12-07 12:39:35 -03:00
Patrick
7b0ceeffb4
feat: /store api product types ( #2552 )
...
## What
Allow users to fetch ProductTypes from the storefront API.
## Why
This endpoint will allow developers to implement better faceted product search in Medusa without the need for search plugin. Developers will be able to use this to render refinement lists based on types, like this:

## How
Endpoint `GET /store/products/types` and `GET /store/product-types` (use [product types listing in admin](https://github.com/medusajs/medusa/blob/master/packages/medusa/src/api/routes/admin/products/list-types.ts ) as reference)
Support added in @medusajs/medusa-js
Support added in medusa-react
## Testing
Similar automated tests as `GET /admin/products/types` and `GET /admin/product-types`
---
Resolves CORE-699
2022-11-09 16:10:17 +00:00
Adrien de Peretti
95c0dc653a
feat(medusa, medusa-js, medusa-react): Implement store complete order… ( #2275 )
...
**What**
Allow a customer to complete a requested order edit.
**Test**
- Unit tests complete flow
- Unit tests medusa react
- Integration tests of order edit completion
FIXES CORE-501
2022-09-29 17:06:45 +00:00
Philip Korsholm
c661cc789b
Feat/decline order edit ( #2234 )
...
**What**
- Decline an order edit from a store endpoint
- Refactor totals setting to a service method
Fixes CORE-502
2022-09-21 11:02:10 +00:00
Adrien de Peretti
f863d28b9a
feat(medusa): Implement premises of order edit retrieval ( #2183 )
...
**What**
- Implements the admin/store retrieval end point
- Service implementation of the retrieve method
- Service implementation of the computeLineItems method which aggregates the right line item based on the changes that are made
- client
- medusa-js api
- medusa-react queries hooks
**Tests**
- Unit tests of the retrieval end points
- Unit tests of the service retrieve method and computeLineItems
- Integration tests for admin/store
- client
- medusa-js tests
- medusa-react hooks tests
FIXES CORE-492
2022-09-15 09:12:20 +00:00
Kasper Fabricius Kristensen
b02f2652be
fix(medusa-react): useUpdatePaymentSession mutation ( #1522 )
2022-05-16 14:02:32 +02:00
Zakaria El Asri
2e384842d5
feat: medusa-react admin hooks ( #978 )
...
* add: medusa admin hooks + tests
* fix: remove unneeded props
* fix: deps
* fix: deps
* fix: deps
* fix: failing tests
* fix: failing tests
* fix: query key
* add: yarn workspaces
* fix: linting medusa-react
* fix: add prepare script
* fix: buildOptions
* fix: useAdminShippingOptions query
* fix: use qs instead for query params (#1019 )
* fix: formatting
* debug: ci pipeline
* debug: log node_modules structure
* debug: use lerna bootstrap
* debug: update node version
* debug: print pkgs in workspace
* debug: print pkgs in workspace
* debug: print pkgs in workspace
* debug: print pkgs in workspace
* debug: add explicit build step
* fix: jsdoc
* debug: run build step
* debug: fix build errors
* debug: add build step to integration tests
* fix: failing test
* cleanup
Co-authored-by: Sebastian Rindom <seb@medusajs.com >
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
2022-02-02 17:10:56 +01:00