Adrien de Peretti
528ef4ca90
fix(modules-sdk): Select all should send undefined instead of an empty array ( #6982 )
2024-04-06 21:37:22 +02:00
Oli Juhl
81ea044f31
feat(medusa, core-flows): Create service zones ( #6979 )
2024-04-06 21:31:23 +02:00
Stevche Radevski
e8587e9f95
feat: Add support for defining options when creating product ( #6981 )
2024-04-06 18:58:53 +02:00
Adrien de Peretti
bc06ad2db4
feat: Clean up shipping options management ( #6977 )
...
**What**
- cleanup existing route on some aspects but not all
- add new create shipping options end point and types
- add set of integration tests
- cleanup existing fulfillment routes
- align existing integration tests
- transform old type to zod types and validators
- fix stock location route
2024-04-06 16:52:05 +00:00
Oli Juhl
5724d80286
feat: Bring back API key sales channel management ( #6976 )
...
- Add API key sales channel management
- Add HTTP responses for API keys and sales channels
- Use HTTP responses in `dashboard` and remove now redundant types
2024-04-06 16:30:27 +00:00
Frane Polić
58c68f6715
feat(dashboard): Admin UI regions v2 ( #6943 )
2024-04-06 17:41:54 +02:00
Carlos R. L. Rodrigues
df0751f122
Feat: draft order api ( #6797 )
2024-04-06 16:35:10 +02:00
Stevche Radevski
883a75c4f3
feat: Switch to zod for the product API and implement missing primitives ( #6978 )
2024-04-06 13:45:52 +00:00
Adrien de Peretti
65794f4bb5
feat: Create shipping options workflow ( #6962 )
...
**What**
- Create main workflow
- Update create pricing rule types step to be idempotent
- update remote joiner to support granular isList confguration on field aliases
- Add full workflow integration tests
2024-04-06 11:51:48 +00:00
Riqwan Thamir
5e30b8cce6
feat(dashboard): added details page for promotions + edit sliders ( #6882 )
...
* chore: added details page for promotions
* chore: add edit rules, edit details and edit campaign pages
* chore: change to type button
* chore: connection for rules
* chore: listing rule labels of multiple modules
* chore: add badge summary list
* chore: fix campaigns
2024-04-06 13:20:31 +02:00
Stevche Radevski
07fb058d96
feat: Add product routes and components to v2 in admin-next ( #6958 )
2024-04-06 11:59:52 +02:00
Carlos R. L. Rodrigues
d333db0842
chore(orchestration): serialize error ( #6967 )
2024-04-06 11:22:48 +02:00
Adrien de Peretti
232322d035
Chores: Do not disable foreign keys by default ( #6973 )
2024-04-06 11:20:35 +02:00
Oli Juhl
c31dea02eb
feat: Add generic link filter middleware ( #6969 )
2024-04-06 11:18:03 +02:00
Oli Juhl
94146e4bfe
chore: Trigger pipeline on merge to develop ( #6954 )
2024-04-06 11:02:47 +02:00
Frane Polić
01759cae65
fix(region): update regions countries ( #6970 )
...
* fix: update regions countries
* fix: test case
2024-04-06 09:50:46 +02:00
Shahed Nasser
cbf2e6300d
chore: added tsdocs to Region Module resources ( #6799 )
...
* chore: added tsdocs to Region Module resources
* typo fix
2024-04-05 19:35:14 +02:00
Oli Juhl
626aa09497
feat: Add create location fulfillment set flow + API ( #6945 )
2024-04-05 19:27:38 +02:00
Carlos R. L. Rodrigues
01487970b2
chore:(product): renaming vars ( #6972 )
...
* feat(product): return parents tree
* query mpath with IN
* more tests
* remove where filters
* revert where
* naming
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2024-04-05 19:22:55 +02:00
Carlos R. L. Rodrigues
09a2220569
feat(product): return parents tree ( #6944 )
...
*What*
include option `include_ancestors_tree` to list products including the parent tree.
2024-04-05 16:46:55 +00:00
Oli Juhl
8ecfa4b6f5
fix: Add count to stock-locations response ( #6965 )
2024-04-05 18:28:03 +02:00
Kasper Fabricius Kristensen
8a5c6928f7
feat(dashboard): Migrate to new hooks and API client ( #6963 )
2024-04-05 18:27:08 +02:00
Oli Juhl
5ba74ec5fc
feat: Add zod middleware ( #6961 )
2024-04-05 16:24:31 +02:00
Adrien de Peretti
ee73031d0e
feat: Shipping options API ( #6957 )
...
**What**
Add support for shipping options management API
PARTIALLY FIXES CORE-1918
2024-04-05 14:23:45 +00:00
Adrien de Peretti
21990fcd4b
feat(utils): Support free text configuration ( #6942 )
...
**What**
- Add support for searchable entity properties to configure default free text search when providing a `q` filter
- `@Searchable` decorator to mark a property or relation to be searchable form the current entity
FIXES CORE-1910
2024-04-05 13:59:40 +00:00
Stevche Radevski
a0005faa14
fix: upsertWithReplace should delete non-persist relationship fields … ( #6960 )
...
…before upsert
2024-04-05 13:26:14 +00:00
Stevche Radevski
9ccd88d025
feat: Add boilerplate for the file module ( #6956 )
2024-04-05 14:46:02 +02:00
Riqwan Thamir
eb93e8f386
chore: rename rule endpoints validators ( #6955 )
2024-04-05 10:41:31 +00:00
Shahed Nasser
bde80a8371
chore: add TSDocs to the Promotion Module ( #6793 )
2024-04-05 12:06:35 +02:00
Shahed Nasser
0a8718f0c5
chore: added tsdocs to Cart Module ( #6881 )
2024-04-05 12:04:15 +02:00
Shahed Nasser
bd2c5aca16
chore: added tsdocs for the Tax Module ( #6902 )
2024-04-05 12:03:03 +02:00
Shahed Nasser
3507e5e263
chore: updated TSDocs of the Pricing Module ( #6894 )
2024-04-05 12:02:46 +02:00
Shahed Nasser
4c374e3a14
chore: add TSDocs to the Payment Module ( #6885 )
2024-04-05 12:01:36 +02:00
Shahed Nasser
d345496dbc
chore: added tsdocs for the Auth Module ( #6863 )
2024-04-05 12:01:08 +02:00
Shahed Nasser
f65e1dedbc
chore: added tsdocs for Stock Location Next Module ( #6817 )
2024-04-05 12:00:46 +02:00
Shahed Nasser
f25d55bd4f
chore: added tsdocs to the Inventory Next Module ( #6814 )
2024-04-05 12:00:23 +02:00
Shahed Nasser
72564c917f
chore: add tsdocs for the Customer Module ( #6784 )
2024-04-05 11:59:08 +02:00
Shahed Nasser
8901e32dba
chore: add tsdocs for the Store Module resources ( #6795 )
...
* chore: add tsdocs to Store Module resources
* added examples
2024-04-05 11:58:53 +02:00
Oli Juhl
eadc5e8a79
feat: Admin V2 API keys ( #6883 )
...
Add API key management UI for V2
This PR only adds publishable API key UI. Secret API key management will come in a follow-up PR.
2024-04-05 09:55:59 +00:00
Kasper Fabricius Kristensen
e915169e11
feat(dashboard): Edit variant options + create option callback for combobox ( #6920 )
2024-04-05 11:40:33 +02:00
Shahed Nasser
0bf0bf819b
fix(admin-ui): Resolve node-gyp error during installation with npm ( #6952 )
...
Fix `node-gyp` error that occurs during installation when using NPM and 20+ versions of Node.js. The error results from the package `@stdlib/number-float64-base-normalize` which is a dependency of `@segment/analytics-next`. Installing v0.0.8 resolves the error.
More details in PR #6485
## Testing
To test out the fix:
1. In a Medusa backend, remove the installation of `@stdlib/number-float64-base-normalize` (if available) and add instead the following override:
```json
"overrides": {
"@medusajs/admin": {
"@medusajs/admin-ui": "2.1.14-snapshot-20240405070935"
}
}
```
2. Remove node_modules + any previous package-lock.json
3. Change to node v20+ and use npm to install dependencies -> no error occurs during installation.
2024-04-05 07:56:39 +00:00
Adrien de Peretti
71aeda7347
fix(workflows-sdk): Handle result from a trasnformer after a step fail ( #6951 )
...
* fix(workflows-sdk): Handle result from a trasnformer after a step fail
* Create plenty-ravens-lay.md
* fix
2024-04-05 08:59:28 +02:00
Kasper Fabricius Kristensen
849010d875
feat(dashboard): Setup workflows in V2 routes ( #6939 )
2024-04-04 21:27:48 +02:00
Stevche Radevski
20e8df914e
feat: Normalize known DB errors to a MedusaError when possible ( #6922 )
...
Before we would swallow the error and return a generic error to the user. This will provide more information to the caller if it is one of the known errors.
2024-04-04 19:12:59 +00:00
Adrien de Peretti
e944a627f0
feat: region payment providers management workflows/api ( #6864 )
2024-04-04 20:41:34 +02:00
Adrien de Peretti
12fcb655cd
chore: Ensure Redis connection is ready with callback ( #6924 )
...
* chore(workflow-engine-redis): await for the connection callback
* cleanup
* cleanup
* Create early-rice-marry.md
* cleanup
2024-04-04 20:40:41 +02:00
Kasper Fabricius Kristensen
880bbbd4af
feat(dashboard): Add forms for edit and create product options ( #6907 )
2024-04-04 18:14:05 +02:00
Philip Korsholm
fd3fc1384b
Feat(dashboard): admin locations v2 ( #6868 )
...
* initial create
* add list for stock locations
* add changeset
* redo changes for stock locatino module'
* add changeset
* naming
* prep for pr
* move integration tests
* fix pr feedback
* add changeset
* update changeset
* init
* undo versioning updates
* rm whitespace
* move common files to modules
* Update packages/admin-next/dashboard/src/v2-routes/locations/location-edit/location-edit.tsx
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
* rm logs
* fields instead of expands
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
2024-04-04 14:45:05 +02:00
Kasper Fabricius Kristensen
6c6e5307cf
feat(dashboard): Setup V2 collections ( #6935 )
2024-04-04 14:06:44 +02:00
Stevche Radevski
06b2f0a8dc
feat: Add some of the missing pieces in the create product form ( #6918 )
...
The changes are still partial, there is more work to be done to have everything function properly.
Also, refactored the file upload from the product media form to a separate component
2024-04-04 10:27:33 +00:00