Stevche Radevski
a26b7cf253
feat: Implement notifications feed ( #8224 )
...
Designs: https://www.figma.com/design/z3aUuOVWUKmdHH0ofmMpEV/Web-app-3.0?node-id=10-50&t=9k6K9k7oJh5tIi09-0

CLOSES CC-219
2024-07-25 07:37:01 +00:00
Riqwan Thamir
fdee0bd55a
chore: use campaign http types from types package ( #7922 )
2024-07-03 14:13:44 +02:00
Adrien de Peretti
48963f55ef
Chore/rm main entity concept ( #7709 )
...
**What**
Update the `MedusaService` class, factory and types to remove the concept of main modules. The idea being that all method will be explicitly named and suffixes to represent the object you are trying to manipulate.
This pr also includes various fixes in different modules
Co-authored-by: Stevche Radevski <4820812+sradevski@users.noreply.github.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-06-19 13:02:16 +00:00
Riqwan Thamir
0d04c548f5
feat(dashboard,types,promotion,medusa): hide fields on promotions depending on templates ( #7746 )
...
**what:**
- hides different fields depending on the chosen template
- remove operator values API
- fixes to edit promotion rules
- make currency optional for promotion
RESOLVES CORE-2297
2024-06-18 16:47:42 +00:00
Stevche Radevski
8e2a42b786
Clean up product typings ( #7663 )
...
There are a lot of issues in the admin after applying the correct typings, but fixing those should be done gradually, it's better to keep it out of this PR
2024-06-11 09:28:40 +00:00
Frane Polić
f08f0d6cc9
feat(dashboard): inventory create flow ( #7650 )
2024-06-10 17:37:36 +02:00
Riqwan Thamir
1f1b996f63
chore: buyget templates add default target + buy rules ( #7500 )
...
* chore: buyget templates add default target + buy rules
* chore: reposition
* chore: address comments
* chore: added fixes
* chore: fix typo
* chore: fix strictness checks
2024-06-07 09:47:31 +02:00
Oli Juhl
f0e78d062e
feat: Add tax region + rates to SDK and types ( #7635 )
...
* feat: Add tax region + rates to SDK and types
* replace client with sdk in loaders
* Address PR feedback
2024-06-06 18:31:39 +02:00
Frane Polić
9677daa568
fix(dashboard): import in client ( #7628 )
...
**What**
- fix import of deleted file
2024-06-06 08:49:21 +00:00
Frane Polić
d285e60961
feat(dashboard,core-flows,medusa): update fulfillment flows ( #7589 )
...
* fix: fulfillment ops
* fix: cancel fulfillment route
* fix: adjustInventoryLevelsStep throwing
* feat: cancel order and fix endpoint
* fix: type
* feat: order domain sdk
* feat: delete unused file
* fix: import
2024-06-06 08:58:21 +02:00
Kasper Fabricius Kristensen
9c44f08e0e
fix(dashboard): Paginate Comboboxes in create and edit organization forms ( #7602 )
...
**What**
- Paginates comboboxes
- Loads categories relation on details page.
- Fix the endpoint used by client to fetch product tags (temp until we add sdk methods)
Resolves CORE-2073
2024-06-04 15:30:48 +00:00
Kasper Fabricius Kristensen
5a9922916a
feat(dashboard,types,js-sdk): Cleanup collection domain ( #7502 )
...
**What**
- Adds missing collection HttpTypes
- Adds missing sdk functions
- Adds usage of sdk to collection domain.
2024-05-28 18:53:55 +00:00
Frane Polić
6117af2704
feat(dashboard): restructure create product flow ( #7374 )
2024-05-28 13:59:02 +02:00
Stevche Radevski
296473d994
feat: Update customer related typings and sdk methods ( #7440 )
2024-05-24 13:25:10 +02:00
Riqwan Thamir
d1d23f1e8d
feat(dashboard,medusa): Promotion Campaign fixes ( #7337 )
...
* chore(medusa): strict zod versions in workspace
* feat(dashboard): add campaign create to promotion UI
* wip
* fix(medusa): Missing middlewares export (#7289 )
* fix(docblock-generator): fix how type names created from Zod objects are inferred (#7292 )
* feat(api-ref): show schema of a tag (#7297 )
* feat: Add support for sendgrid and logger notification providers (#7290 )
* feat: Add support for sendgrid and logger notification providers
* fix: changes based on PR review
* chore: add action to automatically label docs (#7284 )
* chore: add action to automatically label docs
* removes the paths param
* docs: preparations for preview (#7267 )
* configured base paths + added development banner
* fix typelist site url
* added navbar and sidebar badges
* configure algolia filters
* remove AI assistant
* remove unused imports
* change navbar text and badge
* lint fixes
* fix build error
* add to api reference rewrites
* fix build error
* fix build errors in user-guide
* fix feedback component
* add parent title to pagination
* added breadcrumbs component
* remove user-guide links
* resolve todos
* fix details about authentication
* change documentation title
* lint content
* chore: fix bug with form reset
* chore: address reviews
* chore: fix specs
* chore: loads of FE fixes + BE adds
* chore: add more polishes + reorg files
* chore: fixes to promotions modal
* chore: cleanup
* chore: cleanup
* chore: fix build
* chore: fkix cart spec
* chore: fix module tests
* chore: fix moar tests
* wip
* chore: templates + fixes + migrate currency
* chore: fix build, add validation for max_quantity
* chore: allow removing campaigns
* chore: fix specs
* chore: scope campaigns based on currency
* remove console logs
* chore: add translations + update keys
* chore: move over filesfrom v2 to routes
* chore(dashboard): Delete old translation files (#7423 )
* feat(dashboard,admin-sdk,admin-shared,admin-vite-plugin): Add support for UI extensions (#7383 )
* intial work
* update lock
* add routes and fix HMR of configs
* cleanup
* rm imports
* rm debug from plugin
* address feedback
* address feedback
* temp skip specs
---------
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
Co-authored-by: Shahed Nasser <shahednasser@gmail.com >
Co-authored-by: Stevche Radevski <sradevski@live.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
2024-05-23 15:28:00 +02:00
Oli Juhl
05077bab32
feat: Add copy invite action ( #7413 )
...
https://github.com/medusajs/medusa/assets/59018053/2a2d0d39-e020-4146-8679-cbc99d75c98e
2024-05-23 10:58:59 +00:00
Kasper Fabricius Kristensen
e01472aae6
chore(dashboard): Remove v1 code and medusa-react ( #7420 )
2024-05-23 09:40:30 +00:00
Stevche Radevski
025536e2a5
feat(sdk): Replace region calls with the SDK in admin, apply typings … ( #7371 )
2024-05-20 14:47:31 +00:00
Frane Polić
521b4e7926
feat(dashboard): order fulfillment UI ( #7262 )
...
* feat: initial impl. of Unfulfilled section and create flow
* feat: create fulfillment
* feat: order <> fulfillment link, fulfillment section
* feat: accept order_id when creating fulfillment
* feat: finish create and cancel
* fix: integration test
* refactor: real Order<>Fulfillment link instead readonly, add link step to the workflow
* fix: revert `order_id` definitions
* chore: add changeset
* fix: build
* fix: address comments
* fix: fetch inventory and location levels for fulfilled variant
* fix: loading inventory details
* add isList to order fulfillment link
* fix: duplicate declaration
* fix: type
* refactor: link orders step, fix client
* fix: move translations to the new file
* fix: pass order id in test
---------
Co-authored-by: olivermrbl <oliver@mrbltech.com >
2024-05-20 13:41:09 +02:00
Oli Juhl
c0813a3547
fix: undefined BACKEND_URL in client ( #7367 )
2024-05-19 13:51:36 +02:00
Frane Polić
ce75755ac6
feat(dashboard): manage groups from customer details ( #7346 )
2024-05-19 11:10:13 +02:00
Stevche Radevski
00a37cede1
feat: Add support for authentication to the sdk, and plug it in the admin ( #7349 )
...
* feat: Add support for authentication to the sdk, and plug it in the admin
* fix: await fetch before returning in sdk
2024-05-17 14:37:38 +02:00
Frane Polić
d5ac0633f5
feat(dashboard): collection product management ( #7333 )
...
* feat: implement collection management
* fix: toasts
* fix: use query keys from the lib
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2024-05-16 09:07:36 +02:00
Kasper Fabricius Kristensen
490586f566
feat(medusa,dashboard,admin-sdk): Run admin dashboard from Medusa instance ( #7330 )
2024-05-15 19:52:09 +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
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
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
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
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
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
Stevche Radevski
9e3556686b
fix: Standardize remaining batch methods and update FE calls ( #7122 )
2024-04-23 09:12:38 +00:00
Kasper Fabricius Kristensen
e2fabc1c05
fix(dashboard,medusa,fulfillment): Move Shipping Profiles to settings ( #7090 )
...
**What**
- Moves Shipping Profiles to settings
- Adds `q` and filters to shipping profile list endpoint
- Adds new details page for profiles
2024-04-19 14:11:32 +00:00
Kasper Fabricius Kristensen
7e66dd0dd0
fix(dashboard,medusa): Fixes to Customer and Customer Groups domains ( #7081 )
...
**What**
- Cleanup of domains
- Adds toasts
- Adds delete customer hook
- Fixes validation of create and update customer endpoints.
2024-04-17 08:32:21 +00:00
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
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
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
Oli Juhl
3882cac622
feat: Admin V2 customer group ( #7000 )
2024-04-09 12:32:27 +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
Oli Juhl
4f88743591
feat: Admin V2 Customers ( #6998 )
2024-04-07 21:38:50 +02:00
Stevche Radevski
f65fbff535
feat: Improvements to the products details page in the admin ( #6994 )
2024-04-07 17:52:47 +02: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
Stevche Radevski
e8587e9f95
feat: Add support for defining options when creating product ( #6981 )
2024-04-06 18:58:53 +02: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
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