Commit Graph

4172 Commits

Author SHA1 Message Date
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
Carlos R. L. Rodrigues
3d3fd9e500 fix(core-flows): add order transaction on capture (#8591) 2024-08-14 11:16:19 +00:00
Harminder Virk
19d30df624 refactor: Run migrations and links sync after loading the app (#8582) 2024-08-14 14:09:24 +05:30
Shahed Nasser
92a7b5b4c0 docs-util: fix OAS generation error (#8577) 2024-08-14 11:21:22 +03:00
Riqwan Thamir
01c8e4d3c1 fix(core-flows): fixes build fails (#8584) 2024-08-13 13:30:18 +00:00
Riqwan Thamir
e823021446 feat(core-flows): introduce a generic create entities step (#8553) 2024-08-13 14:50:17 +02:00
Riqwan Thamir
6f50e376a9 fix(core-flows): fixes duplicate fulfillment issue (#8581)
what:

- fixes a bug where fulfilling an outbound item was throwing an error due to the entire order being processed for fulfillment

RESOLVES CC-298
2024-08-13 10:40:46 +00:00
Shahed Nasser
1c8aeb9735 chore(medusa,types): [14/14] Add request types to API routes (#8576)
* chore(medusa,types): [14/14] Add request types to API routes

* more types
2024-08-13 12:57:13 +03:00
Shahed Nasser
5ff5159cee chore(medusa,types): [13] Add request types to API routes (#8575) 2024-08-13 12:56:54 +03:00
Shahed Nasser
369d7b54d2 chore(medusa,types): [12] Add request types to API routes (#8574) 2024-08-13 12:56:35 +03:00
Shahed Nasser
82de6572f9 chore(medusa,types): [11] Add request types to API routes (#8572) 2024-08-13 12:56:18 +03:00
Carlos R. L. Rodrigues
1ff988c3f8 feat(core-flows): order edit flows (#8555)
What:
 - Order edit workflows

Tests of the flows will come in a next PR together with http endpoints
2024-08-13 09:47:01 +00:00
Stevche Radevski
a013c4edc5 feat: Move userpass default definition to defineConfig instead of a hard-coded value (#8557) 2024-08-13 11:10:23 +02:00
Shahed Nasser
fc439a32f1 chore(medusa,types): [8] Add request types to API routes (#8565) 2024-08-13 10:10:10 +03:00
Shahed Nasser
571a3d1671 chore(medusa,types): [7] Add request types to API routes (#8564)
Add request types as type arguments in API routes. This also includes adding / rearranging types under the `types` package.

PR 7/n
2024-08-13 07:00:36 +00:00
Kasper Fabricius Kristensen
b2250ed7b1 feat(dashboard): BulkEditor Boolean cell behaviour (#8418)
* progress

* progress

* add special Space behaviour for boolean cells

* prevent shift clicking setting rangeEnd outside of anchor column
2024-08-13 08:47:54 +02:00
Shahed Nasser
b78e286224 chore(medusa,types): [10] Add request types to API routes (#8567) 2024-08-13 09:38:56 +03:00
Shahed Nasser
61cbc8c0be chore(medusa,types): [9] Add request types to API routes (#8566) 2024-08-13 09:38:33 +03:00
Shahed Nasser
6d210c67b1 chore(medusa,types): [6] Add request types to API routes (#8563)
* chore(medusa,types): [6] Add request types to API routes

* more types
2024-08-13 09:37:36 +03:00
Shahed Nasser
eb331a4bca chore(medusa,types): [5] Add request types to API routes (#8562)
* chore(medusa,types): [5] Add request types to API routes

* more types
2024-08-13 09:37:24 +03:00
Shahed Nasser
078c2df773 chore(medusa,types): [4] Add request types to API routes (#8561) 2024-08-13 09:37:11 +03:00
Shahed Nasser
578e5182dd chore(medusa,types): [3] Add request types to API routes (#8560)
* chore(medusa,types): [3] Add request types to API routes

* more types
2024-08-13 09:36:56 +03:00
Shahed Nasser
e5e8489cc0 chore(medusa,types): [2] Add request types to API routes (#8559)
* chore(medusa,types): [2] Add request types to API routes

* fix up base currency
2024-08-13 09:36:41 +03:00
Carlos R. L. Rodrigues
96bdf3e2c6 chore(core-flows): order transactions (#8568)
What:

- Add order transaction when Cart is completed and payment is refunded
2024-08-12 19:06:58 +00:00
Shahed Nasser
24985cf89d chore(medusa,types): [1] Add request types to API routes (#8558)
Add request types as type arguments in API routes. This also includes adding / rearranging types under the `types` package.

PR 1/n
2024-08-12 11:27:00 +00:00
Riqwan Thamir
dd4147314f feat(core-flows,dashboard,medusa): fixes set of tiny bugs in claims flow (#8551)
* feat(types,dashboard): ability to set shipping methods for claim

* chore: fix a bunch of stuff

* chore: update comment
2024-08-12 13:09:19 +02:00
Carlos R. L. Rodrigues
6ffe85aa3d chore(core-flows): favor runAsStep (#8540) 2024-08-12 06:21:11 -03:00
Shahed Nasser
f14f398685 feat(create-medusa-app): prompt for database name with credentials (#8552)
* feat(create-medusa-app): prompt for database name with credentials

* refactor
2024-08-12 11:52:21 +03:00
Christian
4eb2e8379f feat: create return reason (#8516)
* feat: create and edit return reasons

* add prop to hide data table header

* make return reasons searchable

* hide table header
2024-08-12 07:47:07 +02:00
Shahed Nasser
79b49c1288 chore(core-flows): export used steps / workflows (#8534)
Export steps / workflows I missed that weren't exported but are used by other workflows
2024-08-09 13:29:54 +00:00
Riqwan Thamir
3fe5848e72 feat(types,dashboard): ability to set shipping methods for claim (#8533) 2024-08-09 11:51:33 +02:00
Shahed Nasser
f659c6d8bd chore(core-flows): [10] export types and types, add basic TSDocs (#8520)
* chore(core-flows): [10] export types and types, add basic TSDocs

* fix overlapping names

* fix overlapping name
2024-08-09 09:08:27 +02:00
Riqwan Thamir
a93b025233 feat(dashboard,js-sdk,types): ability to add refund reason and note (#8466)
what: 

- adds ability to add refund reason and note to a refund

<img width="524" alt="Screenshot 2024-08-06 at 13 06 59" src="https://github.com/user-attachments/assets/51537e9b-170b-4dd6-9de5-6bdea5e26822">

<img width="1090" alt="Screenshot 2024-08-06 at 12 57 18" src="https://github.com/user-attachments/assets/70bc84a4-5ebf-43e9-8416-370fd37ba615">

<img width="247" alt="Screenshot 2024-08-06 at 13 08 46" src="https://github.com/user-attachments/assets/b1dc1d83-7fb8-4af5-9a5b-fddb63ff1812">
2024-08-08 21:19:08 +00:00