Commit Graph

8367 Commits

Author SHA1 Message Date
Shahed Nasser 3522c0f0e0 update when-then blocks across docs 2024-12-11 11:08:52 +02:00
Harminder Virk 16d27ea6e4 feat: Migrate customer module to DML (#10499) 2024-12-11 14:37:27 +05:30
Shahed Nasser fd23f13cfd docs: document when-then name 2024-12-11 11:00:25 +02:00
Frane Polić d8a92dbb2d feat(core-flows, dashboard, fulfillment, fulfillment-manual, utils, types): create shipping options with calculated prices (#10495)
**What**
- support creating SO with calculated price
- support updating SO for both types of pricing
- update `validateShippingOptionPricesStep` to handle both SO price_types
- add the `validateShippingOptionsForPriceCalculation` method to `FulfillementModule`
- add `canCalculate` and `calculatePrice` to fulfillment provider service service / interface / manual provider
- disable SO pricing edit on Admin if SO price type is calculated

---

CLOSES CMRC-776
2024-12-11 08:38:44 +00:00
Harminder Virk fad85a9d29 refactor: migrate promotion module (#10410) 2024-12-11 13:12:39 +05:30
Avia-Code 777582ac43 feat: added Ukrainian translations (#10536)
This pull request adds support for the Ukraine language in the MedusaJS Admin Dashboard.
Full translation, and json schema tests passed successfully
2024-12-10 22:17:00 +00:00
Shahed Nasser 376b9e85bc docs: regenerate references for core flows (#10538) 2024-12-10 19:28:35 +02:00
github-actions[bot] a5ed061d6c chore(docs): Updated API Reference (automated) (#10531)
* chore(docs): Generated API Reference (automated)

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2024-12-10 17:57:32 +01:00
Kasper Fabricius Kristensen 16192d9b30 fix(product): Only apply default order to products if user has not specified one (#10535) 2024-12-10 16:57:11 +00:00
Shahed Nasser ab1bfb966d docs: generate references manually for 2.1.1 (#10534)
* docs: generate references manually for 2.1.1

* re-generate for core-flows

* Revert "re-generate for core-flows"

This reverts commit ff785c80214dc6125e2da4c6e8a674a87b03e9dd.
2024-12-10 18:49:30 +02:00
Shahed Nasser 482929f74d docs: fix page title in reference pagesnot showing + refactor workflows reference (#10537)
* docs: fix references title + refactor workflow reference generation

* update references sidebar
2024-12-10 18:19:03 +02:00
Harminder Virk 4ad9ac1e5f refactor: migration stock location module (#10471)
Fixes: FRMW-2831
2024-12-10 16:08:48 +00:00
Shahed Nasser e41ab50f59 docs: added restock notification guide (#10413)
* docs: added restock notification guide

* changes

* lint fixes

* fixes

* more changes

* remove get email step

* add og image

* update sendRestockNotificationsWorkflow

* updates

* fix links
2024-12-10 16:50:40 +02:00
github-actions[bot] 4b384eaf05 chore(docs): Generated DML JSON files (automated) (#10530)
* chore(docs): Generated DML JSON files (automated)

* fixes

---------

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2024-12-10 16:38:09 +02:00
Shahed Nasser 9e3cca4b18 docs: documented fetchCredentials options of JS SDK (#10510) 2024-12-10 16:16:10 +02:00
github-actions[bot] 27a34a15a2 chore(docs): Update version in documentation (automated) (#10529)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2024-12-10 16:09:29 +02:00
olivermrbl 0c28ca4bda chore: Release 2024-12-10 14:04:53 +01:00
olivermrbl 0e342b491d chore: Version packages 2024-12-10 14:01:50 +01:00
Shahed Nasser 0c1bbbac2a docs: integrate google analytics (#10526) 2024-12-10 13:16:12 +02:00
Kasper Fabricius Kristensen de81187929 fix(dashboard): Add FE validation for conditional prices (#10523)
* fix(dashboard): Add FE validation for conditional prices

* fix(dashboard): Add FE validation for conditional prices

* lint

* only set error on one field

* fix which field shows error
2024-12-10 11:57:10 +01:00
Carlos R. L. Rodrigues 69f4c4f4e0 chore(index): index dml (#10482)
What:
- DML - `autoincrement` property
- Index `type` option (GIN)
- Index module - DML
2024-12-10 10:55:12 +00:00
Shahed Nasser 096f1c2a9b docs: revise storefront development guide (#10522) 2024-12-10 12:33:52 +02:00
Shahed Nasser ed9bc1f1c4 docs: revise next.js starter docs (#10520)
* docs: revised next.js starter

* update next.js starter in main docs
2024-12-10 11:58:19 +02:00
Shahed Nasser ce70782608 docs: revise integrations page (#10518) 2024-12-10 10:56:58 +02:00
Shahed Nasser 212b37c2fe docs: fix file path in CMS integration example (#10516) 2024-12-10 09:59:08 +02:00
Oli Juhl e5e5a34108 fix(core-flows): Refresh cart when items are deleted (#10513) 2024-12-09 19:21:32 +01:00
Kasper Fabricius Kristensen c9a66b19af fix(dashboard,ui): ConditionBlock styling (#10481)
**What**
- Resolves CMRC-58
- Also fixes some other issues, TS errors, Eslint warnings etc. in the Promotion domain. There are still several TS errors as the return types from `@medusajs/types` don't seem to match how they are used here, but I have left that as is, as I am not super familiar with the Promotion module.
2024-12-09 17:42:19 +00:00
Shahed Nasser 3409953c4f docs: use tooling convention across docs (#10512) 2024-12-09 19:15:29 +02:00
Shahed Nasser 7c76ee24cb chore: fix documentation links in TSDocs (#10511) 2024-12-09 18:52:02 +02:00
Riqwan Thamir a04238a7f1 fix(payment): ensure that payment error is captured in logger (#10506)
what:

- when an error occurs upon retrieving a provider, log the original error through the logger

Helps https://github.com/medusajs/medusa/issues/10500 in debugging.
2024-12-09 16:44:32 +00:00
Riqwan Thamir f8f5d57c7c chore(types): add price types for shipping option endpoints (#10509)
what:

- adds missing price types for shipping options
2024-12-09 16:30:31 +00:00
github-actions[bot] 9534751b5c chore(docs): Generated References (automated) (#10508)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2024-12-09 15:27:01 +02:00
Shahed Nasser 866cabf384 docs-util: normalize RelationNullableModifier in model references (#10505) 2024-12-09 15:11:45 +02:00
Shahed Nasser f4b45b8080 docs: fix imports across docs 2024-12-09 15:10:38 +02:00
Shahed Nasser 8dedb97e40 docs: fix links to steps in workflow references (#10503) 2024-12-09 14:55:35 +02:00
Shahed Nasser 0ae98c51eb docs: revise main docs outline (#10502) 2024-12-09 13:54:42 +02:00
Shahed Nasser c8cb9b5c1a fix(medusa): add query type argument to RequestWithContext (#10469) 2024-12-09 11:43:52 +02:00
Kasper Fabricius Kristensen a1a1e0e789 feat(dashboard): SO cart item total rules UI (#10386) 2024-12-09 09:44:11 +01:00
Riqwan Thamir 9e797dc3d2 feat(core-flows, types): update shipping methods upon cart ops (#10382)
* feat(core-flows,framework,medusa): list shipping options pass in cart as pricing context

* chore: add test for shipping options returning free shipping

* feat(core-flows, types): update shipping methods upon cart ops

* chore: fix specs

* chore: fix bugs + specs

* Update update-shipping-methods.ts

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>

* Update mutations.ts

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>

* chore: undo refresh changes

* chore: merge with latest

* chore: address PR comments

* chore: fix conflicts

* chore: fix specs

* chore: address reviews

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-12-08 14:06:50 +01:00
Riqwan Thamir f95c4e240c fix(promotion, core-flows): updating cart with removed promotion removes adjustments (#10489) 2024-12-08 13:13:31 +01:00
Kasper Fabricius Kristensen 864f53011b fix(dashboard,types): Fix TS errors (#10457)
**What**
- Fixes TS erros in dashboard project
- Updates incorrect HTTP Invite types
- Fixes incorrectly formatted dates in dashboard
2024-12-08 11:51:13 +00:00
Hirotaka Mizutani 55f5ce4690 feat: added Japanese translation (#10379)
* feat: add Japanese language support

* feat: add missing required keys for Japanese translation
2024-12-07 21:52:15 +08:00
Shahed Nasser c247f5bca1 docs: fix self hosting deployments not showing (#10486) 2024-12-07 00:10:52 +02:00
Shahed Nasser e7e36f39fb docs: support detecting broken link cross-projects (#10483)
* docs: support detecting broken link cross-projects

* remove double separators
2024-12-06 19:54:46 +02:00
Shahed Nasser a76b533604 docs: revise last chapters of customizations (#10480) 2024-12-06 17:56:27 +02:00
Shahed Nasser 21b0e0c26b docs: revise admin customization pages (#10466)
* docs: revise admin customization pages

* fix prerequisites link

* apply lint
2024-12-06 16:34:02 +02:00
Adrien de Peretti 0a077d48e1 chore(workflow-engine): Migrate to DML (#10477)
RESOLVES FRMW-2832
RESOLVES FRMW-2833

**What**
Migrate workflow engines to DML. Alos includes and update to the linkable generation which now takes into account id and primary keys to generate the linkable instead of only primary keys
2024-12-06 13:23:07 +00:00
Carlos R. L. Rodrigues b0448a7c35 chore: locking-postgres provider dml (#10478) 2024-12-06 10:14:14 -03:00
Carlos R. L. Rodrigues f65a3cc06d fix(utils): avoid optional properties on graphql generated file (#10476)
FIXES: SUP-367
2024-12-06 12:16:02 +00:00
Harminder Virk f3c91c908a refactor: migrate store module to DML (#10467) 2024-12-06 17:38:15 +05:30