Commit Graph

8252 Commits

Author SHA1 Message Date
Frane Polić
2dd885ebc1 fix(medusa): check if tax module is installed when running tax migration script (#12393) 2025-05-07 13:01:20 +02:00
Frane Polić
0d8af119c5 feat(product): search variants by product properties (#12391) 2025-05-07 10:29:14 +00:00
Shahed Nasser
c4dd805849 fix(core-flows): export order-related utility workflows (#12380) 2025-05-07 12:02:08 +03:00
Shahed Nasser
5d3f1d0118 docs-util: add events to generated OAS (#12390) 2025-05-07 10:44:02 +03:00
Pepijn
cdb135e491 fix(dashboard): Added missing admin dashboard dependencies (#12346) 2025-05-06 19:30:04 +02:00
Frane Polić
9cedeb182d feat(dashboard, js-sdk, medusa, tax, types): custom tax providers (#12297)
* wip: setup loaders, add endpoints, module work, types, js sdk

* fix: tax module provider loader

* feat: select provider on region create, fix enpoint middleware registration

* feat: edit form

* fix: rename param

* chore: changeset

* fix: don't default to system provider

* fix: admin fixes, dispalt tax provider

* fix: some tests and types

* fix: remove provider from province regions in test

* fix: more tests, optional provider for sublevel regions, fix few types

* fix: OE test

* feat: edit tax region admin, update tax region core flow changes

* feat: migrate script

* fix: refactor

* chore: use query graph

* feat: provider section
2025-05-06 19:26:33 +02:00
Shahed Nasser
405ee7f7f3 docs: update import user guide text + add diagram in brand module guide (#12385) 2025-05-06 19:56:14 +03:00
Shahed Nasser
74e93b3079 docs: fixes to navbar and sidebar in mobile (#12379)
* docs: fixes to navbar and sidebar in mobile

* fix height issues
2025-05-06 19:11:15 +03:00
Shahed Nasser
91173f3052 docs-util: fix hook parameters not showing when using workflow input (#12382) 2025-05-06 18:34:19 +03:00
Adrien de Peretti
80007f3afd feat(workflows-*): Allow to re run non idempotent but stored workflow with the same transaction id if considered done (#12362) 2025-05-06 17:17:49 +02:00
Shahed Nasser
97dd520c64 docs: generate event references (#12378) 2025-05-06 16:59:30 +03:00
Edin Abazi
a16ffb83d9 fix: rename Macedonia FYROM to North Macedonia (#12375) 2025-05-06 15:44:17 +02:00
Shahed Nasser
ecf3556589 docs-util: add events to workflows reference (#12376) 2025-05-06 16:04:12 +03:00
Oli Juhl
aba4cba373 fix(medusa): Support additional data on admin/collections (#12345)
* fix(medusa): Support additional data on admin/collections

* Create five-experts-wink.md

* add to validators
2025-05-06 14:00:18 +02:00
Shahed Nasser
ea6faa8c82 docs: add missing details for tiered pricing (#12374)
* docs: add missing details for tiered pricing

* adjustments
2025-05-06 14:44:50 +03:00
Shahed Nasser
f74586e772 fix(create-medusa-app): updates to text and prompts (#12360) 2025-05-06 14:23:54 +03:00
Shahed Nasser
ffd323a2a9 chore(types): add note in TSDocs of list and retrieve methods (#12364) 2025-05-06 09:52:06 +03:00
Shahed Nasser
94b7ee99b7 docs: add troubleshooting for index.html error (#12365) 2025-05-05 19:26:36 +03:00
Oli Juhl
77c3023200 fix(product): Return updated collections (#12354)
Collection updates without a `products` payload were not returned from the service layer due to an incorrect early return

Fixes SUP-1488
2025-05-05 14:41:45 +00:00
Shahed Nasser
f25a4a5e34 docs: add script to catch bad redirects (#12361)
* docs: add script to catch bad redirects

* add missing dependency
2025-05-05 12:49:05 +03:00
Harminder Virk
e4d853185f fix: export ProductImage to allow for custom links to add alt text (#12357) 2025-05-05 14:24:25 +05:30
Shahed Nasser
c35e9e5104 docs: fix local links in UI docs (#12359) 2025-05-05 11:50:01 +03:00
Shahed Nasser
47772b7593 docs: fix redirect on infrastructural modules (#12358)
* docs: fix redirect on infrastructural modules

* fix image
2025-05-05 11:37:31 +03:00
Oli Juhl
b463c7980a chore: Update teams.yml (#12355)
**What**
- Add Pedro to team
2025-05-05 07:16:48 +00:00
Harminder Virk
84f58f9058 feat: implement direct upload (#12328)
* feat: implement direct upload

* feat: add direct-upload endpoint

* refactor: implement feedback

* refactor: have a dedicated endpoint for direct uploads

* refactor: convert responses to snakecase

* refactor: rename method to createImport

* test: add tests for the presigned-urls endpoint
2025-05-04 12:58:10 +02:00
Pedro Guzman
ed55d17a36 fix: batch updates in upsertMany_ (#12333) 2025-05-02 08:36:33 +02:00
Shahed Nasser
70a99a2434 docs: generate events reference (#12341)
* docs: generate events reference

* change link in navbar

* fix redirect
2025-05-01 19:39:53 +03:00
Shahed Nasser
332e46d1db chore(utils): fixes to events TSDocs (#12342) 2025-05-01 19:23:50 +03:00
Shahed Nasser
91f5ac91a9 docs-util: add script to generate events info (#12340)
* docs-util: add script to generate events info

* add property and parent name to json
2025-05-01 14:44:24 +03:00
Shahed Nasser
e3e02a1cc8 chore: add tsdocs for events (#12337) 2025-05-01 12:15:33 +03:00
Shahed Nasser
a53d645f8a fix(core-flows,utils): move fulfillment workflow events (#12338)
Move fulfillment workflow events to be with other workflow events.

Could be considered a breaking change for users using the previously `FulfillmentEvents` variable
2025-05-01 09:11:17 +00:00
Shahed Nasser
2bfe936185 docs-util: support deprecated tag in OAS (#12339) 2025-05-01 11:59:48 +03:00
Obad Zafar
393ac8d885 docs: fix TypeScript errors in marketplace vendor tutorial (#12302)
The index.ts code example in "Create Workflow" section of the Marketplace Vendor Tutorial contains TypeScript errors that prevent successful compilation:

Missing transform import: The tutorial uses the transform function on line 33, but it's not imported from "@medusajs/framework/workflows-sdk"

TypeScript union type complexity error: When working with the useQueryGraphStep function, TypeScript throws "Expression produces a union type that is too complex to represent" error

Incorrect export name: On line 67, the export is export default createVendorAdminWorkflow but the workflow is defined as createVendorWorkflow (line 24)

These errors make it impossible for developers to follow the tutorial successfully without debugging TypeScript errors.

Closes #12301
2025-05-01 06:58:13 +00:00
Shahed Nasser
7cb85ea123 docs-util: fix hook examples not showing in generated references (#12334) 2025-04-30 18:46:39 +03:00
Frane Polić
8985998756 feat(core-flows, utils): add OrderEdit events (#12320)
* feat(core-flows, utils): add OrderEdit events

* fix: typo
2025-04-30 17:44:39 +02:00
Carlos R. L. Rodrigues
90c61d1898 fix(core-flows): add missing remove remote link (#12326)
* fix(core-flows): add missing remove remote link

* temp disable test
2025-04-30 17:43:37 +02:00
Shahed Nasser
4a9ac0d4be docs: localization with contentful guide (#12202) 2025-04-30 13:27:31 +03:00
Harminder Virk
ceb504db2c feat: add needed methods to the file module and providers (#12325) 2025-04-30 13:17:31 +05:30
AmbroziuBaban
3539066146 fix(dashboard): Admin Global Search broken for variants (#11877)
* fix(dashboard): Admin Global Search broken for variants

* Create small-nails-hang.md

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-30 09:35:29 +02:00
Obad Zafar
4f7fcd7597 docs: fix missing quotation mark in marketplace vendor tutorial curl request (#12315) 2025-04-29 15:45:05 +03:00
Frane Polić
4f6362b1cb fix(design-system): filter/sorting menu error (#12309) 2025-04-29 12:13:12 +02:00
Carlos R. L. Rodrigues
b868a4ef4d feat(index): add filterable fields to link definition (#11898)
* feat(index): add filterable fields to link definition

* rm comment

* break recursion

* validate read only links

* validate filterable

* gql schema array

* link parents

* isInverse

* push id when not present

* Fix ciruclar relationships and add tests to ensure proper behaviour (part 1)

* log and fallback to entity.alias

* cleanup and fixes

* cleanup and fixes

* cleanup and fixes

* fix get attributes

* gql type

* unit test

* array inference

* rm only

* package.json

* pacvkage.json

* fix link retrieval on duplicated entity type and aliases + tests

* link parents as array

* Match only parent entity

* rm comment

* remove hard coded schema

* extend types

* unit test

* test

* types

* pagination type

* type

* fix integration tests

* Improve performance of in selection

* use @@ to filter property

* escape jsonPath

* add Event Bus by default

* changeset

* rm postgres analyze

* estimate count

* new query

* parent aliases

* inner query w/ filter and sort relations

* address comments

---------

Co-authored-by: adrien2p <adrien.deperetti@gmail.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-04-29 12:10:31 +02:00
Shahed Nasser
8a3f639f01 chore(core-flows): fix note usage in TSDocs (#12318) 2025-04-29 10:49:56 +03:00
Shahed Nasser
f4fba0986c docs: fix incorrect note usage in some workflow references (#12317) 2025-04-29 10:49:28 +03:00
Shahed Nasser
c1e6b81972 docs: improve installation documentation with diagrams (#12312) 2025-04-28 19:43:28 +03:00
LennarX
f31013104b docs(algolia): rename instructed filename to fit (#12300)
The instructed filename now is the same as in the code-block below (`algolia-sync.ts`) and the instructions don't have naming conflicts (see next step which is instructing to create a file named `product-sync.ts`).
2025-04-28 19:19:06 +03:00
Shahed Nasser
56ded19bf9 docs: fix module name in product review guide (#12310) 2025-04-28 19:17:10 +03:00
Harminder Virk
552dc52228 test: use shared as integration-tests level (#12278) 2025-04-28 18:41:19 +05:30
LennarX
5f4a859911 feat(apply-i18n-placeholders): extend schema, translate and use in .tsx (#12264)
This extends the `$schema.json` by the 4 placeholders, later used in `product-create-general-section.tsx`. The placeholders affected by this are for the title, subtitle, handle and description. Should be all on this page. There is no plain / hard-coded text left in there. The translations were made for each accordingly.
2025-04-28 10:31:03 +02:00
Shahed Nasser
05b43ecdb5 docs-util: add sidebar link validation in prep script (#12306) 2025-04-28 10:50:02 +03:00