Commit Graph

6054 Commits

Author SHA1 Message Date
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
a19c562bec docs-util: add support for workflows in markdown theme (#8485)
* add template for workflows

* initial changes

* added support for parallel steps

* added support for when

* added merge options

* fix merge options

* fix to tooltip

* clean up

* remove redirects

* fixes

* theme fixes + added merge options

* generate hook examples + fixes

* changed namespaces

* add custom autogenerator

* change type of additional data
2024-08-09 16:35:52 +03: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
github-actions[bot]
fdc94f6482 chore(docs): Generated References (automated) (#8532)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-09 11:31:37 +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
Shahed Nasser
f9a8fcc0bc chore(core-flows): [13] export types and steps, add basic TSDocs (#8523) 2024-08-08 21:14:10 +03:00
Shahed Nasser
10f72f15b0 chore(core-flows): [15] export types and steps, add basic TSDocs (#8525) 2024-08-08 21:13:55 +03:00
Carlos R. L. Rodrigues
c9c1a5b41c chore: rm pg dependency (#8526) 2024-08-08 17:22:57 +00:00
Carlos R. L. Rodrigues
91f07e1a59 chore(order): item update quantity (#8513) 2024-08-08 14:12:16 -03:00
Shahed Nasser
6efdfbc9a6 chore(core-flows): [18/18] export types and types, add basic TSDocs (#8529) 2024-08-08 20:03:49 +03:00
Shahed Nasser
faa09d12f6 chore(core-flows): [17] export types and steps, add basic TSDocs (#8528) 2024-08-08 20:03:38 +03:00
Shahed Nasser
8ee3da4644 chore(core-flows): [16] export types and steps, add basic TSDocs (#8527) 2024-08-08 20:03:27 +03:00
Shahed Nasser
e386216512 chore(core-flows): [14] export types and steps, add basic TSDocs (#8524) 2024-08-08 20:03:13 +03:00
Shahed Nasser
288ed2747b chore(core-flows): [12] export types and types, add basic TSDocs (#8522) 2024-08-08 20:02:42 +03:00
Shahed Nasser
4c2d605599 chore(core-flows): [11] export types and types, add basic TSDocs (#8521) 2024-08-08 20:02:28 +03:00
Shahed Nasser
945b920708 chore(core-flows): [9] export types and types, add basic TSDocs (#8519)
This PR exports types and steps from the core-flows package, and adds simple TSDocs for workflows / steps. This is essential for the workflows reference.

PR 9/n
2024-08-08 16:41:12 +00:00
Shahed Nasser
6e4037edf4 chore(core-flows): [8] export types and types, add basic TSDocs (#8517)
This PR exports types and steps from the core-flows package, and adds simple TSDocs for workflows / steps. This is essential for the workflows reference.

PR 8/n
2024-08-08 16:39:32 +00:00
Shahed Nasser
89fd065fa3 chore(core-flows): [7] export types and types, add basic TSDocs (#8514)
This PR exports types and steps from the core-flows package, and adds simple TSDocs for workflows / steps. This is essential for the workflows reference.

PR 7/n
2024-08-08 16:38:10 +00:00
Shahed Nasser
0bfe31e594 chore(core-flows): [6] export types and types, add basic TSDocs (#8512)
This PR exports types and steps from the core-flows package, and adds simple TSDocs for workflows / steps. This is essential for the workflows reference.

PR 6/n
2024-08-08 16:37:03 +00:00
Stevche Radevski
4af82aab32 fix: Use local notification provider for feed channel by default (#8518) 2024-08-08 18:22:50 +02:00
Oli Juhl
90120d6463 fix(dashboard): Delete product media (#8506) 2024-08-08 17:00:46 +02:00
Riqwan Thamir
a7cace90e0 feat(medusa): filter shipping options by location (#8511)
what:

- filters shipping options by location ID

RESOLVES CC-328
2024-08-08 14:40:02 +00:00
Christian
d4c5f6593d Feat: admin return reason list (#8482)
* feat: add missing endpoints to return reason sdk

* add return reason list route

* add return reason query hooks

* fix update return reasons in order modules service

* fix store/return-reasons middleware

* add missing tests for /return-resasons/:id
2024-08-08 16:24:13 +02:00
Shahed Nasser
f9989e1659 chore(core-flows): [5] export types and types, add basic TSDocs (#8510)
This PR exports types and steps from the core-flows package, and adds simple TSDocs for workflows / steps. This is essential for the workflows reference.

PR 5/n
2024-08-08 14:15:06 +00:00
Shahed Nasser
cb6796fe4b chore(core-flows): [2] export types and types, add basic TSDocs (#8505)
This PR exports types and steps from the core-flows package, and adds simple TSDocs for workflows / steps. This is essential for the workflows reference.

PR 2/n
2024-08-08 14:14:55 +00:00
Shahed Nasser
1bb4e764d1 chore(core-flows): [3] export types and types, add basic TSDocs (#8507)
This PR exports types and steps from the core-flows package, and adds simple TSDocs for workflows / steps. This is essential for the workflows reference.

PR 3/n
2024-08-08 14:12:05 +00:00
Shahed Nasser
9ea0783494 chore(core-flows): [4] export types and types, add basic TSDocs (#8509)
This PR exports types and steps from the core-flows package, and adds simple TSDocs for workflows / steps. This is essential for the workflows reference.

PR 4/n
2024-08-08 14:11:52 +00:00
Carlos R. L. Rodrigues
3f5ddc5bce chore: normalize packages version (#8492) 2024-08-08 13:52:05 +00:00
Shahed Nasser
73cc66905a chore(core-flows): [1] export types and types, add basic TSDocs (#8504)
This PR exports types and steps from the core-flows package, and adds simple TSDocs for workflows / steps. This is essential for the workflows reference.

PR 1/n
2024-08-08 13:15:44 +00:00
Shahed Nasser
fe200e0bb3 docs-util: added a namespaces plugin (#8500)
Added a namespaces plugin that allows generating namespaces and automatically adds reflections in a path pattern to the namespace.

This is particularly useful for the workflows reference, as workflows under the `**/packages/core/core-flows/**/workflows/**` path pattern are shown under a Workflows title, and steps under the path pattern `**/packages/core/core-flows/**/steps/**` are shown under a Steps title.
2024-08-08 13:03:42 +00:00
Oli Juhl
c21407afbe fix(event-bus-redis): Consume job correct in worker (#8444)
* fix(event-bus-redis): Consume job correct in worker

* fix: Unit tests

* fix event passed to subscriber

* typo
2024-08-08 14:53:42 +02:00
Riqwan Thamir
85ed025705 feat(dashboard,js-sdk,medusa): add ability to add outbound items to claim (#8502)
what:

- user can add/remove/update outbound items to a claim
- adds API to query variants

Note: There are several paths that are not implemented yet correctly, but have some code lying around. Those will be tackled in the followup PRs

https://github.com/user-attachments/assets/cadb3f7a-982f-44c7-8d7e-9f4f26949f4f

RESOLVES CC-330
RESOLVES CC-296
2024-08-08 12:20:13 +00:00
Harminder Virk
9cd66bc842 feature: share execution context with hook handlers (#8501) 2024-08-08 17:18:07 +05:30
Harminder Virk
f831deaf74 cleanup: use WithAdditionalData helper everywhere (#8499) 2024-08-08 16:55:15 +05:30
Harminder Virk
08764e3965 feature: add workflows hooks to the order module (#8496) 2024-08-08 16:25:11 +05:30
github-actions[bot]
3259b9204c chore(docs): Generated References (#8495)
Generated the following references:
- `modules`
- `order`
- `types`
2024-08-08 06:38:28 +00:00
Shahed Nasser
eb09a063dc chore: fix actions generating docs (#8486)
* chore: fix actions generating docs

* add to vale tests
2024-08-08 09:22:55 +03:00
Carlos R. L. Rodrigues
0b6bcdd538 chore(core-flows): util to format inventory input (#8483) 2024-08-07 15:15:17 -03:00
Riqwan Thamir
d50161fa32 feat(adshboard,types,medusa): enable adding notes/return reason to inbound claims (#8488)
* wip: setup UI

* wip: rendering modal, adding claim items, create checks

* fix: make form work after merge

* fix: continuation of claim edit

* chore: ability to add and remove items to claim inbound

* chore: minor fixes

* chore: add toast messages on actions

* feat(adshboard,types,medusa): enable adding notes/return reason to inbound items

* chore: fix types in a bunch of places

* chore: add conditional for actions

* Update packages/admin-next/dashboard/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>

---------

Co-authored-by: fPolic <mainacc.polic@gmail.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2024-08-07 19:32:07 +02:00
Carlos R. L. Rodrigues
c017be2a54 chore(utils): improve to handle util (#8487) 2024-08-07 11:33:19 -03:00
Riqwan Thamir
eb590417be feat(core-flows,dashboard,medusa): ability to add and remove items to claim inbound (#8480)
* wip: setup UI

* wip: rendering modal, adding claim items, create checks

* fix: make form work after merge

* fix: continuation of claim edit

* chore: ability to add and remove items to claim inbound

* chore: minor fixes

---------

Co-authored-by: fPolic <mainacc.polic@gmail.com>
2024-08-07 15:27:04 +02:00
Riqwan Thamir
17567b9f0a feat(dashboard): claims first implementation (#8468)
* wip: setup UI

* wip: rendering modal, adding claim items, create checks

* fix: make form work after merge

* fix: continuation of claim edit

---------

Co-authored-by: fPolic <mainacc.polic@gmail.com>
2024-08-07 13:40:31 +02:00
Carlos R. L. Rodrigues
1fb679e785 feat(core-flows): manage inventory reservation of claims and exchanges (#8448) 2024-08-07 07:49:58 -03:00
github-actions[bot]
3ac235e098 chore(docs): Generated References (automated) (#8478)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
2024-08-07 12:38:54 +02:00
Harminder Virk
7695d30952 feature: add create and update cart hooks (#8481) 2024-08-07 16:00:37 +05:30
Oli Juhl
78eb457487 fix(core-flows): Allow return requests with no shipping (#8472)
Closes CC-265
2024-08-07 07:48:14 +00:00
Oli Juhl
1e0149ad08 fix(core-flows): Unsetting reason on return items (#8470) 2024-08-07 09:33:43 +02:00
Carlos R. L. Rodrigues
3d7dce2bec fix(core-flows): copy line items attribute (#8471)
removing `requires_shipping` from variant won't be part of this PR
2024-08-06 18:58:08 +00:00