Commit Graph

7108 Commits

Author SHA1 Message Date
github-actions[bot]
d5ee0070b4 chore(docs): Generated References (automated) (#10276)
Generated the following references:
- `api_key`
- `auth`
- `cart`
- `core_flows`
- `currency`
- `customer`
- `dml`
- `fulfillment`
- `helper_steps`
- `inventory_next`
- `js_sdk`
- `medusa`
- `medusa_config`
- `modules`
- `modules_sdk`
- `order`
- `payment`
- `payment_provider`
- `pricing`
- `product`
- `product_models`
- `promotion`
- `region`
- `sales_channel`
- `search`
- `stock_location_next`
- `store`
- `tax`
- `tax_provider`
- `types`
- `user`
- `utils`
- `workflows`

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-11-26 09:24:41 +00:00
Oli Juhl
67e2e718e9 chore: Trigger staging update on new release (#10259) 2024-11-26 09:13:33 +01:00
Oli Juhl
cb2b06fab9 fix: Inventory module schema (#10262)
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-11-26 09:02:37 +01:00
Shahed Nasser
1e4ff3d047 docs: fixes to Medusa Cloud sections (#10270)
* docs: fixes to Medusa Cloud sections

* apply comments

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-11-26 09:51:07 +02:00
Shahed Nasser
ef0293cacf chore: fix CI branch in test (#10274) 2024-11-25 19:35:01 +01:00
Shahed Nasser
9b76d2a2d0 docs-util: fix build errors (#10275) 2024-11-25 19:38:29 +02:00
Shahed Nasser
5eccd4e87d docs: fix references generator (#10271) 2024-11-25 19:13:21 +02:00
Stevche Radevski
6e447da33c fix: Fix product module creation example (#10228) 2024-11-25 16:23:54 +01:00
Shahed Nasser
5022a7c08e docs: added section on medusa cloud (#10265) 2024-11-25 17:00:14 +02:00
github-actions[bot]
7865909891 chore(docs): Updated API Reference (automated) (#10258)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-11-25 14:33:22 +00:00
Kasper Fabricius Kristensen
3ab056e572 feat(dashboard): Allow setting a tooltip for disabled action items (#10234)
**What**
- Allow passing a `disabledTooltip` for actions in a `ActionMenu`. Useful for providing context for the user why a option is disabled. E.g. `{ disabled: sales_channel.is_default, disabledTooltip: "Deleting the default Sales Channel is not allowed. Please assign a different default Sales Channel for your store". }`
2024-11-25 13:01:26 +00:00
Dos
1bd82a9b13 feat: add Thai language support (#10249) 2024-11-25 12:59:26 +00:00
Danilo Silva
ade1545207 feat: add ptBR (Brazilian Portuguese) in translations (#10188)
**Changelog**

- Add translation in Portuguese (Brazil)
- Updates test suites that validate translations (*.json) and corresponding $schema.json.

Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
2024-11-25 12:27:23 +00:00
Shahed Nasser
ae1c607f4e docs: add details on updating a cart's customer (#10226)
Should be merged after releasing v2.0.5

Closes DX-1096
2024-11-25 11:56:35 +00:00
github-actions[bot]
01b0a84898 chore(docs): Update version in documentation (automated) (#10256)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2024-11-25 13:53:43 +02:00
Shahed Nasser
8d1057df41 docs: update injection zones for v2.0.5 (#10225) 2024-11-25 13:27:54 +02:00
olivermrbl
eea0652cfa chore: Release 2024-11-25 12:16:36 +01:00
olivermrbl
ccf4e801f3 chore: Version packages 2024-11-25 12:14:36 +01:00
Kasper Fabricius Kristensen
c28d0db164 fix(product, dashboard): manual cleanup of uploaded images (#10254)
* manual cleanup

* add changeset

* remove thumbnail on deletion
2024-11-25 11:44:22 +01:00
olivermrbl
df8369028e chore: Release 2024-11-25 09:59:47 +01:00
olivermrbl
4245312d8d chore: Version packages 2024-11-25 09:57:00 +01:00
Oli Juhl
29ce10b09e fix(product): Update images before adding not null constraint (#10248) 2024-11-25 08:39:43 +00:00
Kasper Fabricius Kristensen
1659c9be5d feat(product,dashboard): Allow re-ordering images (#10187)
* migration

* fix snapshot

* primarykey

* init work on dnd

* progress

* dnd

* undo changes

* undo changes

* undo changes

* undo changes

* fix firefox issue

* lint

* lint

* lint

* add changeset

* undo changes to product module

* set activator node

* init work on service layer

* alternative

* switch to OneToMany

* add tests

* progress

* update migration

* update approach and remove all references to images in product.ts tests

* handle delete images on empty array

* fix config and order type

* update changeset

* rm flag

* export type and fix type in test

* fix type

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-11-25 09:03:10 +01:00
Frane Polić
b12408dbd8 feat(medusa,core-flows,types,js-sdk): decline / cancel order transfer (#10202)
**What**
- **core-flows**: 
  - cancel transfer
  - decline transfer
- **API**:
  - admin cancel transfer
  - store decline transfer 
  - store cancel transfer
- **js-sdk**:
  - add methods for store endpoints 

---

CLOSES CMRC-726
2024-11-25 07:44:31 +00:00
Kasper Fabricius Kristensen
96b8963a6c fix(admin-vite-plugin): Move @babel/types to dependencies from devDependencies to make it compatible with Yarn PnP (#10236) 2024-11-22 20:49:35 +00:00
Shahed Nasser
78e68a0bb6 docs: fix base path not added to hash links (#10235) 2024-11-22 18:42:49 +02:00
Dos
97ef3a5337 fix: correct ID used for refetching after updating customer (#10231)
What
   correct ID used for refetching after updating customer
2024-11-22 14:58:25 +00:00
Kasper Fabricius Kristensen
d6ff8d7aa1 fix(js-sdk): Preserve path in baseUrl (#10222)
**What**
- Currently the `js-sdk` will discard the path in the `baseUrl` and only use the `origin`. As an example passing a `baseUrl` of `"http://localhost:9000/custom/path"`, will result in only `"http://localhost:9000"` being used.
- This PR preserves the path, so using `sdk.admin.products()` will make a request to `"http://localhost:9000/custom/path/admin/products`. For an explanation of when this might be useful see this issue: https://github.com/medusajs/medusa/issues/10190#issuecomment-2492974845

Resolves CMRC-740
2024-11-22 14:52:54 +00:00
Alan Martinez
60b13c191e Support spanish translation (#10213)
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
2024-11-22 13:18:45 +00:00
Shahed Nasser
b558800547 docs: revise events and subscribers (#10227) 2024-11-22 14:39:29 +02:00
Shahed Nasser
4810b1c55b chore: fix cURL example in create payment collection route (#10219)
* chore: fix cURL example in create payment collection route

* regenerate OAS
2024-11-22 14:22:50 +02:00
Shahed Nasser
8e10ada2d0 docs: revise loaders documentation (#10224) 2024-11-22 13:20:52 +02:00
Adrien de Peretti
b964b45fb2 fix(stripe): Wrong container type (#10223)
RESOLVES SUP-238

**What**

wrong container type withing payment providers
2024-11-22 10:57:41 +00:00
Adrien de Peretti
9d5b0412ec fix(types): Graph types fixes (#10220)
RESOLVES TRI-599

**What**
- Fix missing filter type in the graph query API
2024-11-22 10:25:31 +00:00
Oli Juhl
1efe4e9e33 fix: Update js-sdk with token (#10211) 2024-11-22 09:32:48 +01:00
Frane Polić
44265a928d feat(dashboard): transfer order admin (#10189)
**What**
- request order transfer from order details page
- timeline events

---

CLOSES CMRC-706
CLOSES CMRC-707
2024-11-22 08:29:12 +00:00
Pedro Tigre
58f24a373d docs: fix typo in page.mdx (#10210)
Fix typo
2024-11-22 09:47:44 +02:00
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