Commit Graph

7071 Commits

Author SHA1 Message Date
Riqwan Thamir
6486f2bcce feat(core-flows,medusa): remove cart customer validation + rename workflow (#10207)
what:

- removes cart customer takeover validation
- change workflow from update to transfer
2024-11-21 16:57:03 +00:00
Shahed Nasser
5f9029c033 docs: revise commerce modules (#10209) 2024-11-21 18:45:39 +02:00
Shahed Nasser
af374f85d1 docs: revise modules (#10204) 2024-11-21 18:37:59 +02:00
Shahed Nasser
c99b03bcc2 docs: change logo (#10208)
* docs: changed logo

* remove unused component
2024-11-21 18:15:32 +02:00
Shahed Nasser
ab5f2b5e11 docs: update og images (#10206)
* docs: update og images

* fixes
2024-11-21 17:33:50 +02:00
Shahed Nasser
19c6c4af15 docs: fix og image for sanity guide (#10205) 2024-11-21 17:02:49 +02:00
Mohsen
9e5e4c9f25 Set proper name for the steps in the schedule-task page (#9716)
Change `step` to `steps` for the batch workflows.
2024-11-21 14:14:57 +00:00
mStenz
25d1dfdea5 Fix typo in db error message (#9612) 2024-11-21 13:48:22 +00:00
420coupe
da7a078a7d update CreateOrderFulfillmentWorkflowInput to include optional requires_shipping boolean (#9479)
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-11-21 14:22:54 +01:00
Riqwan Thamir
2a8811edd9 feat(medusa): skip draft orders on order list (#10195) 2024-11-21 14:09:23 +01:00
Riqwan Thamir
d91da7b418 feat(medusa): enable price list prices for product endpoints (#10197) 2024-11-21 14:08:42 +01:00
Shahed Nasser
35afa04a93 docs: migrate Kapa (#10198)
* docs: migrate kapa

* remove unused dependency

* fix isbrowser
2024-11-21 15:05:50 +02:00
Shahed Nasser
f541e21c62 docs: revise medusa container chapter (#10192) 2024-11-21 11:22:15 +02:00
Mukitul Islam Mukit
3a3091f3f8 docs: fix fulfillment module container name (#10111)
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-11-21 10:55:28 +02:00
Carlos R. L. Rodrigues
aeb5b43692 feat(workflows-sdk): add response to permanent failure (#10177) 2024-11-20 17:29:37 -03:00
Carlos R. L. Rodrigues
42c08fa8e0 fix(framework): handle deprecated Dirent path (#10179)
What:

- `Dirent` class from `NodeJS` has different properties in different versions, causing issues in our loaders.
- Util `readDirRecursive` was introduced, avoiding old node versions to break

FIXES: https://github.com/medusajs/medusa/issues/8419
2024-11-20 20:25:48 +00:00
Shahed Nasser
ec1ab4db87 docs: add default value if PAK environment variable isn't set (#10185) 2024-11-20 19:06:08 +02:00
Shahed Nasser
765f99e04b docs: fix font smoothing across projects (#10183) 2024-11-20 18:24:58 +02:00
Shahed Nasser
bef89e43c4 docs: revise intro pages (#10182) 2024-11-20 17:36:02 +02:00
Shahed Nasser
544f5d4c59 chore: optimize sanity opengraph image (#10181) 2024-11-20 17:08:05 +02:00
Shahed Nasser
a429a267f1 docs: add Sanity integration guide (#10152)
* docs: add integrate to Sanity guide

* address PR feedback

* added more screenshots

* edit introduction

* added meta images + changes
2024-11-20 16:17:33 +02:00
Riqwan Thamir
6680f69588 fix: move transfer cart under cart (#10175)
made a whoopsie!
2024-11-20 11:12:49 +00:00
Riqwan Thamir
1185be31c4 fix: incorrect changeset breaks preview builds (#10173) 2024-11-20 09:41:40 +00:00
Shahed Nasser
3fee17747f fix(types): fix AdminBatchProductRequest to have product ID (#10168) 2024-11-20 11:10:26 +02:00
Riqwan Thamir
3c4a9b85d8 chore(medusa): remove unfinished update order endpoint (#10169) 2024-11-20 08:44:49 +00:00
Oli Juhl
8091c5f5bc fix: Remove undefined from events in update (#10170) 2024-11-20 09:43:51 +01:00
Harminder Virk
7390c14c20 feat: add support for making relationships searchable (#10172)
Closes: FRMW-2784
2024-11-20 08:39:44 +00:00
Riqwan Thamir
495c381709 feat(types, js-sdk): add updateCustomer to js-sdk (#10158)
what:

- adds new `POST /store/cart/:id/customer` endpoint to js sdk
2024-11-19 18:32:49 +00:00
Frane Polić
79088c8a3b feat(medusa): request order transfer storefront API (#10156)
**What**
- add an endpoint for order transfer requests from the storefront

---

CLOSES CMRC-702
2024-11-19 17:42:25 +00:00
Shahed Nasser
b43febda54 chore(js-sdk,types): add tsdocs for admin JS SDK methods [6/n] (#10028)
* chore(js-sdk,types): add tsdocs for admin JS SDK methods [6/n]

* fix error

* remove type changes
2024-11-19 19:15:44 +02:00
Shahed Nasser
7a3c6acf31 docs: fix heading import in ui route docs (#10167) 2024-11-19 18:49:07 +02:00
Riqwan Thamir
85f9c2b85a fix(framework,types): correct example of database driver options (#10166) 2024-11-19 16:32:31 +00:00
Shahed Nasser
5fb73e6698 chore(core-flows,types): add TSDocs for useQueryGraphStep (#10042) 2024-11-19 18:31:33 +02:00
Shahed Nasser
be700e31f2 docs: add section on querying records from a link's table (#10165) 2024-11-19 18:28:10 +02:00
Shahed Nasser
dbd06a131a docs-util: remove duplicate methods from JS SDK (#10161) 2024-11-19 18:07:44 +02:00
Riqwan Thamir
2783bed8ae fix(dashboard): updated variant title is used when creating product (#10155) 2024-11-19 16:22:34 +01:00
Shahed Nasser
a1738f823c docs: change report issue link (#10160) 2024-11-19 15:54:16 +02:00
Shahed Nasser
156494c646 docs: fix provider ID in payment's webhook URL (#10157) 2024-11-19 15:29:34 +02:00
Harminder Virk
9dff05cdde Revert "feat: add optional fields" (#10159)
Reverts medusajs/medusa#10150
2024-11-19 13:28:02 +00:00
Shahed Nasser
3f4e6a168b docs: remove section on updating cart's customer (#10154)
* docs: add more clarification on updating a cart's customer

* remove section
2024-11-19 15:19:53 +02:00
Adrien de Peretti
1f44281ed6 fix(product): Update full descendant tree mpath when updating parent category id (#10144)
FIXES FRMW-2774

**What**
When updating the parent category id, all descendant mpath should be re computed
2024-11-19 12:51:34 +00:00
Adrien de Peretti
59bf9afd48 fix(core-flows): Add missing cart sales channel id fields to be part of the application context (#10142)
RESOLVES SUP-185

**What**
The cart fields to be fetched for the promotion workflow was not including the sales_channel_id, making any rules being constraint to that fields not being validated against this property.
2024-11-19 11:46:49 +00:00
Riqwan Thamir
b7044bb3b0 feat(core-flows,medusa): Add API to update cart's customer (#10151)
what:

- adds an endpoint that updates a cart's customer

RESOLVES CMRC-718
2024-11-19 11:44:25 +00:00
Sebastian Rindom
41dc05d0c9 fix: add address and customer metadata to tax calc context (#10122)
Fixes CMRC-713

**What**
- Ensure that customer and shipping address metadata is passed in the tax calculation context when updating tax lines on a cart.

**Why**
- Gives more flexibility in criteria to evaluate tax rates. 
- https://github.com/medusajs/medusa/discussions/10121
- https://github.com/medusajs/medusa/discussions/10114

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-11-19 11:42:31 +00:00
Shahed Nasser
3b1463048a docs: fix error on collapsing prerequisites (#10153) 2024-11-19 13:35:47 +02:00
Frane Polić
39e81d8d21 fix(dashboard): order edit - display item quantity change correctly (#10078)
**What**
- use a diff form change action details to display edit history
2024-11-19 11:22:55 +00:00
Adrien de Peretti
7aa990795c chore(): Update module provider retrieval error message and type (#10138)
Partially RESOLVES FRMW-2802

**What**
Improve error message and change the error type when retrieving a provider from a local container fail
2024-11-19 11:19:19 +00:00
Harminder Virk
661ea7865c feat: add optional fields (#10150) 2024-11-19 16:28:33 +05:30
Jim Johnston
18a60e2d2e docs: S3 providers - add example for DigitalOcean Spaces endpoint (#10145)
The [S3 providers docs](https://docs.medusajs.com/resources/architectural-modules/file/s3#:R1d5rtttqj5db:) instructs DigitalOcean users to set the endpoint address to the "Spaces Origin Endpoint":
```
For DigitalOcean Spaces, it's the Spaces Origin Endpoint.
```

On DigitalOcean's user interface they include the bucket name in their origin endpoint:
![image](https://github.com/user-attachments/assets/e4c6ab05-ff1c-40ad-bb2b-49653b990e6b)

Using this url for the endpoint will cause an error.

The example URL `https://{region}.digitaloceanspaces.com` should tip users off to remove the bucketname.

Cheers!
2024-11-19 10:52:26 +00:00
Frane Polić
36460a3a07 feat(medusa, types, utils, core-flows, order) request & accept order transfer (#10106)
**What**
- add request order transfer workflow
- add admin endpoint for transferring an order to a customer
- accept order transfer storefront endpoint
- accept transfer workflow
- changes in the order module to introduce new change and action types

---

**Note**
- we return 400 instead 409 currently if there is already an active order edit, I will revisit this in a followup
- endpoint for requesting order transfer from the storefront will be added in a separate PR

---

RESOLVES CMRC-701
RESOLVES CMRC-703
RESOLVES CMRC-704
RESOLVES CMRC-705
2024-11-19 08:53:22 +00:00