Commit Graph

8205 Commits

Author SHA1 Message Date
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
Shahed Nasser
df5ae50612 docs-util: add tool to generate mapping between JS SDK examples and routes (#11933)
* initial implementation

* finish implementation

* add js sdk key
2025-03-21 15:34:52 +02:00
Shahed Nasser
834b309037 docs: add missing ui dependency (#11931) 2025-03-21 14:48:44 +02:00
Shahed Nasser
5587451c92 docs: add a note to stripe customization in next.js starter (#11929) 2025-03-21 12:24:22 +02:00
Harminder Virk
cab6f3a8ad feat: add support for accessing step results via context (#11907)
Fixes: FRMW-2934

This PR adds support for accessing the results of a hook using the `hook.getResult` method.
2025-03-21 10:15:38 +00:00
Shahed Nasser
a3f4560263 docs: fix sitemap of ui docs (#11928) 2025-03-21 12:04:18 +02:00
Shahed Nasser
4c33586946 docs: added troubleshooting guides + improvements (#11927)
* docs: added troubleshooting guides + improvements

* build fixes
2025-03-21 11:47:03 +02:00
Stevche Radevski
c4f75ecbb2 feat: Add support for generating a cloud-ready config out of the box (#11850) 2025-03-21 09:21:38 +01:00
Kasper Fabricius Kristensen
c40fb01d92 fix(ui): Disable select cells if the row cannot be selected (#11442) 2025-03-20 11:52:07 +01:00
Shahed Nasser
98e630bce5 docs: improved search results (#11909) 2025-03-19 15:31:01 +02:00
Shahed Nasser
ee014e063e docs: added product review guide (#11852)
* finish guide

* fix tags not showing correctly

* revert changes in prepare

* generate changes
2025-03-19 15:19:38 +02:00
Frane Polić
8385a5e34d feat(core-flows): revisit fulfillment flow reservations and support inventory kit (#11790)
* feat: fulfillment flow with reservations and inventory kit

* fix: account for custom line items

* chore: cleanup, changeset

* fix: revert action check

* fix: deduplicate, test item qunatities, compute line item quantity from fulfillment items

* fix:

* fix: improve types

* fix: optimize fetched fileds in cancel fulfillment workflow

* fix: add a test case

* chore: update type
2025-03-19 13:15:24 +01:00
Shahed Nasser
a73c9770fa docs: fix request http method in wishlist guide (#11902)
* docs: fix request http method in wishlist guide

* generated llms
2025-03-19 11:40:35 +02:00
Arūnas Bandzaitis
e2ee4a1d5f feat(dashboard): add support for Lithuanian language (#11903) 2025-03-19 10:32:30 +01:00
Arūnas Bandzaitis
a86b7858b5 fix(dashboard): EN language mistypes, missing words (#11904) 2025-03-19 10:31:56 +01:00