Commit Graph

6216 Commits

Author SHA1 Message Date
Shahed Nasser
82155257df docs: [3/n] generate core-flows reference (#8784) 2024-08-27 12:00:19 +03:00
Adrien de Peretti
b09c19912b fix(orchestration, workflow-sdk): Local workflow separated orchestrator (#8765)
FIXES TRI-174

**What**
Currently, every time a Local workflow is being instantiated, it will grab the global workflow definition including the orchestrator instance. This leads to issues when we have concurrent running workflows which all register their event listeners to this single orchestrator instance which can lead to exhausting the listerners. 
With this fix, every local workflow will have a copy of the global workflow definition plus a new instance (cloned) of the orchestrator meaning that from now on, every local workflow will have its own orchestrator.
2024-08-27 08:59:56 +00:00
Shahed Nasser
59217a9796 docs: add a note about the middleware regular expression (#8742) 2024-08-27 10:35:43 +02:00
Shahed Nasser
b36e2c3129 docs: update create payment collection route usage in store development (#8736) 2024-08-27 10:35:22 +02:00
Shahed Nasser
5996089c9c docs: added new guides and troubleshooting related to admin development (#8739) 2024-08-27 10:35:09 +02:00
Oli Juhl
2bacf86d3c chore: Remove prepublishOnly script (#8699)
* wip

* wip

* verbose logging

* remove prepublish scripts

* chore: add back prepublish scripts

* wip

* remove prepublishOnly script

* chore: Clean up rest of build scripts

* add back build script

* feedback

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-08-27 10:31:38 +02:00
Harminder Virk
98b4c76ece feature: add sync links command (#8775) 2024-08-27 13:43:54 +05:30
Harminder Virk
965c3c99db refactor: cleanup error output and do not add red color to help output (#8778) 2024-08-27 13:18:22 +05:30
Shahed Nasser
e4fa9ae610 docs: delete all core-flows reference (#8777) 2024-08-27 07:30:18 +00:00
Frane Polić
979f7704ee fix(dashboard): summary section return fixes (#8770)
**What**
- open receive Return if only one exists
- fix double dashed divider

---

FIXES CC-287 CC-361
2024-08-27 06:53:13 +00:00
Carlos R. L. Rodrigues
571f0c7629 chore(core-flows): product events (#8769) 2024-08-26 18:38:30 -03:00
Carlos R. L. Rodrigues
3b4eea08ef chore: peer dependency version (#8771)
* fix peer dependency version

* dotenv

* commands

* dotenv cli
2024-08-26 21:55:57 +02:00
Carlos R. L. Rodrigues
afd25846f0 chore: dependencies reorg (#8744) 2024-08-26 09:37:05 +00:00
Harminder Virk
7c2cfc132a feature: add db:create command (#8760) 2024-08-26 15:04:52 +05:30
github-actions[bot]
cd4063de74 chore(docs): Updated API Reference (v2) (#8758)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
2024-08-26 08:06:02 +00:00
Ray Quijada
bb0fcbad7b docs(ui): update 3.4 Modules & Services v2 documentation (#8751)
* chore: update 3.4 Modules and Services v2 documentation

explicitly mentioned `service.ts` requirement in 3.4 guide from 3.6

Content from:
https://docs.medusajs.com/v2/basics/modules-directory-structure#servicets

* chore: add missing dot

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2024-08-26 10:53:52 +03:00
Harminder Virk
9a508056f6 feat: add env editor utility to edit update .env files (#8741) 2024-08-25 19:31:56 +05:30
Stevche Radevski
57e7653adf fix: Doing update to cart with shipping options set removes them (#8752) 2024-08-25 10:46:48 +02:00
Carlos R. L. Rodrigues
12670683af fix(payment-stripe): fix rounding (#8753) 2024-08-25 10:44:51 +02:00
Riqwan Thamir
531285c1e9 feat(dashboard,types): add active order change panel - claims, exchanges & returns (#8738)
* feat(dashboard,types): add active order change panel - claims, exchanges & returns

* Apply suggestions from code review
2024-08-23 13:24:38 +02:00
Shahed Nasser
408ed2ee45 feat(create-medusa-app): set database name to project name (#8727)
* add check and prompt for db name

* change var format

* remove log

* remove log
2024-08-23 14:17:37 +03:00
420coupe
aa1ef20172 docs: update to include Supabase S3 File Provider (#8715)
update to include instructions for Supabase S3 Storage

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-08-23 11:10:58 +00:00
Carlos R. L. Rodrigues
058378970a chore: dependecies reorg (#8535) 2024-08-23 07:16:04 -03:00
Riqwan Thamir
59599ac237 feat(core-flows,dashboard): adds item validations for claims, returns and exchanges (#8735)
what:

- adds item validations for claims, returns and exchanges
- prevents autofocus on item add
- reset item quantity when error
2024-08-23 09:30:27 +00:00
Shahed Nasser
b23f0f8188 docs: change notes across docs based on redesign (#8662)
Change the prerequisites / soon / other notes based on latest redesign

Depends on #8661
2024-08-23 07:59:48 +00:00
Shahed Nasser
320b01f45d docs: redesign search + re-introduce ai assistant in v2 docs (#8678)
* docs: redesign search + re-introduce ai assistant in v2

* change version in ui

* show icon in case of error

* fixes based on feedback
2024-08-23 10:42:37 +03:00
Shahed Nasser
c63a08fb03 docs: second round of polishing (#8724)
* docs: second round of polishing

* fix overflowing width
2024-08-23 10:42:23 +03:00
Frane Polić
49353f8c3c feat(dashboard): order edit UI (#8700)
**What**
- order edit create flow
- active order edit panel

**Note**
- basic implementation of the flow, edge cases from the design such as fulfilled quantities validation will be added in a followup
2024-08-23 06:42:06 +00:00
Riqwan Thamir
02c6574e01 fix(admin-next,types): fixes order page from breaking in admin server (#8730) 2024-08-23 08:07:04 +02:00
ahrbil
f9749c5df6 docs: fix link href for Cart module (#8713)
The cart module in the commerce modules list on the resources page points to the product module instead of the cart module.

Thank you, medusa team, for the amazing product, this is a small fix because I spent much time on the docs and use the shortcuts in this list. 🙏
2024-08-22 13:06:14 +00:00
Carlos R. L. Rodrigues
9931b69a2a chore(core-flows): test allow backorder (#8725) 2024-08-22 11:47:31 +00:00
Stevche Radevski
9ba52021d0 fix: Log on error by default in async workflow executions (#8723) 2024-08-22 13:33:11 +02:00
Carlos R. L. Rodrigues
4c43122358 chore(core-flows): order edit - remove item update action (#8722) 2024-08-22 11:32:27 +00:00
Carlos R. L. Rodrigues
cad6dae231 fix(core-flows): allow backorder (#8721) 2024-08-22 13:28:22 +02:00
Shahed Nasser
bc74e381ad feat(utils): use dotenv-expand to allow variables within env (#8720) 2024-08-22 13:51:36 +03:00
Shahed Nasser
0acd94aac3 docs: refactor medusa workflows reference (#8692)
* docs: fix handling of namespaces in core flows under definitions directory

* change nested handling

* docs-util: expand workflows under definitions in workflows reference

* remove check for definitions
2024-08-22 13:39:52 +03:00
Riqwan Thamir
4219674ead fix: enable next actions bar when refund is available (#8719) 2024-08-22 10:02:43 +00:00
Shahed Nasser
64820cebef chore(core-flows): move cart and line item flows outside definition (#8703)
* chore(core-flows): move cart and line item flows outside definition

* remove all references of definition

* export cart and line items
2024-08-22 12:19:37 +03:00
github-actions[bot]
83bfad386e chore(docs): Updated API Reference (v2) (#8714)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
2024-08-22 08:52:13 +00:00
Shahed Nasser
810debc7bb docs: add a note about installing preview version (#8648)
- Add a note about ensuring a package's version is set to `preview` in `package.json`
- Add a troubleshooting guide for deployments with a section about preview versions
- Added a troubleshooting section to the railway deployment guide about preview versions

Closes #8646
Closes DOCS-913
2024-08-22 08:33:24 +00:00
Christian
bb4c58d526 feat: add missing crud to provider identity service (#8717) 2024-08-22 09:39:29 +02:00
Riqwan Thamir
335061d8cd feat(medusa,types,core-flows): apply created_by values - claims, exchanges, returns, fulfillment (#8712)
what:

- Applies created_by values - claims, exchanges, returns, fulfillment

RESOLVES CC-96
2024-08-21 18:15:55 +00:00
Shahed Nasser
f00889fe4e docs: fix link to payment concept guide in sidebar (#8708) 2024-08-21 20:05:07 +02:00
Shahed Nasser
b6f990c017 docs: design polish (#8696)
* polish

* finish polish

* change typography
2024-08-21 20:04:43 +02:00
Shahed Nasser
a3c311126e docs: fix algolia cron script (#8701) 2024-08-21 20:01:36 +02:00
Riqwan Thamir
cb6cc79018 feat(fulfillment,order): add created_by fields to fulfillment, return, claim, exchange (#8711)
what: 

- add created_by fields to fulfillment, return, claim, exchange
2024-08-21 17:59:42 +00:00
Riqwan Thamir
01583baf6d chore(order): align mikroorm <> order module (#8710)
what:

- aligns the order module migrations with mikroorm snapshot
2024-08-21 17:37:17 +00:00
Carlos R. L. Rodrigues
24377053f0 fix(types): pluralize (#8709) 2024-08-21 14:04:16 -03:00
Carlos R. L. Rodrigues
27a2dcb10d feat(core-flows): order edit request (#8705) 2024-08-21 13:59:33 -03:00
Shahed Nasser
f3e4b7dfd0 docs: fix tooltip placement and width in workflows reference (#8691) 2024-08-21 17:49:24 +03:00