Commit Graph

8119 Commits

Author SHA1 Message Date
Kasper Fabricius Kristensen
f441362f4a feat(medusa,core-flows,types,js-sdk): Draft Order workflows and API endpoints (#11805) 2025-04-02 10:23:33 +02:00
Frane Polić
5f3a82f5c3 fix(core-flows): applying product type promotion (#12051)
* fix: applying porduct type promotion

* Create fair-terms-tell.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-02 09:35:25 +02:00
Shahed Nasser
5a1f2db542 docs: added a routes summary section in API reference (#12035)
* docs: added routes summary

* added sorting
2025-03-28 19:29:57 +02:00
Harminder Virk
2f7eb0ee03 fix: validate module names to disallow unallowed characters (#12025) 2025-03-28 22:39:39 +05:30
Shahed Nasser
e998366aba chore(js-sdk): improve the TSDocs of auth methods in JS SDK (#12033) 2025-03-28 17:55:01 +02:00
Oli Juhl
79cfc1a69e fix(utils): Enable Redis locking by default in Cloud (#12017)
* fix(utils): Enable redis locking by default

* fix: tests

* Create popular-rules-shake.md
2025-03-28 16:23:02 +01:00
Shahed Nasser
9c90a39f1c docs: sort API reference sidebar items and sections (#12032) 2025-03-28 17:19:28 +02:00
Oli Juhl
acdcb11947 chore: Remove integration-tests from changeset 2025-03-28 15:54:29 +01:00
Frane Polić
95e89a39f3 feat(core-flows, types): try payment cancelation if cart complete fails in the webhook (#11832)
* fix: try compensating if cart complete fails, reorder process paymnet workflow steps

* fix: condition

* fix: feedback

* feat: changes to the compensation step

* fix: build

* fix: remove payment id as arg

* fix: when input

* chore: remove captures realtion, changeset

* fix: return lates payment object from authorize payment
2025-03-28 14:49:54 +01:00
Kasper Fabricius Kristensen
3dba58785f fix(dashboard,medusa,types): allow searching for promotion rule options (#12028)
* fix: allow searching for promotion rule options

* fix: allow searching for promotion rule options

* add changeset

* cleanup
2025-03-28 14:45:05 +01:00
Kasper Fabricius Kristensen
6d8390a529 fix(dashboard): Allow empty subpaths for route extensions (#12030) 2025-03-28 14:42:51 +01:00
Shahed Nasser
da52501518 docs: small fix to abandoned cart guide (#12029) 2025-03-28 14:56:41 +02:00
Shahed Nasser
3fa19ae4f1 docs: updates and improvements to JS SDK guides (#12026) 2025-03-28 12:45:45 +02:00
Harminder Virk
b1b3b48474 feat: Set pricing context hook (#11891) 2025-03-28 15:17:52 +05:30
Frane Polić
350b6b9a71 fix(dashboard): RMA allow shipping unset (#12021)
**What**
- allow unsetting shipping in RMA flows + bug cleanup around shipping flows in claims / exchanges
- additional fixes:
  - product type create form 
  - product type delete
  - delete confirmation messages
  - fix a few inventory strings + material field

---

CLOSES CMRC-945
CLOSES CMRC-953
CLOSES CMRC-967
CLOSES CMRC-963
CLOSES CMRC-954


Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-03-28 09:25:44 +00:00
Frane Polić
29f6c2a8dd fix(dashboard): return form pending diff (#12007)
**What**
- display est. difference in returns as for claims/exchanges
- display order pending difference instead of value computed on FE

---

CLOSES CMRC-949
2025-03-28 09:14:04 +00:00
Frane Polić
3145c5f20d fix(dashboard): trim some product create inputs to prevent creation error (#12004)
* fix: trim some inputs to prevent creation error

* chore: changeset
2025-03-28 08:59:44 +01:00
Frane Polić
be6a651e2f fix(dashboard): notification list scroll flickering (#11911)
* fix: flicekring of the notification list due to rerendering

* fix: revert page size

* fix: page size

* fix: reintroduce treshold

* fix: param

* fix: revert page size
2025-03-28 08:58:33 +01:00
Shahed Nasser
95230ef670 docs: migrate magento to medusa guide (#11418)
* initial

* initial draft

* finished

* small change to intro

* make card description shorter

* fix plugin name

* updates

* fixes

* generate llms

* updates
2025-03-28 09:12:53 +02:00
Shahed Nasser
82da3c97a5 docs: added algolia guide (#11971)
* initial

* finished changes

* small title change

* improve title

* add cover
2025-03-27 20:22:40 +02:00
Shahed Nasser
532780897b docs: added tutorial for abandoned cart (#11917)
* docs: added tutorial for abandoned cart

* small fixes

* add cover image
2025-03-27 19:59:29 +02:00
Shahed Nasser
e593d44cc9 docs: add JS SDK snippets in API reference introduction sections (#12018) 2025-03-27 19:36:39 +02:00
Frane Polić
69bb775f28 fix(dashboard): refund form input (#11993)
**What**
- fix refund form input issues
2025-03-27 15:20:22 +00:00
Shahed Nasser
bf882b5aff docs: update storefront development guides to use JS SDK [2] (#12015) 2025-03-27 17:14:22 +02:00
Carlos R. L. Rodrigues
1895d8cc11 Merge branch 'develop' of https://github.com/medusajs/medusa into fix/wfe-context-ref (#12006) 2025-03-27 09:28:24 -03:00
Oli Juhl
230cb84fa4 fix(dashboard): Product export fields (#11999)
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.
2025-03-27 11:38:43 +00:00
Riqwan Thamir
c870a7a1ba fix(utils,promotion): fix case where mutliple percentage promotions werent applied (#11992)
what:

- fix case where mutliple percentage promotions werent applied
2025-03-26 22:46:50 +00:00
Riqwan Thamir
1f8fab3636 feat(core-flows,types,order,cart): assign tax lines only to regular products (#11994)
what:

- assign tax lines only to regular products
2025-03-26 22:26:34 +00:00
Shahed Nasser
e950e2b2d2 docs: update storefront development guides to use JS SDK [1] (#11991)
* docs: update storefront development guides to use JS SDK [1]

* build and lint fixes

* fix links

* fix links
2025-03-26 16:20:21 +02:00
Shahed Nasser
82d774b395 docs-util: add a prefix for JS SDK examples in OAS (#11989) 2025-03-26 13:28:23 +02:00
Shahed Nasser
2df3c5a7a1 docs: improve page titles (#11987) 2025-03-26 11:39:22 +02:00
Shahed Nasser
c96560ccb7 docs: remove custom searching mechanism (#11984)
* docs: remove custom searching mechanism

* remove grouping

* changes to grouping

* small title change

* update resources sitemap
2025-03-26 10:56:02 +02:00
Shahed Nasser
87b75ea959 docs: add sitemap to API reference (#11985)
* docs: add sitemap to API reference

* remove duplicate sitemap

* update sitemap
2025-03-26 08:52:44 +02:00
Frane Polić
d0d2ea4f20 fix(order): caculate received total for pending difference (#11919)
**What**
- use the return received total to compute pending difference with return requested total

**Why**
- this would show incorrect outstanding amount when receiving a return and also, the outstanding amount after the return is received would be incorrect
2025-03-25 18:14:44 +00:00
Shahed Nasser
cbd1786ca5 docs: small improvements to the general deployment guide (#11978) 2025-03-25 19:25:53 +02:00
Shahed Nasser
178e034561 docs-util: sort examples to show JS SDK first (#11986) 2025-03-25 19:25:34 +02:00
Shahed Nasser
0cc306bf56 fix(js-sdk, types): fixes types and deprecate duplicate methods (#11975) 2025-03-25 16:37:30 +01:00
Shahed Nasser
80e320e094 docs: clarify limitations in query brands guide (#11980) 2025-03-25 16:50:00 +02:00
Shahed Nasser
c8389834a1 docs: fixes to quotes management guide (#11981)
* docs: fix request snippet in quote management guide

* fix hook
2025-03-25 16:49:46 +02:00
Carlos R. L. Rodrigues
01089d5bc8 chore(core-flows): price list skip when no data (#11977) 2025-03-25 10:55:30 -03:00
Shahed Nasser
83e063229b docs-utils: support routes that include global variables (#11976)
* docs-util: support urls that have variable names

* re-generate examples

* disable removing js sdk examples and replace with warning
2025-03-25 15:36:00 +02:00
Shahed Nasser
768ea91e1b chore(js-sdk,types): add missing examples for JS SDK methods (#11934)
* chore(js-sdk,types): add TSDocs for calculate method

* added tsdocs for promotions

* finished adding examples

* fixes

* remove unused import
2025-03-25 14:55:54 +02:00
Shahed Nasser
8a302130b3 docs-util: add JS SDK examples to generated OAS (#11935) 2025-03-25 11:11:48 +02:00
Kasper Fabricius Kristensen
d53af655f0 fix(dashboard): Reduce size of Notifications Trigger (#11955) 2025-03-24 19:03:44 +01:00
Shahed Nasser
284e5db4f7 docs: fixes to search in API references (#11959) 2025-03-24 16:48:08 +02:00
Shahed Nasser
2ec59ddadc docs: typos and examples fixes (#11954)
* docs: typos and examples fixes

* fix notification example
2025-03-24 09:33:22 +02:00
Shahed Nasser
c6f2f444ed fix(js-sdk): fix the return type of the promotion.listRules method (#11937) 2025-03-24 07:35:15 +01:00
Shahed Nasser
1bcd822963 chore: fix links in contribution guidelines (#11829) 2025-03-24 07:08:16 +01:00
Frane Polić
de8c034d1b feat(core-flows, types): calculated shipping in RMA flows (#11533)
* wip: calculated SO pricing in RMA flows

* fix: types

* chore: small refactor

* feat: caluclated shipping in return flow

* fix: module integrations

* fix: array containing

* feat: refresh shipping on update item quantity

* rm: log

* rm: log2

* feat: update interface, remove flag

* fix: revert change on OE for now

* fix: import

* feat: refactor flwos, cleanup cacluation cotext data model, wip exchanges

* feat: refreshing inbound/outbound shipping on items change

* feat: refresh exchange shipping on return item add, test

* feat: refresh shipping on exchange/return item remove

* fix: check optional

* feat: test recalculation on quantity update

* feat: calculated shipping on claims

* fix: comment

* wip: address comments

* fix: more remote query, fix build

* refactor: claim refresh workflow

* fix: remove throw option

* fix: deconstruct param

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-03-24 07:07:47 +01:00
Shahed Nasser
053326950d fix(js-sdk): fix the API route used in fulfillment.cancel method (#11936) 2025-03-21 15:08:44 +00:00