github-actions[bot]
4f6af666da
chore(docs): Generated References (automated) ( #8138 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com >
2024-07-16 10:59:12 +01:00
Adrien de Peretti
8a68919ed3
chore: Allow to fetch remote link using the service name or the alias from the use remote link step ( #8140 )
...
* chore: Allow to fetch remote link using the service name or the alias from the use remote link step
* revert package.json
* fix packages
2024-07-16 11:03:41 +02:00
Oli Juhl
ffd4b195ee
feat: Add exchange return shipping ( #8108 )
...
* wip
* finalize tests
* feat: Add exchange return shipping
* add shipping to preview
* test input
* move utils and ignore already inserted shipping method
* use custom price
---------
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com >
2024-07-15 22:04:20 +02:00
Shahed Nasser
b38c0488be
docs: remove imports from src in medusa-config.js ( #8132 )
...
Importing from `src` in `medusa-config.js` works in development, but would cause an error when running `build`/in production.
This removes from the docs all snippets that imports from the `src` directory. However, we should figure out a better way to handle re-using the module's name.
2024-07-15 16:00:54 +00:00
Shahed Nasser
a74c900ab1
docs: add documentation for migration generate cli tool ( #8128 )
...
* docs: add documentation for migration generate cli tool
* changed migrations details in marketplace recipe
* added generated oas files to action
* vale + lint fixes
* don't import from src in medusa-config.js
* fix generate command in recipe
* fix module name
2024-07-15 17:46:10 +02:00
Frane Polić
43eb38c8cb
fix(dashboard): create variant remove inventory quantity ( #8129 )
2024-07-15 17:44:09 +02:00
Oli Juhl
00c7900337
feat: Admin Returns API ( #8117 )
...
* feat: Add request item + add shipping APIs
* wip
* finalize workflow
* move steps
* add returns to js-sdk
* few chores
* fix test
* fix another test :)
2024-07-15 15:57:06 +02:00
Adrien de Peretti
53ddea717c
fix: workflow return type inf missing type ( #8133 )
2024-07-15 14:40:03 +03:00
Carlos R. L. Rodrigues
8d530aa7f2
Chore(core-flows,order): exchange/claim add item ( #8126 )
2024-07-15 08:08:43 -03:00
Harminder Virk
5bb870948a
fix: defineMikroOrmCliConfig helper to provide default db credentials ( #8131 )
2024-07-15 15:49:00 +05:30
github-actions[bot]
1bd1d4f394
chore(docs): Generated API Reference (v2) ( #8127 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com >
2024-07-15 09:12:46 +02:00
Shahed Nasser
5f2952bbf2
chore: fix docs issue template ( #8068 )
...
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-07-14 18:04:11 +02:00
Stevche Radevski
874d511e13
feat: Add tax inclusivity management to currenices ( #8112 )
2024-07-14 18:03:44 +02:00
github-actions[bot]
c88d161587
chore(docs): Generated API Reference (v2) ( #8122 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com >
2024-07-14 18:03:04 +02:00
github-actions[bot]
8be8f065ef
chore(docs): Generated References (automated) ( #8121 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com >
2024-07-14 18:02:46 +02:00
Frane Polić
ee826390ea
fix(dashboard): reservation and price list fixes ( #8110 )
...
* wip: reservation fixes, PL fixes
* fix: delete message and cache invalidation
* fix: invalidate inventory item details when reservation is created/updated/deleted
* fix: align design
* fix: location levels cache
2024-07-14 18:00:16 +02:00
shij
ba58842d81
fix(payment, stripe) stripe payment cannot be captured ( #8075 )
2024-07-13 10:45:03 -03:00
Oli Juhl
7e82f981f9
feat: Add return shipping method workflow ( #8106 )
2024-07-13 13:09:07 +02:00
Carlos R. L. Rodrigues
3d7d629e75
chore(pricing): big number support ( #8113 )
2024-07-12 19:27:28 +00:00
Carlos R. L. Rodrigues
4321241553
feat(core-flows): request return on order exchanges and claims ( #8107 )
...
FIXES: CC-92, CC-87
2024-07-12 15:48:24 +00:00
Adrien de Peretti
136da3f3ce
fix: Handle multiple id prop generation ( #8097 )
...
* fix: Handle multiple id prop generation
* throw on duplicate id + cleanup
* fix mistakenly removed files
* fix
* fix
* passzord string
* passzord string
2024-07-12 16:41:19 +02:00
Frane Polić
82b620c488
fix(dashboard): promotions disable conditions ( #8104 )
2024-07-12 16:10:05 +02:00
Adrien de Peretti
f6e86f1b99
chore: temporarely disabling link revert ( #8105 )
2024-07-12 15:05:56 +02:00
Adrien de Peretti
104b00d4e9
feat(migrations): CLI generate command ( #8103 )
2024-07-12 13:12:49 +02:00
Frane Polić
4c2e9a3239
feat(dashboard): allocate items ( #8021 )
...
**What**
- add Allocate items flow
---
https://github.com/medusajs/medusa/assets/16856471/8485c8dc-b1f2-4239-bb22-996345d5d2ad
2024-07-12 07:57:00 +00:00
github-actions[bot]
ba06c9557c
chore(docs): Generated References (automated) ( #8099 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com >
2024-07-12 09:32:00 +02:00
github-actions[bot]
3730b79472
chore(docs): Generated API Reference (v2) ( #8100 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com >
2024-07-12 09:25:00 +02:00
Riqwan Thamir
04819107dd
feat(core-flows,types): add workflow to request item return ( #8098 )
2024-07-11 19:45:40 +02:00
Shahed Nasser
85c15dbb25
fix(utils): error message when isQueryable is possibly not enabled. ( #8096 )
2024-07-11 18:54:43 +02:00
Adrien de Peretti
79ec2bcfe2
fix: Migration generator and generated migrations ( #8090 )
2024-07-11 18:21:09 +02:00
Shahed Nasser
eebae37287
chore: add generated OAS and Typedoc output to automated PRs ( #8054 )
...
* chore: add generated OAS output to automated PR
* add typedoc json output
2024-07-11 18:17:37 +02:00
Shahed Nasser
d8f58774df
docs: highlight fixes ( #8094 )
2024-07-11 18:15:50 +02:00
Frane Polić
ac416e99a1
fix(dashboard): product create input focus ( #8095 )
2024-07-11 18:09:49 +02:00
Shahed Nasser
78f49286d0
docs: updated marketplace recipe + added example ( #8061 )
...
- Moved recipes into its own section of the learning resources
- Updated the marketplace recipe overview
- Added an example implementation of the marketplace recipe
Closes DOCS-791
2024-07-11 15:56:41 +00:00
Kasper Fabricius Kristensen
b5a44ef6b1
feat(dashboard,medusa): Add updated Metadata Form ( #8084 )
...
**What**
- Adds new Metadata form component.
- Adds the Metadata section as an option to the Page layouts
<img width="576" alt="Skærmbillede 2024-07-11 kl 11 34 06" src="https://github.com/medusajs/medusa/assets/45367945/417810ee-26e2-4c8a-86e3-58ef327054af ">
<img width="580" alt="Skærmbillede 2024-07-11 kl 11 34 33" src="https://github.com/medusajs/medusa/assets/45367945/437a5e01-01e2-4ff7-8c7e-42a86d1ce2b3 ">
**Note**
- When Metadata contains non-primitive data, we disable those rows, and show a placeholder value, a tooltip and an alert describing that the row can be edited through the API. I want to add a JSON editor to allow editing these things in admin, but awaiting approval on that.
- This PR only adds the new form to a couple of pages, to keep the PR light, especially since metadata is not implemented correctly in all validators so also needs some changes to the core. This still show some examples of how its used with the new Page layout components. Will follow up with more pages in future PRs.
- We try to convert the inputs to the best fitting primitive, so if a user types "true" then we save the value as a boolean, "130" as number, "testing" as a string, etc.
2024-07-11 13:54:59 +00:00
Shahed Nasser
66acb3023e
fix(migrations): small fix to the text ( #8091 )
...
Small fix to the migrations text.
2024-07-11 13:16:11 +00:00
Carlos R. L. Rodrigues
b5c658f071
feat(core-flows): begin returns, claims and exchanges ( #8088 )
...
* chore(order): begin return
* claims and exchanges
2024-07-11 09:53:00 -03:00
Shahed Nasser
368715ae37
docs: document when-then + migrations revert change ( #8089 )
...
- Add documentation around when-then and workflow conditions
- Change the CLI reference based on change in revert migrations command.
2024-07-11 12:30:50 +00:00
Harminder Virk
e489b0c037
fix: gracefully handle migrations that cannot be reverted ( #8087 )
2024-07-11 17:40:34 +05:30
Harminder Virk
45c573b03a
Feat: Improvements to the migrations CLI and workflow ( #8060 )
2024-07-11 16:52:34 +05:30
Shahed Nasser
bb0303cd6a
docs: improvements to module and data model documentation ( #8062 )
...
* docs: improvements to module and data model documentation
* add note about data model name casing
2024-07-11 13:53:40 +03:00
Shahed Nasser
02add3f0f5
docs: change event payload handling in subscribers ( #8078 )
2024-07-11 13:34:24 +03:00
Adrien de Peretti
143847ace4
fix: Investigate geo zones with address checks ( #8066 )
...
* fix: Investigate geo zones with address checks
* rm debug
* fix constraint building checks
* add more explanation
2024-07-11 11:11:42 +02:00
Riqwan Thamir
8a548cbc2f
feat(core-flows,types): add workflow to update order change actions ( #8080 )
2024-07-11 11:04:41 +02:00
Adrien de Peretti
1789b8e315
chore: properly infer return type from model config ( #8079 )
2024-07-11 10:36:07 +02:00
github-actions[bot]
adfa1d8574
chore(docs): Updated API Reference (v2) ( #8073 )
...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request ) GitHub action
2024-07-11 07:59:07 +00:00
Mostafa Al Mohammad
f441663224
docs: fix typo in curl command example ( #8071 )
...
## Documentation Typo Fix: curl Command for Testing Service
This pull request addresses a typo in the documentation for testing the service via curl command on the page: [https://docs.medusajs.com/v2/basics/modules-and-services ](https://docs.medusajs.com/v2/basics/modules-and-services )
**Initial Command (incorrect):**
```
curl http://locahost:9000/store/custom
```
**Corrected Command:**
```
curl http://localhost:9000/store/custom
```
The typo involved a missing "l" in "localhost". This fix ensures users can successfully test the service by providing the correct curl command.
2024-07-11 07:53:09 +00:00
github-actions[bot]
86aeca0932
chore(docs): Generated References ( #8072 )
...
Generated the following references:
- `medusa`
- `modules`
- `order`
- `types`
2024-07-11 07:52:36 +00:00
Shahed Nasser
a8df528c65
docs: add a need help button ( #8069 )
...
* docs: add a need help button
* change github issue link
* responsive fixes
2024-07-11 10:29:13 +03:00
Carlos R. L. Rodrigues
f460348280
fix(utils): define link alias + pluralize ( #8070 )
...
What:
* Fix alias of models that have "compound names": eg "related_product"
* `deleteCascade` option
* Package to pluralize english words correctly
2024-07-10 22:37:14 +00:00