Commit Graph

6192 Commits

Author SHA1 Message Date
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
Shahed Nasser
64283d0e83 docs: redesign API runner (#8688)
* fix up block style + plain theme color

* initial redesign

* docs: redesign API Runner

* revert yarn.lock changes
2024-08-21 17:48:16 +03:00
Shahed Nasser
539266559c chore: update the medusa config TSDocs + options (#8697) 2024-08-21 17:46:14 +03:00
Riqwan Thamir
a5707fd3bc feat(dashboard): add activities for order - claim, exchange, payment (#8702)
what:

- add activities for order - claim, exchange, payment

<img width="382" alt="Screenshot 2024-08-21 at 16 12 31" src="https://github.com/user-attachments/assets/56627d63-69b4-4b9c-b9db-c670fe49bfc9">


RESOLVES CC-344
2024-08-21 14:38:18 +00:00
Riqwan Thamir
de7848f68d fix(core-flows): account for unfulfilled items while generating order status (#8698)
what:

- account for unfulfilled items while generating order status

RESOLVES CC-314
2024-08-21 14:33:43 +00:00
Riqwan Thamir
0da9445d80 fix(dashboard): bust order preview cache to reset fulfilled quantity (#8687) 2024-08-21 16:23:49 +02:00
Shahed Nasser
1e07ab1b8d docs: fix broken pages due to remark plugin (#8694)
* docs: fix broken pages due to remark plugin

* refactor condition

* Update component-link-fixer.ts
2024-08-21 15:29:46 +03:00
Shahed Nasser
2f0166901f docs: fix response code snippet in api reference (#8689) 2024-08-21 11:52:22 +02:00
Shahed Nasser
9734ad1e51 docs: fix category not opening in api reference from algolia search (#8690) 2024-08-21 11:52:13 +02:00
Riqwan Thamir
a7d03ec562 feat(dashboard,core-flows): ability to refund payment post RMA flow (#8685) 2024-08-21 09:58:09 +02:00
github-actions[bot]
cc3e84f081 chore(docs): Updated API Reference (v2) (#8686)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
2024-08-21 07:20:13 +00:00
Christian
c999b414e7 fix: add missing typings to create provider identity (#8677)
* fix: add missing typings to create provider identity

* add app_metadata to filterable fields for auth identity
2024-08-21 07:29:31 +02:00
Riqwan Thamir
8bd284779e feat(dashboard,core-flows,js-sdk,types): ability to mark payment as paid (#8679)
* feat(core-flows): create or update payment collections in RMA flows

* chore: change ui to pick payment link from unpaid payment collection

* Apply suggestions from code review

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>

* chore: fix mathbn

* feat(dashboard,core-flows,js-sdk,types): ability to mark payment as paid

* chore: add captured bt

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-08-20 22:58:28 +02:00
Carlos R. L. Rodrigues
99eca64c20 chore(order): preview removed items (#8680) 2024-08-20 14:53:39 -03:00
Riqwan Thamir
430d9a38c4 feat(core-flows): create or update payment collections in RMA flows (#8676)
* feat(core-flows): create or update payment collections in RMA flows

* chore: change ui to pick payment link from unpaid payment collection

* Apply suggestions from code review

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>

* chore: fix mathbn

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-08-20 18:40:58 +02:00
Christian
29830f0077 feat: create auth provider identity (#8675) 2024-08-20 16:38:06 +02:00
Kasper Fabricius Kristensen
3706bf51af feat(dashboard): Wrap each route in an ErrorBoundary (#8674)
**What**
- Updates the copy of the different error types
- Wraps each route (+ custom routes) in an ErrorBoundary to preserve app layout on error (sidebar and topbar)

![Skærmbillede 2024-08-20 kl  12 35 53](https://github.com/user-attachments/assets/0c589fc4-b279-4b66-9d66-1b99a7406696)

**Note**
If the user goes to a route that does not exist at all, e.g. `/some-weird-url`, then we have no way of knowing if the user is inside of a context where we can render the sidebar and topbar (as they require the user to be authenticated). So in this case we still show an ErrorBoundary where the two aren't included (see second picture), and include a button that takes the user to "/", which depending on whether the user is logged in will take them to "/login" or "/orders".

![image](https://github.com/user-attachments/assets/08dde48a-3bb8-41a1-9a0e-2c41716baf0b)

Resolves CC-248
2024-08-20 13:09:30 +00:00
Shahed Nasser
b4d8e265e3 docs: redesign cards (#8671)
* docs: redesign cards

* fix build error
2024-08-20 14:48:17 +02:00
Shahed Nasser
48fe819d9e docs: redesign vertical tabs (#8673) 2024-08-20 14:48:09 +02:00
Shahed Nasser
43202dde0f docs: redesign footer (#8651) 2024-08-20 14:47:53 +02:00
Shahed Nasser
b8ba020cd5 docs: redesign tables (#8653)
* docs: redesign tables

* fixes
2024-08-20 14:47:36 +02:00
Shahed Nasser
73905c14b1 docs: redesign notes (#8661)
* docs: redesign notes

* fix color for warning notes

* allow optional links

* show links in a note

* allow line code in notes
2024-08-20 14:47:24 +02:00
Harminder Virk
5f310c0a00 breaking: remove POSTGRES prefix env variables in favor of DATABASE prefix (#8672) 2024-08-20 17:05:19 +05:30
Kasper Fabricius Kristensen
cfdd056d70 fix(dashboard): Fix minor issues with Reservations and Inventroy Create forms (#8657) 2024-08-20 13:31:31 +02:00
Shahed Nasser
45f9961d19 docs: remove link to events reference (#8669) 2024-08-20 12:32:04 +02:00