Riqwan Thamir
7e43aabda0
chore(medusa): strict zod versions in workspace ( #7296 )
2024-05-10 17:16:16 +02:00
Adrien de Peretti
45e2228a07
chore(utils): Provide a mikro orm base entity ( #7286 )
...
**What**
Provide a new mikro orm base entity in order to abstract away the on init and on create which include the id auto generation if not provided. The main goal is to reduce complexity in entity definition
2024-05-10 09:27:33 +00:00
Stevche Radevski
144e09e852
feat: Add the basic implementation of notification module ( #7282 )
...
* feat: Add the basic implementation of notification module
* fix: Minor fixes and introduction of idempotency key
* fix: Changes based on PR review
2024-05-10 11:22:03 +02:00
Riqwan Thamir
6ec5ded6c8
feat(dashboard): add promotions to campaign UI ( #7283 )
...
* feat(core-flows,types,medusa): API to add promotions to campaign
* chore: consolidate specs
* chore: split workflows step into 2
* chore: fix tests
* chore: fix specs
* chore: add promotions to campaign UI
* chore: fix bug wrt to not refreshing
* chore: address review comments
2024-05-10 10:39:01 +02:00
Riqwan Thamir
ea872cbda9
chore: cleanup admin function ( #7285 )
2024-05-10 08:13:14 +00:00
Riqwan Thamir
9a14aeebcf
feat(core-flows,types,medusa): API to add promotions to campaign ( #7277 )
...
what:
- adds an API to add promotions to campaign
- reworks module to perform atomic actions
2024-05-10 07:53:56 +00:00
Riqwan Thamir
6da2964998
feat(dashboard,core,medusa,promotion): add campaigns UI ( #7269 )
...
* feat(dashboard,core,medusa,promotion): add campaigns UI
* chore: add without campaign choice to promotion ui
* chore: fix builds and types
* chore: fix design issues
* chore: address pr reviews
2024-05-09 10:00:28 +02:00
Frane Polić
5952fddad5
fix: SC add products table full width ( #7273 )
2024-05-08 18:33:40 +02:00
Shahed Nasser
c71a06c87f
fix(medusa): import and use RequestQueryFields from types package ( #7275 )
...
Noticed that `RequestQueryFields` is defined in both the `medusa` and `types` package. Within the `medusa` package sometimes it uses the local type definition or the definition in `types`.
This PR removes the type definition of `RequestQueryFields` in `medusa` and uses that in `types` instead.
2024-05-08 12:55:29 +00:00
Shahed Nasser
67944dcc92
fix(medusa): Fix request type in upload route ( #7271 )
...
The `/admin/uploads` route uses an incorrect input type `CreateProductDTO`. This PR fixes it to the type defined in `validators.ts`.
2024-05-08 10:47:35 +00:00
Stevche Radevski
0f60d1fe96
feat: Add order endpoints for store ( #7266 )
2024-05-07 19:34:44 +02:00
Adrien de Peretti
8db62827ac
chore: remove generated client types ( #7259 )
...
* chores: rm generated client types
* chores: rm generated client types
* update lock file
* fix yarn
2024-05-07 15:36:29 +02:00
Adrien de Peretti
71f4f46cb9
chore(medusa): cleanup medusa package ( #7206 )
2024-05-07 12:48:49 +02:00
Oli Juhl
8b61dccd0f
fix(dashboard,medusa): Minor clean-up of admin v2 ( #7257 )
2024-05-07 09:39:42 +02:00
Frane Polić
39c3f6d92a
feat(dashboard): basic Order UI ( #7225 )
...
**WHAT**
- rudimentary list and details pages
- fix Order<>Promotion link
- fix Order<>SalesChannel link
**NOTE**
- displaying basic info since we don't have Fulfillments & Payments linked ATM
- `disaply_id` needs to be added to order
- `tax_rate` needs to be added to order
---
https://github.com/medusajs/medusa/assets/16856471/cd4e98c7-345e-4193-8c1e-ad4ed1584993
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-05-07 07:28:42 +00:00
Riqwan Thamir
0430e63b0b
feat(core-flows,typers,utils,medusa): add payment auth step to complete cart workflow - [complete cart part 3] ( #7248 )
...
* chore: authorize payment sessions for cart
* chore: add spec for cart returns
* fix: Correctly select fields for cart
* chore: fix specs + address comments
---------
Co-authored-by: Stevche Radevski <sradevski@live.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
Co-authored-by: Carlos R. L. Rodrigues <rodrigolr@gmail.com >
2024-05-06 23:34:56 +02:00
Carlos R. L. Rodrigues
5228b14ca9
feat(medusa): complete cart create reservation ( #7250 )
2024-05-06 14:36:55 -03:00
Adrien de Peretti
a736e728b8
fix: package.json run test integration in packages ( #7249 )
2024-05-06 19:25:37 +02:00
Shahed Nasser
e7a3528367
fix(create-medusa-app): don't open browser to admin if v2 option is passed ( #7253 )
...
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-05-06 18:35:32 +02:00
Oli Juhl
aff1eac91c
fix(dashboard): use-backend-url-from-env in new client ( #7256 )
2024-05-06 18:35:18 +02:00
Kasper Fabricius Kristensen
9d0bfc2b39
chore(dashboard): Remove feature flag and always load v2 admin ( #7251 )
2024-05-06 18:07:44 +02:00
Oli Juhl
309c04afe8
chore: Remove remaining V1 plugins ( #7255 )
2024-05-06 17:31:24 +02:00
Shahed Nasser
651b953db7
fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization ( #7245 )
...
* fix(medusa-oas-cli, oas-github-ci): updated paths to docs directories following monorepo reorganization
* revert change to workspaces
* change oas in workspaces
* revert change in test script
2024-05-06 16:15:38 +03:00
Stevche Radevski
4e12168dbd
feat: Consolidate payment functions and handle sessions for storefront ( #7231 )
2024-05-06 13:14:40 +00:00
adrien2p
36eff7f10a
wip
2024-05-06 13:52:30 +02:00
Oli Juhl
cf9605fe6f
feat(order): Add display_id to order table ( #7242 )
...
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2024-05-05 19:43:13 +02:00
Carlos R. L. Rodrigues
5443c69794
feat(link-module): Order Product link ( #7243 )
2024-05-05 17:26:16 +00:00
Carlos R. L. Rodrigues
aba194de9a
chore: complete cart part 2 ( #7227 )
2024-05-05 10:35:09 -03:00
Carlos R. L. Rodrigues
c32a31e139
feat(inventory): check stock to create reservation ( #7209 )
2024-05-05 10:24:52 +02:00
Adrien de Peretti
93f6e60c17
chore(): Modules providers reorganization ( #7234 )
...
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2024-05-05 10:08:07 +02:00
Oli Juhl
2f7b53488d
fix: Accept filters in softDelete + fulfillment location clean-up ( #7198 )
2024-05-03 16:32:07 +00:00
Oli Juhl
1366e2efad
fix: Retrieve ancestors and/or descendants on product categories ( #7226 )
2024-05-03 18:09:04 +02:00
Adrien de Peretti
520867b074
feat(fulfillment, core-flows): Apply correct address and context + cleanup ( #7230 )
...
The tests will be added in subsequent requests where the worklows are being worked on
2024-05-03 15:44:22 +00:00
Adrien de Peretti
224ebb2154
chore: remove legacy plugins ( #7224 )
...
* chore(): remove more legacy plugins
* chore(): remove more legacy plugins
* rm plugins
2024-05-03 14:47:16 +02:00
Adrien de Peretti
bbccd6481d
chore(): start moving some packages to the core directory ( #7215 )
2024-05-03 13:37:41 +02:00
Kasper Fabricius Kristensen
fdee748eed
feat(dashboard): Product create from - details ( #7121 )
...
**What**
- First part of the product creation form.
- New components:
- ChipInput - Allows users to input chips into a input field. Chips are created by hitting the `,` or `Enter / Return` keys. Deleting a chip is done by hitting `Backspace` when the cursor is next to chip, or clicking the `X` button in the chip. Used for inputting option values.
- SortableList - A sortable drag-n-drop list that allows the user to re-arrange the order of items. Used for re-arranging the ranking of variants.
- ChipGroup - New re-usable component that is used to render a group of values as Chips. This should be used for SplitView form items.
- CategoryCombobox - (WIP) Nested Combobox component for selecting multiple categories a product should be associated with.
- New hooks:
- useComboboxData - Hook for easily managing the state of comboboxes.
- useDebouncedSearch - Hook for managing debounced search queries.
2024-05-03 10:37:36 +00:00
Frane Polić
e42308557e
feat(dashboard): shipping & location ( #7151 )
2024-05-03 11:51:55 +02:00
Oli Juhl
c41e90fa36
chore: Remove Admin v1 ( #7214 )
...
* chore: Remove v1 admin
* update eslint
2024-05-03 10:56:38 +02:00
Adrien de Peretti
46ded00c08
chore: Remove legacy files plugins ( #7216 )
...
**What**
rm legacy file plugins
2024-05-03 08:01:40 +00:00
Shahed Nasser
5bc780a646
feat(medusa-cli): added v2 flag ( #7211 )
2024-05-03 08:43:54 +02:00
Adrien de Peretti
0140fd63ab
chore(): rm payment plugins ( #7217 )
2024-05-03 08:42:03 +02:00
Riqwan Thamir
f129415650
feat(medusa,core-flows): complete cart [part-1] ( #7201 )
...
what:
- adds a very basic complete cart endpoint that creates an order
- the complete cart workflow currently does the following:
- create tax lines
- create order
2024-05-02 22:24:50 +00:00
Oli Juhl
e78362c000
chore: Remove legacy MWH modules ( #7213 )
...
* chore: Remove legacy MWH modules
* chore: Add stock-location deps
2024-05-02 20:07:42 +02:00
Adrien de Peretti
4eae25e1ef
chore(): Reorganize modules ( #7210 )
...
**What**
Move all modules to the modules directory
2024-05-02 15:33:34 +00:00
Adrien de Peretti
7a351eef09
feat(workflows-sdk): Execute workflows as step in other workflows ( #7183 )
2024-05-02 11:29:28 -03:00
Carlos R. L. Rodrigues
9d3f495314
feat(fulfillment): shipping options context field ( #7169 )
2024-05-02 09:59:14 -03:00
Adrien de Peretti
25b0ccc60a
fix(fulfillment): Update shipping options rules ( #7204 )
...
**What**
Fix the update shipping options to apply the rules update properly and remove unused code
2024-05-02 12:30:13 +00:00
Stevche Radevski
6487931f54
fix: Add shipping options for cart fix ( #7205 )
2024-05-02 10:33:58 +00:00
Oli Juhl
f430ed7040
chore: Remove deprecated plugins ( #7199 )
2024-05-02 09:55:50 +02:00
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