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
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
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
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
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
Riqwan Thamir
a7d03ec562
feat(dashboard,core-flows): ability to refund payment post RMA flow ( #8685 )
2024-08-21 09:58:09 +02: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)

**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".

Resolves CC-248
2024-08-20 13:09:30 +00: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
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
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
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
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
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
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
Oli Juhl
bda3f68057
fix(notification): Properly disable notification providers ( #8607 )
2024-08-15 14:59:14 +02:00
Shahed Nasser
b7bb793f03
feat(medusa-oas-cli): automatically fix missing circular references ( #8600 )
2024-08-15 13:31:47 +03:00
Riqwan Thamir
4cb28531e5
feat(core-flows,dashboard): add fixes to allow only outbound or inbound claims ( #8590 )
...
what:
- allows completing claim with only inbound items
- allows completing claim with only outbound items
- validates against creating claims when an active change order is present
2024-08-14 21:09:05 +00:00
Carlos R. L. Rodrigues
a45ff1c147
fix(chore-flows): update shipping method price ( #8592 )
2024-08-14 12:53:59 +00:00