Commit Graph

6147 Commits

Author SHA1 Message Date
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
Shahed Nasser
1020ab0b97 docs: improve main docs and resources sidebar (#8664) 2024-08-20 12:31:50 +02:00
github-actions[bot]
bc19a9162a chore(docs): Generated References (automated) (#8667)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-20 12:31:20 +02:00
github-actions[bot]
cb2ead3a1c chore(docs): Generated API Reference (v2) (#8668)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-20 12:31:06 +02:00
Riqwan Thamir
fa44e3f5a8 feat(dashboard,core-flows,js-sdk,types,link-modules,payment): ability to copy payment link (#8630)
what: 

- enables a button to create a payment link when a payment delta is present
- api to delete order payment collection
- adds a pending amount to payment collections

Note: Not the happiest with the decision on when to create a payment collection and when not to. The code should programatically create or delete payment collections currently to generate the right collection for the payment delta. Adding a more specific flow to create and manage a payment collection will help reduce this burden from the code path and onto CX/merchant.

Another issue I found is that the payment collection status doesn't get updated when payment is complete as it still gets stuck to "authorized" state

https://github.com/user-attachments/assets/037a10f9-3621-43c2-94ba-1ada4b0a041b
2024-08-20 10:30:17 +00:00
Harminder Virk
69830ca89c fix: maintain connections pool (#8670) 2024-08-20 14:54:52 +05:30
Carlos R. L. Rodrigues
eb0bfe9f33 feat(workflows-sdk): log on error (#8666) 2024-08-20 06:23:24 -03:00
Carlos R. L. Rodrigues
1be9373290 chore(core-flows): order update item quantity (#8659) 2024-08-19 18:14:57 +00:00
Carlos R. L. Rodrigues
dd82a56ec5 fix(payment-stripe): fix smallest unit calculation (#8663) 2024-08-19 19:19:49 +02:00
Carlos R. L. Rodrigues
aa6e504771 chore(core-flows): set packed_at when fulfillment is created (#8665) 2024-08-19 19:16:48 +02:00
Riqwan Thamir
4791d1d775 fix(promotion): validate rules accurately when attribute is scoped by context (#8655) 2024-08-19 15:38:42 +02:00
Kasper Fabricius Kristensen
a66bd3bd6b fix(dashboard): Use proper heading size (#8658) 2024-08-19 14:56:26 +02:00
Kasper Fabricius Kristensen
894db4a150 feat(dashboard): Hitting escape restores previous value (#8654)
* feat(dashboard): Hitting escape restores previous value

* update lock
2024-08-19 14:02:30 +02:00
Shahed Nasser
a77c23c915 docs: redesign code highlights + add default code titles (#8628)
* docs: code highlights improvements + default titles

* spacing fixes

* fix terminal detection

* add padding for non-terminal one liners
2024-08-19 13:34:07 +03:00
Frane Polić
d571d564c3 fix(dashboard): disable RMAs if there is no shipped items (#8652) 2024-08-19 12:30:56 +02:00
Kasper Fabricius Kristensen
cbdec98df1 fix check for displaying placeholder value (#8649) 2024-08-19 11:01:36 +02:00
Shahed Nasser
800d034c89 docs: update algolia (#8625)
Update algolia to fix issues with highlighting and snippets
2024-08-19 07:12:02 +00:00
Shahed Nasser
c479fe8220 docs: added edit date (#8623) 2024-08-19 09:47:57 +03:00
Kasper Fabricius Kristensen
8c784a8b30 fix(dashboard): Replace react-nestable with new SortableTree component (#8599)
**What**
- Removes `react-nestable` dependency in favour of our own solution based on `@dnd-kit/core`

Resolves CC-217
2024-08-18 20:21:03 +00:00
Shahed Nasser
66c39ef876 docs: bug fixes for copy and color mode (#8626)
* docs: bug fixes for copy and color mode

* remove unused dependency
2024-08-18 17:01:15 +02:00
github-actions[bot]
46310e32d0 chore(docs): Generated API Reference (v2) (#8643)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-18 16:55:04 +02:00
github-actions[bot]
fb0644b8f6 chore(docs): Generated References (automated) (#8642)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-18 16:54:36 +02:00
Stevche Radevski
4980285317 chore: Remove create user tests that are no longer relevant (#8638) 2024-08-18 16:53:56 +02:00
Carlos R. L. Rodrigues
be942ff15c fix(order): update order summary when transactions change (#8633) 2024-08-16 19:40:44 +00:00
Stevche Radevski
0f240137e9 fix: Remove the endpoint to create a user (#8629) 2024-08-16 16:12:32 +02:00
Carlos R. L. Rodrigues
5200e816c9 fix(order): order summary on order creation (#8624) 2024-08-16 07:52:24 -03:00
Oli Juhl
2f62b47bff fix(pricing): Calculate price sets with amount 0 (#8622) 2024-08-16 12:49:11 +02:00
Shahed Nasser
559a6d70d9 docs: remove steps from workflows reference overview (#8595)
* docs: remove steps from workflows reference overview

* fix styling of typelist element

* fix categories with no items showing
2024-08-16 12:37:13 +03:00
Shahed Nasser
f0f83afdd9 docs-util: fix update OAS schema (#8556)
* docs-util: fix update OAS schema

* fix to updating

* fix condition
2024-08-16 12:37:03 +03:00
Riqwan Thamir
adcd25650c feat(medusa,core-flows,types): API to create payment collections for order (#8617)
what:

- adds an API to create a payment collection for order
2024-08-16 08:16:40 +00:00
github-actions[bot]
bb72fda9ae chore(docs): Generated References (#8618)
Generated the following references:
- `core_flows`
- `modules`
- `types`
2024-08-16 06:46:10 +00:00
github-actions[bot]
0f67345308 chore(docs): Updated API Reference (v2) (#8619)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
2024-08-16 06:46:04 +00:00
Shahed Nasser
9bdcdc76a8 docs: redesign help button (#8610)
Redesign help button

Closes DOCS-817
2024-08-16 06:40:05 +00:00
Shahed Nasser
0cc2a62b9b docs: collapse sidebar by default in main docs + persist state (#8608)
* docs: collapse sidebar by default in main docs + persist state

* persist sidebar hidden
2024-08-16 09:29:14 +03:00
Shahed Nasser
1bfdceb34c docs: fix usage of AdminCreateProduct in validation of digital product recipe (#8601) 2024-08-16 09:28:31 +03:00
Shahed Nasser
f00e61707c docs: update colors and typography (#8604) 2024-08-16 09:28:16 +03:00
Shahed Nasser
12728f17ad docs: fix scroll top margin (#8605) 2024-08-16 09:28:02 +03:00
Shahed Nasser
5abe9f9c66 docs: fix expand badge (#8611)
* fix component

* update expand URL
2024-08-16 09:26:16 +03:00
Shahed Nasser
47eb19ca5d docs: add associated workflow badge in api reference (#8613) 2024-08-16 09:26:04 +03:00
Shahed Nasser
0b6bc7e05f docs: redesign pagination (#8614) 2024-08-16 09:25:53 +03:00
Riqwan Thamir
82c147b91e feat(dashboard,core-flows,js-sdk,types,medusa): Add exchange UI + fixes (#8606)
what:

- adds exchange UI
- fixes bugs on core-flows and endpoints
- random set of tiny fixes


https://github.com/user-attachments/assets/b163b9c1-4475-4936-ae98-20795760cc55
2024-08-15 17:54:51 +00:00
Carlos R. L. Rodrigues
ba34c53151 fix(order): summary original_total (#8616) 2024-08-15 14:15:05 -03:00
Oli Juhl
9de9b3825f fix(payment): Partial refunds (#8603)
* fix(payment): Partial payment provider refunds

* add tests
2024-08-15 19:01:22 +02:00
Carlos R. L. Rodrigues
c92aa3e397 feat(core-flow): order edit endpoints (#8596)
* The relevant part of this PR is only at folder `packages/medusa/src/api/admin/order-edits/`
All the other changes are Types

Missing: 
* `/store` endpoints to confirm/decline the order change
* http tests of the full flow
2024-08-15 16:59:36 +00:00
github-actions[bot]
b23ddcdde8 chore(docs): Updated API Reference (v2) (#8609)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-08-15 14:31:35 +00:00
Shahed Nasser
4bd0917aed docs: change workflow diagram to list (#8602) 2024-08-15 16:47:27 +03:00