invalid w
2cca3627c3
fix(admin-ui->Collections): add key for map fn. resolve #6106 ( #6107 )
...
resolve #6106 .
just add key for map fn.
2024-01-18 14:32:45 +00:00
Kasper Fabricius Kristensen
0f34e0f381
feat(admin-ui, medusa, medusa-react, medusa-js): Price List UI revamp ( #5233 )
...
* progress on cleanup
* rm forceMount
* close modal on succesful submit
* fix: invalidate price list query on useAdminCreatePriceListPrices
* sync translation keys
* add last translations
* sync translation keys
* improve tabbing between cells
* add comment
* fix: remove double variant, set collision boundary on column dropdown
* add widgets
* update lock file
* decrease details info size, and add missing status update function
* sync translation keys
* add snapshots and remove min/max
* add missing filter menu for customer groups table
* add translation keys for filter menu
* rm unused code
* Create tall-apricots-run.md
* Update tall-apricots-run.md
* fix: discard invalid paste values
* add translation keys
* bump snapshots + minor fixes
* rm console.log
* bump snapshots
* bump ui packages, and add missing tax inclusive display in New form
* update lock file
* fix filter menu
* update snapshot
* update ui package and fix sub menu position
---------
Co-authored-by: Sebastian Rindom <skrindom@gmail.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-10-06 08:22:25 -07:00
Oli Juhl
ef2a12e451
fix(admin-ui): Undefined vars in admin ( #5162 )
...
* fix(admin-ui): Undefined vars in admin
* Create short-hairs-fold.md
2023-09-20 17:03:47 +02:00
Geoffroy Empain
afd4e72cdf
feat(admin-ui): Multi-language support ( #4962 )
2023-09-12 14:53:48 +02:00
Rares Stefan
57e199ef52
fix(admin-ui): Fix sign out in admin panel not redirecting correctly ( #4837 )
2023-08-23 21:54:45 +02:00
Kasper Fabricius Kristensen
f1a05f4725
feat(admin, admin-ui, medusa-js, medusa-react, medusa): Support Admin Extensions ( #4761 )
...
Co-authored-by: Rares Stefan <948623+StephixOne@users.noreply.github.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-08-17 12:14:45 +00:00
Philip Korsholm
0bfdc33a0b
fix(admin-ui): Inventory nitpicking ( #4316 )
...
* minor fixes
* add changeset
* add search by sku placeholder
2023-06-16 08:28:07 +02:00
Philip Korsholm
79cca2ab80
feat(admin-ui): Filter reservations ( #4115 )
...
* initial filter
* clenaup
* reser filters correctly
* filter reservations
* ensure reset works
* update types
* add adjustment icon
* pr prep
* update filtering with proper description handling
* location filter updates and search removal
* removed greyed out dates + add created_by filtering
* update filtering with proper ordering
* filter out selected users
* fix array issues
* update spacing for searchable queries
* fix deselection bug for inventory item search
* update date filter;
* rename const a to initialFilters
* fix re-render issue
* ui updates
* update inventory filter to remove selected items
* fix width
* fix truncation for button text if desired
* add span classes
* add "go to reservations" popover
* add tooltip if location text is truncated
* fix long items
* typing
* minor fix for select value
* fix reservation quantity field updates
* add pb
* Update packages/admin-ui/ui/src/components/templates/reservations-table/index.tsx
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* feedback
* add changeset
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-06-08 17:57:39 +02:00
Frane Polić
1bd2e7a5be
fix(admin-ui): flickering Timeline ( #4231 )
...
* fix(admin-ui): prevent Timeline flickering while loading
* chore: changesets
---------
Co-authored-by: fPolic <frane@medusajs.com >
2023-06-07 10:58:30 +02:00
Philip Korsholm
4f3c8f5d70
feat(admin-ui,medusa): Reservations management ( #4081 )
...
* add location filtering to list-location levels
* cleanup
* add location filtering to list-location levels
* cleanup
* Initial work on route,table,new reservation form
* generated types
* add block
* udpate clients
* initial create reservation
* update actionables for reservation table
* update edit-allocation modal
* misc naming updates
* update reservations table
* add expand capabilities for list-reservations
* expand fields and show columns
* update oas
* make remove item work in focus modal
* add yarn lock
* add integration test
* Fix display when label doesn't match search term
* remove unused file
* Update packages/admin-ui/ui/src/components/templates/reservations-table/components/reservation-form/index.tsx
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update packages/admin-ui/ui/src/domain/orders/details/allocations/edit-allocation-modal.tsx
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* Update packages/admin-ui/ui/src/components/templates/reservations-table/new/index.tsx
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* initial changes
* add changeset
* update font size
* cleanup reservations table + select
* add decorated inventory item type
* use type
* feedback changes
* Update packages/admin-ui/ui/src/components/molecules/item-search/index.tsx
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
* decorate response for list inventory item to include total quantities
* update decorated properties
* decorate type
* adrien feedback
* Update packages/generated/client-types/src/lib/models/DecoratedInventoryItemDTO.ts
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
* update join-utils
* fix caching
---------
Co-authored-by: Rares Capilnar <rares.capilnar@gmail.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-05-23 05:24:28 +02:00
Oliver Windall Juhl
0be6816578
feat(admin-ui): Add Sales Channel filter ( #3897 )
...
* feat(admin-ui): Add Sales Channel filter
* Create silver-wombats-camp.md
* filter out null children
2023-04-23 13:26:42 +02:00
Kasper Fabricius Kristensen
788ddc0f43
fix(medusa, admin-ui, medusa-react): Gift Card update fixes and admin UI cleanup ( #3676 )
...
* fix gc domain issues
* add changeset
* update changeset
* more minor fixes, remove breadcrumb
* more cleanup
* address feedback
2023-04-02 19:04:32 +02:00
Rares Stefan
7e1d8ef599
feat(admin-ui): Add new feature badge for categories and inventory ( #3657 )
...
* Add new feature badge for categories and inventory
* Add changeset
2023-03-31 12:29:46 +02:00
Kasper Fabricius Kristensen
4342ac884b
feat(admin-ui, medusa): admin UI metadata ( #3644 )
2023-03-31 12:07:24 +02:00
Rares Stefan
e6b5859af2
feat(admin-ui): Make number input increment/decrement buttons not tabbable-to ( #3645 )
...
* Make number input inc./dec. buttons not tabbable to
* Create changeset
2023-03-30 18:18:41 +02:00
Oliver Windall Juhl
851a981880
fix(admin-ui): Eliminate purple from most-visible components ( #3639 )
2023-03-30 12:50:33 +02:00
Rares Stefan
7428ffa300
fix(admin-ui): Fix team table filter dropdown transparency ( #3625 )
...
* Add a z-index to the dropdown content
* Create yellow-trees-rest.md
2023-03-29 16:27:59 +02:00
Frane Polić
bd199d7f44
fix(admin): OrderEdit display of difference due with refund ( #3487 )
...
**What**
- fix `difference_due` in the OE modal to show the correct difference a user has to pay
- fix Timeline crashing due to returned line item being `undefined `(deleted after OE confirmation)
**Why**
We were taking into account `refunded_amount` when calculating "Difference Due" and used the following formula:
`orderEdit.total - paidTotal + refundedTotal`.
The issue here is that `orderEdit.total` is "overpriced" for the amount of items that are returned/refunded already (i.e. we are charging the user again for the returned items).
The straightforward solution would be to subtract `refunded_total` from the `orderEdit.total` to get the total cost of items the user is actually getting after the edit.
`difference_due = (orderEdit.total - refundedTotal) - (paidTotal - refundedTotal ) = orderEdit.total - paidTotal`
But if we have partially refunded returns, we would have the same problem of returned items priced into the total.
In that case, general solution should be something like:
`diff_due_display = orderEdit_total_of_items_user_is_getting - paid_total + refunded_total`
Would like to hear what you guys think!
---
FIXES CORE-1246
2023-03-24 16:59:15 +00:00
Kasper Fabricius Kristensen
bfef22b33e
fix(admin-ui): Gift Card manage page ( #3532 )
...
**What**
- Updates GC manage page to use product page sections
- Revamps Denomination section
- Updates the location of several components to reflect that they are now shared between the GC and products domain


Resolves CORE-1089
2023-03-23 08:29:29 +00:00
Frane Polić
f831b7db37
fix(admin-ui): show failure reason for batch jobs ( #3526 )
...
* fix: display error messages for batch jobs
* feat: add changesets
* feat: tooltip size, load more jobs
---------
Co-authored-by: fPolic <frane@medusajs.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-21 16:13:39 +01:00
Kasper Fabricius Kristensen
9ad15d3a88
feat(admin-ui): Implements redesign of public pages ( #3504 )
...
* redesign public pages
* rm build files
* fix size of button
2023-03-17 10:17:47 +01:00
Rares Stefan
4213326fe8
feat(admin-ui): Add location names to fulfilment rows and timeline events ( #3481 )
...
Adds location information to fulfilment rows and timeline events


Resolves CORE-1234
2023-03-16 14:41:39 +00:00
Rares Stefan
478903b55a
fix(admin-ui): Inventory and order UI fixes and tweaks ( #3461 )
...
This PR aims to tackle a few different small fixes and tweaks related to inventory and order details UI, in connection to multiwarehousing features.
- Successfully deleting an allocation should now only present one toast
- Updated copy in allocation editing toasts
- Inventory table search should now be the same height as the location selection trigger
- Inventory table rows should now correctly visually indicate that they are clickable
- Removed Filters from Inventory table for the time being
- Added actions to Inventory table rows for adjusting availability (same action as clicking the row, which remains) and going to the product detail page for the inventory item
Resolves CORE-1229, CORE-1228, CORE-1227, CORE-1233, CORE-1230
2023-03-14 09:53:13 +00:00
Philip Korsholm
55a1f232a3
Feat(admin-ui, medusa): request return with location ( #3451 )
...
* add location_id to request_return endpoint to support "receive_now" returns
* changeset
* admin request return
* add locations to recieving returns
* cleanup test
* add check for inventory service
2023-03-14 10:35:59 +01:00
Kasper Fabricius Kristensen
ad7d7fcd51
fix(admin-ui): Lint all UI files ( #3459 )
2023-03-13 14:02:20 +01:00
Riqwan Thamir
478d1af8d0
feat(medusa, admin-ui): Improvements to product categories ( #3416 )
2023-03-08 16:56:49 +01:00
Rares Stefan
57d7728dd9
feat(admin-ui, medusa-js, medusa-react, medusa): Multiwarehousing UI ( #3403 )
...
* add "get-variant" endpoint
* import from a different place
* fix unit test
* add changeset
* inventory management for orders
* add changeset
* initial create-fulfillment
* add changeset
* type oas and admin
* Move inv. creation and listing from admin repo
* Fix location editing bug (CORE-1216)
* Fix default warehouse on inventory table view
* remove actions from each table line
* Use feature flag hook instead of context directly
* remove manage inventory action if inventory management is not enabled
* Address review comments
* fix queries made when inventorymodules are disabled
* variant form changes for feature enabled
* move exclamation icon into warning icon
* ensure queries are not run unless feature is enabled for create-fulfillment
---------
Co-authored-by: Philip Korsholm <philip.korsholm@hotmail.com >
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
2023-03-08 16:08:56 +01:00
Kasper Fabricius Kristensen
d0d11307d2
fix(admin-ui): Fix use of expand parameter on order page ( #3383 )
...
* Create cuddly-seahorses-thank.md
* add integration tests
* revert back from master to develop
* fix expand
* add new integration test
* add missing default relations
* add missing refunds relation
* re work
* fix tests
* init
* fix order page according to fixes to expand
* expand shipping on returns
* Create .changeset/cuddly-beers-tease.md
---------
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-07 19:43:44 +01:00
Riqwan Thamir
47d3440766
feat(admin-ui, medusa-react): product page categories management + nested multiselect ( #3401 )
...
* chore: allow products to be categorized in product create/edit page
* refactor: cleanup
* feat: invalidate product details cache when categories change
* fix: update changesets
* fix: push ner changeset
* feat: limit popup height
---------
Co-authored-by: fPolic <frane@medusajs.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-07 19:42:01 +01:00
Riqwan Thamir
b5662d0c6a
feat(admin-ui): adds category ui for tree/list, edit, create, delete ( #3399 )
...
* chore: adds category ui for tree/list, edit, create, delete
* fix: address feedback
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: fPolic <frane@medusajs.com >
2023-03-07 13:29:22 +01:00
Philip Korsholm
06f567f446
fix(admin-ui): table action gap ( #3386 )
...
* add gap in table actions
* add changeset
* Update .changeset/light-frogs-smoke.md
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
---------
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-07 13:14:14 +01:00
Riqwan Thamir
bca731a148
chore: Product page shows list of categories associated with it ( #3400 )
2023-03-07 10:04:25 +01:00
Kasper Fabricius Kristensen
67ba8be02b
fix(admin): Add skus to claim menus ( #3368 )
...
**What**
- Adds SKU to all tables in claim flow, allowing admins to easily copy them to their clipboard.
2023-03-05 17:17:45 +00:00
Kasper Fabricius Kristensen
40de54b010
feat(admin,admin-ui,medusa): Add Medusa Admin plugin ( #3334 )
2023-03-03 10:09:16 +01:00