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
olivermrbl
89d4d84666
chore(release): v1.8.0-rc.4
2023-03-30 17:12:37 +02:00
Philip Korsholm
5e405be02c
feat(medusa): Remove reservations for all line items when an order edit is accepted ( #3544 )
...
**What**
- Remove all allocations to line items once an order edit is confirmed
**Why**
- Since all line items of an order are discarded once an order edit is confirmed it will orphan the reservations causing inconsistencies with the stock
2023-03-30 09:56:10 +00:00
Philip Korsholm
999aeb116c
fix(medusa): Fix hanging inventory item migration script ( #3624 )
2023-03-30 09:29:44 +02:00
Patrick
377b9ce8c2
fix(oas:test): Augment jest timeout from 30 to 60 sec ( #3631 )
...
* fix(oas:test): fix beforeAll timeout silent failure
* fix(test): fix ts-jest scaffolding in medusa-oas-cli
* chore(changeset): patch
2023-03-30 09:17:09 +02:00
Philip Korsholm
5fd74b38ae
feat(medusa): remove created reservations on subsequent failure for cart completion ( #3554 )
...
**What**
- If cart completion fails after creating reservations, remove those reservations
**Why**
- To avoid hanging reservations if something fails at a later point
2023-03-29 17:03:53 +00:00
Philip Korsholm
a7e3f2d343
feat(admin-ui): move inventory item fields into manage inventory modal ( #3591 )
2023-03-29 18:12:38 +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
Philip Korsholm
0d00903385
Fix(admin-ui): delete inventory item when variant is deleted ( #3585 )
2023-03-29 16:23:22 +02:00
olivermrbl
15a43c1cc0
chore(release): v1.8.0-rc.3
2023-03-29 13:42:11 +02:00
Oliver Windall Juhl
693015fde3
chore(medusa): EOL causing logging to hang ( #3622 )
...
* chore(medusa): EOL causing logging to hang
* Create .changeset/new-pans-explain.md
2023-03-29 13:34:09 +02:00
Philip Korsholm and Oliver Windall Juhl
0695ff642b
fix(medusa, admin-ui): List all inventory levels ( #3552 )
...
* ensure that all levels are listed
* add changeset
* remove count from config
* update changeset version bump
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-29 08:54:49 +02:00
Kasper Fabricius Kristensen
cd54c7dca9
fix(medusa-cli): add semver dependency ( #3603 )
...
* add direct dependency on semver to CLI
* add changeset
2023-03-29 08:48:39 +02:00
Carlos R. L. Rodrigues
55e94d0b45
fix(modules-sdk): check if dependency is registered ( #3620 )
...
* fix: check if dependency is registered
* changeset
2023-03-29 08:47:12 +02:00
olivermrbl
8ddb3952c0
chore(release): v1.8.0-rc.2
2023-03-28 21:04:57 +02:00
olivermrbl
990c79d2d5
chore(release): v1.8.0-rc.1
2023-03-28 19:32:36 +02:00
Rares Stefan and Carlos R. L. Rodrigues
345005573a
fix(admin-ui): Update order edit variants table to fit longer content ( #3608 )
...
* Fix stock cell check, update table columns to fit longer content
* Create nine-planes-kneel.md
* Update check
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
---------
Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com >
2023-03-28 19:21:40 +02:00
d1a6aa5a90
fix(admin-ui): Create fulfillment ( #3607 )
...
* fix for create-fulfillment
* remove ff check
* add changeset
* Disable Create fulfillment button if no quantities fulfilled
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Rares Capilnar <rares.capilnar@gmail.com >
2023-03-28 19:04:35 +02:00
Carlos R. L. Rodrigues
bca1f80dd5
chore(medusa, modules-sdk): default module error message ( #3605 )
...
* default module error message
* changeset
* unit test
2023-03-28 17:43:20 +02:00
5307408894
feat(medusa-payment-paypal): Migrate to the new payment processor API ( #3414 )
...
* feat(medusa-payment-paypal): Migrate to the new payment processor API
* WIP
* WIP
* WIP unit tests
* WIP
* unit tests
* fix package.json
* yarn
* cleanup
* address feedback 1/2
* Start to implement a new Paypal SDK
* cleanup
* finalise sdk
* cleanup
* fix push missing file
* rename sdk methods
* unit test the http client
* WIP
* fix http client
* Create .changeset/empty-melons-eat.md
* refactor tests
* fix quote
* fix options
* cleanup
* do not retry auth
* WIP
* retry mechanism max attempts
* use both old and new options
* fix capture
* remove totals fields
* add missing method
* cleanup
* fix current tests
* authorize should update the data with the fresh order
* remove comments
* fix tests
* Update packages/medusa-payment-paypal/src/core/paypal-http-client.ts
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
* fix unit tests
* update changeset
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-03-28 13:49:09 +02:00
Riqwan Thamir and Oliver Windall Juhl
5f41cd9a67
feat(medusa): Categories - Adds indexes + remove soft delete ( #3589 )
...
* chore: added indexes for category properties
* chore: added changset
* chore: test changeset pre
* chore: undo pre release
* chore: remove soft delete from categories (#3590 )
* chore: remove soft delete from categories
* chore: remove delete indexes and columns
* chore: drop safely + changeset
* chore: fix slipped deleted_at
* chore: removes extra changeset
* chore: redraw indexes
* chore: redraw indexes
* chore: drop records before dropping column for delete
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-28 12:43:15 +02:00
Philip Korsholm
e359d3f85b
fix(medusa): Include inventory quantity when listing products ( #3586 )
...
* initial inclusion of quantities when listing admin prices
* add changeset
* rename variable
* add inventory service check when listing products
* update changeset version bump
2023-03-28 12:42:26 +02:00
1ce3cc5ae4
feat(medusa): invalidate price selection caching within update request ( #3553 )
...
* feat: invalidate price selection caching on update
* feat: add `onVariantsPricesUpdate` to PriceSelectionStrategy
* fix: update units
* fix: import
* Create .changeset/tame-pillows-heal.md
* fix: address feedback
* refactor: make `onVariantsPricesUpdate` optional
---------
Co-authored-by: fPolic <frane@medusajs.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-28 11:18:13 +02:00
Rares Stefan and Oliver Windall Juhl
455c56c4b3
fix(admin-ui): Hide inventory quantity field in variant stock form if SL module enabled ( #3592 )
...
* Hide inventory stock field if stock locations module enabled
* Create purple-cats-brake.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-27 20:49:31 +02:00
Rares Stefan and Oliver Windall Juhl
95c9fbfdd5
fix(admin-ui): Fix effect check in inventory table and overflow UI ( #3577 )
...
* Fix effect check in inventory table and overflow UI
* Create ten-berries-rest.md
* Fix edit stock&inventory modal to use the right form
* Fix faulty merge conflict resolution
* Fix inventory item creation
* Add redirect to locations tab if no locations, toast
* Revert redirect and toast, add message in table
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-27 20:48:47 +02:00
Philip Korsholm
feaf8d2e19
feat(admin-ui, medusa): Improve fulfillment validation ( #3541 )
...
* validate that an inventory level exists as well
* improve create-fulfillment handling in admin
* pass along location id rather than inventory level id
* add changeset
* remove dependency
2023-03-27 20:36:59 +02:00
Patrick and Oliver Windall Juhl
53c4a43ca2
feat(oas:cli): output better error when no command is provided ( #3559 )
...
* feat(oas:cli): output better error when no command is provided
* chore(changeset): patch
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-26 11:59:52 +02:00
Philip Korsholm
332a9b686b
Feat(admin-ui): Request return flow warnings and errors ( #3473 )
...
**What**
- Add warning to request-return modal if no inventory level exists for the combination of items that is being requested
- Block receive return at location with the same condition
2023-03-24 14:01:31 +00:00
Adrien de Peretti
4a7bdc917a
fix(event-bus-local): Error handling ( #3575 )
...
**What**
The error handling was applied on the emit, which always succeed. On the other hand, the `on` which calls the handler, was not handling any errors and therefore crashed the server
2023-03-24 13:49:29 +00:00
olivermrbl
b57ea22461
chore: Enter pre-release mode and version packages
2023-03-24 10:16:11 +01:00
olivermrbl
333c5af47f
chore: Fix wrong package name in changeset
2023-03-24 08:53:23 +01:00
Carlos R. L. Rodrigues
4e9d257d3b
Chore(medusa,utils,types,inventory,stock-location): remove core dependency modules ( #3531 )
2023-03-23 08:07:32 -03: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
Philip Korsholm
3171b0e518
feat(medusa): add if statement to idempotency-key initialize ( #3555 )
...
* add if statement to idempotency-key initialize
* add changeset
2023-03-22 21:34:50 +01:00
Oliver Windall Juhl
74bc4b16a0
feat(medusa-plugin-algolia): Revamp Algolia search plugin ( #3510 )
2023-03-22 12:55:26 +01:00
Oliver Windall Juhl
ef5ef9f5a2
feat(medusa,event-bus-local,event-bus-redis): Event Bus modules ( #2599 )
2023-03-22 10:26:21 +01:00
Riqwan Thamir
7408111d11
chore: Cleanup changesets and group fixes ( #3543 )
...
* cleanup changeset and group fixes
* chore: merge more fixes
* chore: merge more changesets
* chore: fix issue with naming
2023-03-21 18:45:39 +01:00
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
Riqwan Thamir
7f2223b650
fix(medusa): fix bug with parent not being saved correctly ( #3534 )
...
What:
- Parent was being updated incorrectly because of a weird typeorm issue, making the rank pick up the wrong entity's rank. This PR fixes that issue by passing in an ID and letting the service take care of fetching the parent.
RESOLVES CORE-1274
2023-03-21 08:37:13 +00:00
Rares Stefan
c328ec5ca2
fix(admin-ui): Try and ensure allocation table checkmarks align better ( #3535 )
...
Followed the suggestion in the card and added a seemingly reasonable min-width to the total cell. Looks alright to me, though potentially fragile.
Before:
<img width="663" alt="image" src="https://user-images.githubusercontent.com/948623/226488496-9ac834d6-6deb-4960-afb5-683e25b207e5.png ">
After:
<img width="663" alt="image" src="https://user-images.githubusercontent.com/948623/226488325-765a18aa-090b-456f-a9cb-8676ef23d7a4.png ">
Resolves CORE-1244
2023-03-21 08:22:09 +00:00
Rares Stefan
497c7c55c7
feat(admin-ui): Encode location id in URL on location table ( #3533 )
...
Encoded the `location_id` into the query params and ensured it gets parsed on mount, into defaults. This allows safer refreshes of the locations table or accurate deep-links to be shared.
Resolves CORE-1252
2023-03-21 08:12:58 +00:00
Rares Stefan
d525c27774
fix(admin-ui): Fix location address editing form state ( #3525 )
...
I believe that changing the requiredness of the `address_1` and `country_code` fields when any part of the address was filled was not being registered correctly with the form state representation of those fields. ~~Have added an effect that unregisters the fields when the requiredness state changes and allows them to be re-registered with the correct `required` value when the next re-render happens due to that state having changed.~~
Have updated the submit button to be available even if form is invalid.
Resolves CORE-1266
2023-03-21 08:01:41 +00:00
Riqwan Thamir
98cad6d731
feat(medusa): seed command can create product categories ( #3528 )
...
* chore: seed command can create product categories
* chore: lint fixes
* chore: add a default value for categories
2023-03-20 19:08:52 +01:00
Philip Korsholm
55c5fba0d3
Feat(admin, medusa): add locations to claim and swap creation ( #3522 )
...
**What**
- Add location selection to claim and swap creation
Fixes CORE-1269
2023-03-20 14:05:37 +00:00
Rares Stefan and Philip Korsholm
a8423b8acc
fix(medusa, admin-ui): Fix edit order variant stock ( #3512 )
...
The stock column when adding variants in an order edit would just look at `inventory_quantity`, location-unaware. Updated this to now attempt to request location-aware stock information and updated the column to use this information and show total stock across how many locations, and a tooltip showing per-location stock.

Resolves CORE-1250
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
2023-03-20 13:16:49 +00:00
Philip Korsholm
026bdab05d
Feat/fulfill swaps and claims with locations ( #3518 )
...
* re-add if statements
* initial implementation
* add changeset
* address feedback
* remove context param from create-fulfillment
* fix tests
2023-03-20 13:48:25 +01:00
a3a7ace0c0
fix(admin): draft order shipping details ( #3500 )
...
* wip: fix draft order shipping details screen
* fix: reset address, refactor and cleanup
* fix: use const
* Create .changeset/violet-sloths-train.md
* fix: required fields, reset province
---------
Co-authored-by: fPolic <frane@medusajs.com >
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-19 14:31:03 +01:00
Philip Korsholm and Oliver Windall Juhl
aed7805c0e
fix(medusa): Error messages for reset tokens ( #3514 )
...
* initial
* reset password token handling
* Create .changeset/old-planes-cross.md
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-19 10:52:10 +01:00
Carlos R. L. Rodrigues
aa690beed7
feat(medusa): Modules initializer ( #3352 )
2023-03-17 12:18:52 -03:00
Kasper Fabricius Kristensen and Oliver Windall Juhl
8a7421db5b
feat(admin): Improve DX for deploying admin externally ( #3418 )
...
* init deploy command
* add include flag
* add 'shortcut' flag
* add dev command, fix var replacement, change default behaviour
* cleanup params of build command
* fix defaults when using the plugin to serve admin
* add changeset
* fix globals
* update README
* throw error on no build found
---------
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-03-17 13:18:51 +01:00