Frane Polić
155e276b90
feat(dashboard): metadata component ( #7117 )
...
**What**
- add new metadata component
**Note**
- _example of usage on customer edit form_
- we are not handling update metadata case in the internal module service so for now delete case doesn't work properly
---
https://github.com/medusajs/medusa/assets/16856471/b588752d-9cf5-4d96-9cf8-760a764ab03e
2024-05-02 07:51:39 +00:00
Riqwan Thamir
ea1d926dfa
chore: fix promotion not found error text ( #7200 )
2024-05-02 08:46:10 +02:00
Shahed Nasser
b6083ce104
docs: added documentation for toast component changes ( #7141 )
...
* docs: added documentation for toast component changes
* added redirect from use-toast docs to upgrade guide
* remove unused file
* content linting fixes
* update UI package version
* updated ui preset
* fix upgrade guides main page
2024-05-01 18:12:10 +03:00
Stevche Radevski
8387d03370
fix: Correctly fetch cart when updating a line item ( #7196 )
2024-05-01 14:55:20 +00:00
Oli Juhl
ba71903e12
chore: Introduce bug report for 2.0 ( #7194 )
2024-05-01 14:14:37 +02:00
Oli Juhl
497c735ea6
chore: Update contibuting with new branching strategy ( #7193 )
2024-05-01 13:50:02 +02:00
github-actions[bot]
f43e8b3e73
chore(docs): Generated Docs Announcement Bar (automated) ( #7190 )
...
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-05-01 10:15:35 +00:00
github-actions[bot]
bfda7a626d
chore(docs): Generated OAS ( #7189 )
...
This PR holds all generated OAS for the upcoming release.
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-05-01 10:07:31 +00:00
Stevche Radevski
d930d88369
fix: Ensure passed Id filters get applied on top of maybe link filter ( #7182 )
2024-05-01 11:25:24 +02:00
olivermrbl
3bf6e50744
chore: Release
2024-05-01 10:06:23 +02:00
Stevche Radevski
ec37576dd0
feat: Add collection and category endpoints to store ( #7155 )
...
* feat: Add collection endpoints to store
* feat: Add category store endpoints
2024-05-01 09:54:51 +02:00
github-actions[bot]
2c807df99d
chore: Version Packages ( #6839 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-01 09:48:24 +02:00
eskoniarek
dca47f77c9
docs: fix for subscriber logic in digital products recipe ( #7184 )
...
Update the subscriber code snippet in Digital Product recipe, to properly wait for the pre-signed URL for each item's media.
Closes [#7170 ](https://github.com/medusajs/medusa/issues/7170 )
2024-05-01 07:35:52 +00:00
Oli Juhl
bb37e139aa
chore: change minor bumps to patch ( #7177 )
2024-04-30 19:05:04 +02:00
Adrien de Peretti
e26cda4b6a
feat(medusa, core-flows, types): Allow to update the rules from a shipping options ( #7175 )
...
**What**
Add support for the following operations
- update rules from the update shipping options end point
- update rules from the batch update end point
Also added some improvements, that can be revisited later
- Add a rule value normalizer, jsonb will transform the input value to a [primitive](https://www.postgresql.org/docs/current/datatype-json.html#JSON-TYPE-MAPPING-TABLE ) when possible meaning that passing `"true"` will result in storing `true` and not the string. The normalizer takes care of that
2024-04-30 16:45:17 +00:00
Carlos R. L. Rodrigues
3affcc2525
chore(orchestration): replace workflow definition in v1 ( #7181 )
2024-04-30 13:19:58 -03:00
Riqwan Thamir
efa3308d78
feat(medusa): add middleware filters + scope products ( #7178 )
...
* chore: add middleware filters + scope products
* chore: fix spec + add changeset
* chore: add internal category to list test
2024-04-30 16:59:43 +02:00
Carlos R. L. Rodrigues
1eeb1e9de3
fix(modules-sdk): load custom modules options ( #7176 )
2024-04-30 09:05:55 -03:00
Carlos R. L. Rodrigues
edcafa140c
fix onStepAwaiting events ( #7161 )
2024-04-29 18:55:41 +02:00
Riqwan Thamir
11517f0faf
feat(medusa,types): added store apis for products ( #7144 )
...
what:
- adds products list api
- adds products retrieve api
RESOLVES CORE-2016
2024-04-29 15:14:41 +00:00
Stevche Radevski
32c2a9d76b
feat: Add missing endpoints and normalize customer and currency endpoints for storefront ( #7160 )
2024-04-29 16:15:05 +02:00
Adrien de Peretti
08a9297f76
feat(medusa): Remove require id from update shipping options validator ( #7166 )
...
* feat(medusa): Remove require id from update shipping options validator
* update type apply
* Create great-stingrays-clap.md
2024-04-29 11:35:40 +02:00
Kevin Furmanski
82cb6cfd36
fix: correct calculations of subtotal for shipping option requirements ( #7089 )
...
* fix: correct calculations of subtotal for shipping option requirements
* Add changeset
2024-04-29 10:11:43 +02:00
Riqwan Thamir
d2393f004e
feat(core-flows, medusa): add shipping methods to cart API ( #7150 )
...
* feat(core-flows, medusa): add shipping methods to cart API
* chore: change id to option_id
* chore: use list listShippingOptionsForContext instead of validateShippingOption
* chore: remove comment
* chore: add refresh shipping methods step
* chore: set cart step
* chore: update all workflows to refresh shipping methods
* chore: add tests + cleanup
2024-04-29 09:25:23 +02:00
Carlos R. L. Rodrigues
4b57c5d286
feat(modules-sdk): remote query context filter ( #7153 )
...
What:
- Remote query now handles `context` keywork in the arguments to forward it as a filter to the method `list`
- Pricing module `list` method returning `calculated_price` if requested as a field
2024-04-26 10:20:42 +00:00
Stevche Radevski
aef222278b
fix: Corrections to the store region endpoint for v2 ( #7152 )
2024-04-26 08:36:37 +00:00
Dan Vaynshteyn
342712b8ab
Fixed logged-in-user.mdx example ( #7132 )
...
Previous documentation stuffed type imports with regular imports. This was fine, but either remove the unnecessary 'type' in the first import statement or import like this PR.
2024-04-26 08:05:52 +00:00
Stevche Radevski
f03a822253
feat: Add support for search to all endpoints ( #7149 )
...
* feat: Add search capability to api keys
* feat: Add support for searching to currency and customer endpoints
* fix: Clean up product search filters
* feat: Add search support to regions
* feat: Add search support to sales channels
* feat: Add search support to store module
* feat: Add search support to user module
* fix: Clean up inventory search
* feat: Add search support for payments
* fix: Add searchable attributes to stock location models
* feat: Add search support to tax
* feat: Add search support to promotions
* feat: Add search support for pricing, filtering cleanup
* fix: Further cleanups around search
2024-04-25 17:36:59 +02:00
Carlos R. L. Rodrigues
d02905cefa
feat(order): bundled actions ( #7133 )
2024-04-25 07:06:23 -03:00
Philip Korsholm
e4898fb00d
feat(admin-next, inventory-next, medusa, types): Add admin reservations flow ( #7080 )
...
* add reservation endpoints
* add changeset
* initial
* add reservations table
* add edit-item modal
* udpate inventory item attributes
* manage locations skeleton
* add combi batch endpoint
* cleanup
* fix manage locations
* add adjust inventory
* prep for pr
* minor fixes to region domain and api (#7042 )
* initial reservation
* init
* update reservation
* create reservation
* polishing
* minor fix
* prep for pr
* prep for pr
* polishing
* inventory items reservations
* Update packages/admin-next/dashboard/src/v2-routes/reservations/reservation-list/components/reservation-list-table/reservation-list-table.tsx
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
* fix feedback
* rename to ispending
---------
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
2024-04-25 10:11:29 +02:00
Shahed Nasser
347aece924
feat(docs-util): predefined OAS schemas ( #7139 )
...
* feat(docs-util): predefined OAS schemas
* small fix
2024-04-25 10:01:23 +02:00
Shahed Nasser
f1a7821c19
docs-util: fix clean command removing used schemas ( #6774 )
2024-04-25 10:00:54 +02:00
Stevche Radevski
f341265f42
feat: Add s3-compatible plugin for the file module ( #7143 )
2024-04-25 09:06:47 +02:00
Shahed Nasser
abf1283ab6
docs: add details about the new host option of admin ( #7142 )
2024-04-24 18:01:11 +02:00
Stevche Radevski
614d659a59
feat: Add local file provider and wire everything up in the file module ( #7134 )
2024-04-24 10:59:58 +02:00
Frane Polić
fe68b5c0f2
refactor(dashboard): refresh domains ( #7087 )
2024-04-24 10:38:52 +02:00
Kasper Fabricius Kristensen
40686ba980
fix(medusa,admin-ui): Remove forced backendUrl in development, and allow alternative host value. ( #7128 )
2024-04-24 09:50:59 +02:00
Oli Juhl
10e120062b
feat: V2 batch update products in categories ( #7125 )
...
* wip
* wip
* fix: batch category update
* update tet
* fix type
---------
Co-authored-by: Stevche Radevski <sradevski@live.com >
2024-04-23 17:17:25 +02:00
Riqwan Thamir
2446151420
feat(medusa): migrate store cart endpoints to zod ( #7130 )
2024-04-23 13:31:52 +02:00
Shahed Nasser
cfd765bece
chore(ui): added API reference comments for Toast component ( #7129 )
2024-04-23 13:25:06 +02:00
Shahed Nasser
14748755ee
chore: remove team from generate docblock actions ( #6953 )
2024-04-23 12:22:36 +02:00
Riqwan Thamir
93ef94cad3
feat(medusa,types): create promotion flows ( #7029 )
...
* chore: create promotion phase
* chore: fix specs + minor ui changes
* chore: minor fixes
* chore: added changeset
* address pr reviews
* chore: fix spec
* Update packages/admin-next/dashboard/src/v2-routes/promotions/common/edit-rules/edit-rules.tsx
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
* chore: fix specs
---------
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com >
2024-04-23 12:08:39 +02:00
Oli Juhl
b61dcb84c9
chore: Update CODEOWNERS ( #7119 )
...
Allow @medusajs/engineering to approve lock-file + package.json changes
2024-04-23 11:37:15 +02:00
Stevche Radevski
9e3556686b
fix: Standardize remaining batch methods and update FE calls ( #7122 )
2024-04-23 09:12:38 +00:00
Kasper Fabricius Kristensen
ea14a3bd68
fix(medusa): Add to default admin customer fields ( #7126 )
...
**What**
- Adds `has_account` to the default fields returned by the API.
**Why**
- The field is used heavily in the admin dashboard, so it makes sense to include it out of the box.
2024-04-23 08:52:09 +00:00
Riqwan Thamir
18f3aacee6
feat(core-flows,medusa,types): fulfillment API: create ( #7101 )
...
what:
- adds fulfillment create API
RESOLVES CORE-1962
2024-04-23 08:35:44 +00:00
Shahed Nasser
14a7378375
chore: add action to generate v2 oas ( #7040 )
2024-04-23 11:10:37 +03:00
adil
3ee29f0878
fix-docs: TS error when importing a function as a type only (example logged in user middleware) ( #7073 )
2024-04-23 07:49:09 +00:00
Kasper Fabricius Kristensen
ef29981a54
fix(dashboard): Update API keys domains with new design ( #7123 )
...
**What**
- Adds new design
- Separates secret and publishable keys into two domains (re-uses the same code).
- Adds skeleton layout for loading state of details page.
- Adds toasts.
2024-04-22 20:03:28 +00:00
Riqwan Thamir
38c971f111
feat(medusa,types): add fulfillment provider list api ( #7124 )
...
* feat(medusa,types): add fulfillment provider list api
* chore: remove timestamps
2024-04-22 19:35:33 +02:00