Commit Graph

6101 Commits

Author SHA1 Message Date
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
Shahed Nasser
b4d4b10ba5 docs: fix $lt and $gt in api reference (#8580) 2024-08-15 16:47:09 +03:00
Shahed Nasser
198d7c9927 docs: add a section in the book on how to retrieve a relationship (#8594) 2024-08-15 16:30:00 +03:00
Shahed Nasser
3bdfb66238 docs: change from showing required to showing optional in types references (#8593) 2024-08-15 16:29:49 +03: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
github-actions[bot]
3ea467e3e8 chore(docs): Generated References (#8598)
Generated the following references:
- `core_flows`
- `modules`
- `types`

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-08-15 09:42:38 +00:00
Shahed Nasser
b4f3b8a79d docs: redesign sidebar (#8408)
* initial changes

* redesign the sidebar + nav drawer

* changes to sidebar items

* finish up sidebar redesign

* support new sidebar in resources

* general fixes

* integrate in ui

* support api reference

* refactor

* integrate in user guide

* docs: fix build errors

* fix user guide build

* more refactoring

* added banner

* added bottom logo + icon

* fix up sidebar

* fix up paddings

* fix shadow bottom

* docs: add table of content (#8445)

* add toc types

* implement toc functionality

* finished toc redesign

* redesigned table of content

* mobile fixes

* truncate text in toc

* mobile fixes

* merge fixes

* implement redesign

* add hide sidebar

* add menu action item

* finish up hide sidebar design

* implement redesign in resources

* integrate in api reference

* integrate changes in ui

* fixes to api reference scrolling

* fix build error

* fix build errors

* fixes

* fixes to sidebar

* general fixes

* fix active category not closing

* fix long titles
2024-08-15 12:13:13 +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
github-actions[bot]
c820741df9 chore(docs): Generated References (#8583)
Generated the following references:
- `core_flows`
- `modules`
- `order`
- `types`

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-08-13 13:58:28 +00: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
Shahed Nasser
cd0acbd921 docs: fixes and preparations for workflows reference (#8579)
- Fix the merger configuration that adds the correct slug / sidebar labels
- Add an overview page for the workflows reference.
- Fixes to components and build scripts
2024-08-13 12:30:55 +00: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
github-actions[bot]
e5909d4aad chore(docs): Generated References (#8573)
Generated the following references:
- `cart`
- `core_flows`
- `dml`
- `fulfillment`
- `helper_steps`
- `inventory_next`
- `modules`
- `order`
- `order_models`
- `payment`
- `pricing`
- `promotion`
- `tax`
- `types`
- `utils`
- `workflows`

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-08-13 09:26:51 +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
Shahed Nasser
163205a9a2 docs-util: associate an API route with the workflow it uses (#8554) 2024-08-13 09:56:06 +03:00
Shahed Nasser
705ea0ad33 docs: improve the workflow hooks guide (#8538)
* initial

* docs: improve workflow hook guides
2024-08-13 09:55:37 +03:00
Shahed Nasser
d0db833817 docs: added troubleshooting for using pnpm (#8537) 2024-08-13 09:54:56 +03:00
Shahed Nasser
35da5dedc1 docs: fix build errors + update medusa docs link (#8550)
* docs: update medusa docs link

* fix @medusajs/icon version

* fix user guide build

* fix build error
2024-08-13 08:51:20 +02: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
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