Kasper Fabricius Kristensen
066fd3c3d2
feat(dashboard): Add more injection zones (customer, customer groups) ( #7448 )
2024-05-24 14:19:33 +00:00
Stevche Radevski
296473d994
feat: Update customer related typings and sdk methods ( #7440 )
2024-05-24 13:25:10 +02:00
Kasper Fabricius Kristensen
253bec655c
fix(admin-sdk): Remove polyfills and unused dependencies ( #7434 )
2024-05-23 22:02:40 +02:00
Kasper Fabricius Kristensen
6ec6e2c7b6
feat(dashboard,admin-vite-plugin): Add product zones and fix zone change effect ( #7427 )
...
**What**
- Adds injection zones to the product domain.
- Fixes an issue where changing the `zone` in a widget config to another valid widget would not trigger a HMR event.
- Fixes an issue where UI Routes would not work in production.
2024-05-23 19:13:42 +00:00
Stevche Radevski
8a070d5d85
Revamp the authentication setup ( #7419 )
...
* feat: Add email pass authentication provider package
* feat: Revamp auth module and remove concept of scope
* feat: Revamp the auth module to be more standardized in how providers are loaded
* feat: Switch from scope to actor type for authentication
* feat: Add support for per-actor auth methods
* feat: Add emailpass auth provider by default
* fix: Add back app_metadata in auth module
2024-05-23 20:56:40 +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
Kasper Fabricius Kristensen
f1176a0673
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
2024-05-23 14:02:19 +02:00
Kasper Fabricius Kristensen
521c252dee
chore(dashboard): Delete old translation files ( #7423 )
2024-05-23 14:00:39 +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
Adrien de Peretti
37ae87fe9b
fix(admin-next, utils, medusa): Handle db errors properly and fix form ( #7416 )
...
* fix(admin-next, utils, medusa): Handle db errors properly and fix form
* fix(admin-next, utils, medusa): Handle db errors properly and fix form
* fix(admin-next, utils, medusa): Handle db errors properly and fix form
* fix(admin-next, utils, medusa): Handle db errors properly and fix form
2024-05-23 12:36:45 +02:00
Kasper Fabricius Kristensen
e01472aae6
chore(dashboard): Remove v1 code and medusa-react ( #7420 )
2024-05-23 09:40:30 +00:00
Oli Juhl
b0209e1114
fix: Navigate to orders on signin ( #7415 )
2024-05-23 10:11:25 +02:00
Kasper Fabricius Kristensen
ccf335fcf4
fix(dashboard): settings navigation loop ( #7412 )
...
* fix: settings navigation loop
* fix comment
2024-05-23 10:07:10 +02:00
Shahed Nasser
6f1b90f207
fix(dashboard): fixes to strings ( #7411 )
...
* fix(dashboard): fix the text of manage areas
* add missing string
* add missing react import
2024-05-23 11:07:01 +03:00
Oli Juhl
4ee47cf9b1
fix: Accept invite in admin ( #7393 )
...
* fix: Accept invite in admin
* fix: Accept invite in admin
* minor fix
2024-05-22 21:40:38 +02:00
Shahed Nasser
bb5872de48
fix(dashboard): fix reservation's button text + documentation links ( #7405 )
...
* fix(dashboard): fix reservation's button text
* change documentation links
2024-05-22 18:39:19 +03:00
Shahed Nasser
5e0f98f578
fix(admin-sdk): error when admin needs build ( #7401 )
...
Fix the error shown when admin is not built instructing the user to run the `build` command.
2024-05-22 13:02:24 +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
c9bffdfecb
feat: expose backend url in admin options ( #7370 )
2024-05-20 11:24:15 +02:00
Oli Juhl
c0813a3547
fix: undefined BACKEND_URL in client ( #7367 )
2024-05-19 13:51:36 +02:00
Oli Juhl
bf4724b8e6
feat: Destroy session + introduce http config ( #7336 )
2024-05-19 12:40:28 +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ć
df8f4169e5
fix(dashboard): variants list query key ( #7354 )
2024-05-17 10:18:36 +02:00
Oli Juhl
31648b12ca
fix: Retrieve region in loader ( #7351 )
2024-05-17 09:35:30 +02:00
Frane Polić
694434d51a
fix(dashboard): location UI fixes ( #7288 )
...
* fix: a few UI fixes
* fix: domain name
* feat: edit service zone areas
* feat: edit shipping option prices
* fix: sorting
2024-05-16 19:34:49 +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
bb2b041954
feat(dashboard): add campaign create to promotion UI ( #7306 )
...
* chore(medusa): strict zod versions in workspace
* feat(dashboard): add campaign create to promotion UI
* chore: fix bug with form reset
* chore: address reviews
2024-05-15 10:43:13 +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
Frane Polić
5952fddad5
fix: SC add products table full width ( #7273 )
2024-05-08 18:33:40 +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
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
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
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
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
Frane Polić
fe68b5c0f2
refactor(dashboard): refresh domains ( #7087 )
2024-04-24 10:38:52 +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
Stevche Radevski
9e3556686b
fix: Standardize remaining batch methods and update FE calls ( #7122 )
2024-04-23 09:12:38 +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
Frane Polić
f62de56b63
feat(dashboard): Region refactor ( #7083 )
...
* wip: regions refactor
* feat: finalize region domain
* fix: cleanup error messages
2024-04-22 08:35:52 +02: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