Commit Graph

5050 Commits

Author SHA1 Message Date
Frane Polić
0a9b9b073d feat(dashboard): shipping management (#6995)
**What**
- shipping flow
- shipping profile pages
- delete fulfillment set endpoint
- delete shipping profile endpoint
2024-04-16 13:42:56 +00:00
Kasper Fabricius Kristensen
c3260a2c5a feat(ui, dashboard): Toast rework (#7076)
**What**
- Re-works how toasts work in Medusa UI. API is now built on top of `sonner` instead of `@radix-ui/react-toast`. This is a breaking change, and we will need to update the documentation once this has been merged and released (cc: @shahednasser).
- Adds an example of usage in the products list table in the new admin dashboard. As part of the coming weeks cleanup we will add toasts everywhere that they are currently missing.

CLOSES CORE-1977
2024-04-16 13:14:58 +00:00
Kasper Fabricius Kristensen
379ff7a36d fix(dashboard): Wrong hook usage in /collections/create (#7078)
**What**
- Use new hook for creating collections.
2024-04-16 10:59:01 +00:00
Riqwan Thamir
00e6b21bb5 feat(medusa,dashboard,tax): added tax rates and regions UI (#7026)
whats missing:

- make rules required for overrides
- conditions for other rules
- populating condition reference ids with labels on update

Co-authored-by: Adrien de Peretti <25098370+adrien2p@users.noreply.github.com>
2024-04-16 08:26:12 +00:00
Stevche Radevski
92b633d1cb fix: Switch some modules to using zod for validation, and fix some bugs (#7074) 2024-04-16 07:44:53 +00:00
Oli Juhl
bc081a7777 feat: Create product category flow (#7034)
* feat: Create product category

* address PR comments
2024-04-15 17:11:42 +02:00
Stevche Radevski
fd83e75e4b feat: Add support for batch method for products and product variants (#7038)
* feat(products): Add batch methods for product and variants

* chore: Rename batch validator and minor changes based on PR review
2024-04-15 16:48:29 +02:00
Shahed Nasser
c3efac5a0d fix(medusa-core-utils): add missing awilix dependency (#7003)
`medusa-core-utils` has a missing dependency `awilix` which sometimes result in errors as reported in issue #6884

This PR adds the missing dependency
2024-04-15 07:56:40 +00:00
Shahed Nasser
7934fbdd1e docs: fix download button in API reference (#7039)
* docs: fix download button in API reference

* remove comments
2024-04-15 09:37:24 +02:00
Shahed Nasser
ed0313adef docs: change supabase database url format (#7036) 2024-04-15 09:35:58 +02:00
Shahed Nasser
0c12d7e7d7 docs: add note about expanding nested relations (#7008) 2024-04-15 09:32:57 +02:00
Shahed Nasser
8958760d5b docs: fixes to Digital Product recipe (#7025) 2024-04-15 09:32:07 +02:00
Shahed Nasser
8b388b815b docs: add a section about missing migration name (#7013) 2024-04-15 09:31:24 +02:00
Shahed Nasser
793184bf42 docs: improvements to railway deployment guide + new troubleshooting guide (#7012) 2024-04-15 09:30:31 +02:00
Stevche Radevski
47a175ce94 feat: Add support for price setting and updates for products (#7037)
We still need to add a `batch` method for variants, but I'll do that in a separate PR
2024-04-11 17:21:58 +00:00
Adrien de Peretti
c78915c7c5 feat: Add support for shipping options prices update (#7028) 2024-04-11 18:34:55 +02:00
Kasper Fabricius Kristensen
51acd1da5b fix(dashboard): Minor cleanup and improve text legibility (#7045)
**What**
- Cleans up some artifacts from the V1 -> V2 migrations.
- Removes the MedusaProvider from the root in favor of a plain QueryClient.
- Applies font styles to make the text in admin resemble designs in Figma more closely.
2024-04-11 08:44:13 +00:00
Kasper Fabricius Kristensen
27387b7cf1 feat(dashboard): minor fixes to profile (#7046) 2024-04-11 09:52:28 +02:00
Adrien de Peretti
eac4d2d87a fix(): workflow sdk step return function type infer (#7047) 2024-04-10 15:49:09 +02:00
Philip Korsholm
ab7ff64c4a Feat(admin-next, core-flows, link-modules, medusa, types): Inventory end to end flows (#7020)
* 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

* update versions

* fix for pr

* fix for pr

* cleanup

* Update packages/core-flows/src/inventory/workflows/bulk-create-delete-levels.ts

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>

* Update packages/core-flows/src/inventory/steps/delete-levels-by-item-and-location.ts

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>

* rm wack import

* fix build

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
2024-04-10 15:17:54 +02:00
Kasper Fabricius Kristensen
276278cbe7 minor fixes to region domain and api (#7042) 2024-04-09 18:46:53 +02:00
Philip Korsholm
f175cac4af Feat(medusa, core-flows, types): add reservation endpoints (#7018)
* add reservation endpoints

* add changeset
2024-04-09 18:40:00 +02:00
Shahed Nasser
78f603e4f1 docs: fix typedoc errors and warnings (#7006)
* docs: fix typedoc errors and warnings

* added missing quotations
2024-04-09 17:56:14 +03:00
Kasper Fabricius Kristensen
596faf2ad3 chore(dashboard): Cleanup Pricing domain (#7035)
**What**
- Adds missing translations
- Minor cleanup

**Note**
- The domain is still missing features that are supported in V1, but are currently not available in V2. The types are also all wrong, so will need to revisit after the pricing domain is revisited, types have been added, and missing features implemented.

CLOSES CORE-1901
2024-04-09 14:53:09 +00:00
Adrien de Peretti
e1a0960e20 feat: delete shipping options (#6993) 2024-04-09 15:30:22 +02:00
Kasper Fabricius Kristensen
21be6ff7ed feat(dashboard): Secret keys domain (#7030)
* setup secret keys

* add secret keys

* fix merge
2024-04-09 15:11:32 +02:00
Riqwan Thamir
8eb2a4156d chore: disable turbo and jest cache (#7024)
* chore: disable turbo cache

* chore: remove cache for build

* chore: disable jest cache
2024-04-09 14:04:31 +02:00
Oli Juhl
3882cac622 feat: Admin V2 customer group (#7000) 2024-04-09 12:32:27 +02:00
Oli Juhl
dbddfc12ed feat: Admin Shipping Profiles API (#7019) 2024-04-09 11:03:37 +02:00
Stevche Radevski
fbc2959b37 feat: Add support for loading file providers to file module (#7016) 2024-04-09 10:03:56 +02:00
Oli Juhl
c03216efbf fix: Delete service zone (#7017) 2024-04-08 20:24:59 +02:00
Kasper Fabricius Kristensen
0f05790ae4 feat(dashboard): Initial pricing domain (#6996)
**What**
- Sets up the initial work for Pricing domain
- Fixes Store domain

**Todo in follow up PR**
- Translations
- Add status when creating the Price List and allow updating it
- Improve DataGrid component
- Add missing functionality once backend support is added (customer_groups, region prices and update prices)

CLOSES CORE-1931
2024-04-08 18:22:53 +00:00
Oli Juhl
6cc9a5e469 feat: Categories retrieve + list API (#7009) 2024-04-08 19:26:34 +02:00
Stevche Radevski
db2f0ef53f feat: Make tags unique, clean up searchability of product entities (#7014) 2024-04-08 17:55:40 +02:00
Frane Polić
9b5e025863 fix: close create form on success (#7011) 2024-04-08 16:31:42 +02:00
Stevche Radevski
fa5c9bbe8f feat: Improve how options are defined and handled for product (#7007)
* feat: Improve how options are defined and handled for product

* fix: Updating option values supports passing without id
2024-04-08 15:29:41 +02:00
Kasper Fabricius Kristensen
7b4ff1ae57 align color for draft (#7005) 2024-04-08 13:29:21 +02:00
Shahed Nasser
ef39985d66 chore: Added TSDocs for the Fulfillment Module (#6912)
Added TSDocs for the Fulfillment Module
2024-04-08 08:17:38 +00:00
Stevche Radevski
2a0e010f73 feat: Add variant creation and editing in the products UI (#6997) 2024-04-08 09:32:12 +02:00
Riqwan Thamir
5e953f8cf3 chore: add batch update prices for price lists (#6999) 2024-04-08 09:23:23 +02:00
Carlos R. L. Rodrigues
dd35a4dbff fix(modules-sdk): Remote Query "order" as config options (#6925) 2024-04-08 08:17:53 +02:00
Oli Juhl
4f88743591 feat: Admin V2 Customers (#6998) 2024-04-07 21:38:50 +02:00
Adrien de Peretti
f132929c7e feat(*): shipping options update API (#6987)
**What**
- Update the `updateShippingOptions` module service API to follow the newest convention
- Add upsert support for shipping options
- update shipping options workflow
- update shipping options api end point and validation
- update shipping options all integration tests

FIXES CORE-1926
2024-04-07 16:28:59 +00:00
Stevche Radevski
f65fbff535 feat: Improvements to the products details page in the admin (#6994) 2024-04-07 17:52:47 +02:00
Oli Juhl
a24d6e6c97 feat: Update service zone (#6990) 2024-04-07 17:30:55 +02:00
Carlos R. L. Rodrigues
b6879f017a feat: Totals calculation (#6980) 2024-04-07 16:50:40 +02:00
Stevche Radevski
7302d078a9 feat: Add decimal digits and rounding info to currencies (#6991) 2024-04-07 16:34:22 +02:00
Adrien de Peretti
667c8609cc fix(modules-sdk): Fix remote query selection (#6989)
Fix remote query selection for different relations levels as part of a single processed query
2024-04-07 14:07:31 +00:00
Stevche Radevski
4d6306f57b feat: Revamp product details page and several product fixes and cleanups (#6988) 2024-04-07 15:29:37 +02:00
Oli Juhl
31b07aea3d feat: Add tax regions table (#6983) 2024-04-07 15:02:48 +02:00