Shahed Nasser and GitHub
44d4af3a3f
oas: [1/n] Improve admin OAS ( #8850 )
2024-08-29 20:07:33 +03:00
Shahed Nasser and GitHub
75c5853163
oas: [2/n] Improve admin OAS ( #8866 )
2024-08-29 20:07:17 +03:00
Shahed Nasser and GitHub
fbd93ab67c
docs: fix tag filters in search ( #8862 )
2024-08-29 20:05:58 +03:00
bb8878f4ef
chore(docs): Generated API Reference (v2) ( #8731 )
...
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com >
2024-08-29 18:57:39 +02:00
Shahed Nasser and GitHub
870a863503
docs: fix overflowing card description hidden ( #8871 )
2024-08-29 19:48:48 +03:00
Frane Polić and GitHub
f2496ef783
feat(dashboard): refactor dismissed quantity ( #8842 )
...
**What**
- refactor Receive return flow to use dismissed quantity instead of written off quantity
- fix a few more edge cases
---
FIXES CC-392
2024-08-29 16:47:07 +00:00
Shahed Nasser and GitHub
074b4ae0da
docs-util: include types in workflows.ts in generated references ( #8882 )
2024-08-29 18:42:26 +02:00
Carlos R. L. Rodrigues and GitHub
90a6f61c62
fix(order): populate version entities ( #8884 )
2024-08-29 13:22:24 -03:00
Oli Juhl and GitHub
9cf1a5d709
chore: Remove last trace of client in dashboard ( #8873 )
2024-08-29 17:48:01 +02:00
Adrien de Peretti and GitHub
bd20d66968
fix(link-module): Migration planner not closing connection correctly ( #8881 )
...
RESOLVES CC-405
**What**
Fixing mikro orm connection not closed during sync-links
2024-08-29 15:10:13 +00:00
Carlos R. L. Rodrigues and GitHub
b6521e4c1a
feat(medusa): order changes endpoint ( #8728 )
...
What:
- `admin/orders/:id/changes` endpoint to get order changes related to the order
- added `*_by` attributes missing
2024-08-29 14:20:12 +00:00
Riqwan Thamir and GitHub
2a6c6fe590
feat(dashboard,types): split damaged activity from received ( #8859 )
...
what:
- split damaged activity from received
- adds a popover to view return details
<img width="1661" alt="Screenshot 2024-08-28 at 23 23 10" src="https://github.com/user-attachments/assets/064e982c-f850-452d-a60d-e5c267d0075a ">
RESOLVES CC-363
2024-08-29 14:04:00 +00:00
4e6e81f445
chore(docs): Updated API Reference (v2) ( #8870 )
...
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request ) GitHub action
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-08-29 13:05:50 +00:00
Shahed Nasser and GitHub
9290ce88bf
docs-util: fixes in schema factory + other improvements ( #8874 )
...
- Split schema factory for request / response / common types
- Fix overlapping types "string" and "regexp" to be just one string type
- If `oneOf` or `allOf` OAS schemas have one item, just use that item's type.
2024-08-29 12:35:45 +00:00
Oli Juhl and GitHub
00bd9271e3
chore: Workflow execution JS-SDK ( #8851 )
2024-08-29 11:22:43 +00:00
Frane Polić and GitHub
e396c01260
fix(dashboard): RMAs shipping pricing ( #8848 )
...
* wip: allow unsetting price
* fix: use non return shipping for outbound
* fix: claims shipping
* fix: refactor
* fix: checks
* feat: polish
2024-08-29 11:54:29 +02:00
Oli Juhl and GitHub
e652d03b98
chore: Replace reservation customer group client with JS-SDK + clean up ( #8857 )
2024-08-29 11:51:23 +02:00
github-actions[bot] and GitHub
37ebc97d82
chore(docs): Generated References ( #8860 )
...
Generated the following references:
- `fulfillment_models`
- `modules`
- `notification`
- `order`
- `order_models`
- `types`
2024-08-29 09:46:46 +00:00
Shahed Nasser and GitHub
84fb9d55f3
docs: incorrect link fixes ( #8868 )
...
Few link fixes
Closes #8856
2024-08-29 09:44:55 +00:00
Shahed Nasser and GitHub
ddddd4303c
docs: add restaurant-delivery marketplace recipe ( #8817 )
...
Add recipe for restaurant-delivery marketplace recipe inspired by Medusa Eats
Closes DOCS-921
Preview: https://resources-docs-git-docs-restaurant-delivery-recipe-medusajs.vercel.app/v2/resources/recipes/marketplace/examples/restaurant-delivery
2024-08-29 09:33:31 +00:00
Shahed Nasser and GitHub
25134d2307
docs-util: improvements and fixes to OAS generation ( #8855 )
...
- Add to knowledge base summaries for delete-related properties
- Fix long curl examples overflowing the line
- Fix singular / plural usage in some knowledge base descriptions / summaries
- Fix some workflows not picked up
- Remove query params for routes that don't use them.
2024-08-29 08:40:55 +00:00
Kasper Fabricius Kristensen and GitHub
16d8fb1d20
fix(dashboard): Pass query params to list SC request ( #8863 )
...
Resolves CC-331
2024-08-29 08:35:39 +00:00
Shahed Nasser and GitHub
70f2290a22
docs: added documentation for db commands ( #8846 )
...
* docs: added documentation for db commands
* fix lint errors
2024-08-29 10:46:00 +03:00
Shahed Nasser and GitHub
c86a9fe864
docs-util: fix removal of manually-added schemas in clean script ( #8840 )
2024-08-29 10:22:50 +03:00
Adrien de Peretti and GitHub
77b874f272
feat: Add support for providers to validate their options at loading time ( #8853 )
...
* feat: Add support for providers to validate their options at loading time
* fix missing removal
* fix integration tests
* add tests
2024-08-29 09:08:49 +02:00
Kasper Fabricius Kristensen and GitHub
b8572165cb
feat(dashboard): DataGrid improvements [4/4] ( #8798 )
...
**What**
- Changes cell state strategy from tracking from lazy to eager. This has required some changes to the API of the DataGrid component, and createDataGridColumnHelper function.
- Displays error messages in both affected cells and their rows. The row indicator also provides an option to quickly jump to an error.
- Allows the user to hide all rows and columns that don't have errors, to help quickly get an overview of the errors in a large grid.
- The first column of a DataGrid is now pinned, making it easier for a user to tell which entity they are editing.
- Fixes and improvements to column visibility menu.
- Adds a shortcuts modal that explains the different available keyboard commands.
- Updates `@tanstack/react-table` to the latest version.
Resolves CC-269
2024-08-28 19:06:38 +00:00
Frane Polić and GitHub
d8fdf4d0b2
fix(dashboard): active rma z-index ( #8854 )
2024-08-28 15:54:01 +00:00
Adrien de Peretti and GitHub
52e394055c
fix(utils): DML hasOne - belongsTo not behaving correctly ( #8813 )
...
FIXES FRMW-2676
**What**
ref: https://discord.com/channels/876835651130097704/1023889804544458752/threads/1276979858781503528
Currently, when providing the following
```ts
const user1 = manager.create(User, {
username: "User 1",
team: {
name: "Team 1",
},
})
```
It would result in an error inserting into the database because the foreign key will be sent twice as part of the insert, one for the relation and one for the foreign key that both relate to the foreign key property.
To fix that and allow both approaches (providing the entity to cascade persist or just providing the foreign key in case of another side nullable relation) we need to handle it a bit differently.
now both approaches would be valid. the entities for the example might not be the best ones but it is just to illustrate
option 1 - we create both the user and the team:
```ts
const user1 = manager.create(User, {
username: "User 1",
team: {
name: "Team 1",
},
})
```
option 2 - the team already exists (for example the previous user have been detached from the team but we kept the team alive and assign a new user to that team) :
```ts
const user1 = manager.create(User, {
username: "User 1",
team_id: team.id
})
```
2024-08-28 15:45:48 +00:00
Frane Polić and GitHub
6ea5a15762
fix(dashboard): active RMA section border ( #8849 )
...
**What**
- fix border around active RMA section on larger screens
**Prev**

**Now**

2024-08-28 15:20:56 +00:00
Adrien de Peretti and GitHub
5bec38538a
chore: Treat internal event differently, primarely do not display info logs for those events ( #8767 )
...
* chore: Treat internal event differently, primarely do not display info log for those events
* revert doc
* add few tests
* only set internal option if present
* revert to previous condition
* start including feedback after discussion
* include feedback
* fix modules integration tests
* fix modules integration tests
* fix event bus local
2024-08-28 16:46:40 +02:00
Carlos R. L. Rodrigues and GitHub
6cfe9bd874
fix(orchestration): remote joiner alias conflict ( #8844 )
2024-08-28 11:34:22 -03:00
Shahed Nasser and GitHub
68f3244de3
fix(core-flows): use unit price of item in create cart and add to cart flows ( #8841 )
...
* fix(types): fix create line item workflow type
* use unit price in workflows
* use tax inclusive from item
2024-08-28 17:34:07 +03:00
Oli Juhl and GitHub
37b7592fba
chore: Remove unused clients in admin + clean up js-sdk ( #8839 )
...
* feat(js-sdk): Add API key
* chore: Remove unused clients in admin + clean up js-sdk
* fix sales channel hooks
2024-08-28 15:43:55 +02:00
Adrien de Peretti and GitHub
5294ce8654
chore(medusa): Re enable plugin loading ( #8843 )
...
* chore(medusa): Re enable plugin loading
* finalise
2024-08-28 15:38:51 +02:00
Shahed Nasser and GitHub
22d92aa70a
docs: add tracking for navigation usage ( #8819 )
2024-08-28 15:44:54 +03:00
Shahed Nasser and GitHub
e1fd448cd1
docs: capitalize HTTP methods in api reference ( #8821 )
2024-08-28 15:44:42 +03:00
Shahed Nasser and GitHub
bfded6c2c8
docs: improvements to base OAS ( #8835 )
...
* docs: improve base OAS
* extra new lines + design fixes
2024-08-28 15:44:05 +03:00
Shahed Nasser and GitHub
61e7b2eb24
fix(admin-next,types): fix some http type names ( #8836 )
2024-08-28 15:43:54 +03:00
Riqwan Thamir and GitHub
8fbfb1445d
fix(dashboard): align items inside quick view popover ( #8847 )
...
* fix(dashboard): align items inside quick view popover
* chore: remove unwanted w-* classes
2024-08-28 14:37:35 +02:00
Shahed Nasser and GitHub
ba24e6882d
fix(medusa-oas-cli): fix download url ( #8763 )
2024-08-28 14:23:25 +02:00
Carlos R. L. Rodrigues and GitHub
8dea3e44c6
fix(order): order change references ( #8845 )
2024-08-28 08:57:44 -03:00
Oli Juhl and GitHub
c2e7940f61
fix: Validate boolean query params ( #8834 )
2024-08-28 13:14:15 +02:00
Oli Juhl and GitHub
dbe931ab00
feat(js-sdk): Add API key ( #8838 )
...
* feat(js-sdk): Add API key
* address PR comments
* Allow params to create + update
2024-08-28 13:07:06 +02:00
Shahed Nasser and GitHub
af6d43f0f0
docs-util: fix for product type schemas ( #8837 )
2024-08-28 12:54:35 +03:00
Shahed Nasser and GitHub
8f8e2f5a65
fix(medusa): use correct request type for create cart API route ( #8820 )
2024-08-28 12:16:30 +03:00
Alexander Nortung and GitHub
afd6fdcdf6
fix: product category types ( #8833 )
2024-08-28 11:13:03 +02:00
Riqwan Thamir and GitHub
c72b4847b9
fix(dashboard,js-sdk): fixes from rma flows testing ( #8826 )
2024-08-28 10:59:36 +02:00
Riqwan Thamir and GitHub
2ee374fafc
fix(order): run migration before setting not null ( #8831 )
2024-08-28 10:10:35 +02:00
Harminder Virk and GitHub
69c5d122b1
feature: add db:setup command ( #8830 )
2024-08-28 13:08:48 +05:30
github-actions[bot] and GitHub
841cb69ba9
chore(docs): Generated References ( #8828 )
...
Generated the following references:
- `auth`
- `core_flows`
- `fulfillment`
- `fulfillment_models`
- `helper_steps`
- `medusa_config`
- `modules`
- `modules_sdk`
- `order`
- `order_models`
- `payment`
- `stock_location_next`
- `types`
2024-08-28 06:53:38 +00:00