Harminder Virk and GitHub
8410592239
Rename schema to property ( #7761 )
2024-06-18 16:14:09 +05:30
Harminder Virk and GitHub
4f7bbf1f29
feat: add support for indexes ( #7756 )
2024-06-18 13:41:16 +05:30
Carlos R. L. Rodrigues and GitHub
d6c6f5998c
chore(orchestration): remote joiner - relationships as map ( #7752 )
2024-06-17 16:11:42 -03:00
Kasper Fabricius Kristensen and GitHub
2d8d2c4255
feat(dashboard,js-sdk,types,admin-shared): Add Product Types domain ( #7732 )
2024-06-17 16:50:55 +00:00
Riqwan Thamir and GitHub
263d9d0f22
feat(core-flows,utils): add payment + shipment workflow events ( #7749 )
2024-06-17 18:05:05 +02:00
Kasper Fabricius Kristensen and GitHub
2e8e7b27b6
fix(dashboard,types,js-sdk): Locations & Shipping fixes and cleanup ( #7715 )
2024-06-17 16:10:39 +02:00
Carlos R. L. Rodrigues and GitHub
bc0c65c6b3
feat(modules-sdk): define link ( #7743 )
2024-06-17 09:28:42 -03:00
Harminder Virk and GitHub
0886869148
feat: mark all DML entities as soft delete-able by default ( #7744 )
2024-06-17 16:16:56 +05:30
Frane Polić and GitHub
4e86caba30
feat(dashboard): display inventory levels in variants table ( #7694 )
...
* feat: display inventory levels in variants table
* fix: display conditions and translations
* fix: invalidate inventory lists when products are created
* fix: translation, fix link definition
* fix: revert link
* feat: navigation actions
* fix: action, refactor
* fix: refactor, add check for manage quantity flag
* fix: update label
2024-06-17 11:23:18 +02:00
Harminder Virk and GitHub
0b9a6d5a52
Identify the owner when both sides defines a many to many relationship ( #7741 )
2024-06-17 14:47:14 +05:30
Harminder Virk and GitHub
2af3f9e954
Add support for cascades to DML ( #7721 )
2024-06-14 13:45:11 +05:30
Riqwan Thamir and GitHub
3d33f06e77
chore: upgrade jest everywhere ( #7703 )
2024-06-14 07:35:30 +02:00
Riqwan Thamir and GitHub
41528ddecf
fix: ability to update price list status on admin ( #7699 )
2024-06-13 21:29:02 +02:00
Adrien de Peretti and GitHub
d2a5201eeb
chore: Refactor and improve abstract module service factory ( #7688 )
...
* chore: Refactor and improve abstract module service factory
* align naming
* clean up some template args and tests
* partially migrate modules
* partially migrate modules
* migrate more modules
* migrate last modules
* fix typings
* rename interface
* rename interface
* fixes
* fixes
* rm local plain tests
2024-06-13 13:12:37 +02:00
Riqwan Thamir and GitHub
c57223a3a2
chore: price list prices of a product can be deleted ( #7700 )
2024-06-13 12:19:09 +02:00
Stevche Radevski and GitHub
d862d03de0
feat: Revamp of product categories ( #7695 )
...
* feat: Normalize the categories interface to match standards
* feat: Revamp the product category implementation
* fix: Adjustments to code and tests around product categories
2024-06-13 09:10:12 +02:00
Harminder Virk and GitHub
fbd8eef18b
Overall revamp of relationships ( #7690 )
2024-06-13 11:19:53 +05:30
Carlos R. L. Rodrigues and GitHub
75811cd4b3
feat(order): Claim and Exchange entities ( #7681 )
2024-06-12 14:49:15 -03:00
Kasper Fabricius Kristensen and GitHub
2f76fbc6ed
feat(dashboard,types,sdk,medusa,ui): ProductCategory domain ( #7675 )
...
**What**
- Add missing features to ProductCategory domain in admin
- Add types
- Add SDK
**UI**
- Moves the TooltipProvider from the component to an export. Users should now wrap their entire application in a TooltipProvider. This change was made to take advantage of the built-in features of Radix Tooltip, and allows us to skip the delayDuration when moving the cursor from one tooltip to another within 500ms.
- Fixes the layout of the Hint component, as the create form revealed that it was off.
- Fixes an issue where focus styles were missing from the dropdown menu.
**Note**
- ~~We currently don't have an endpoint for deleting categories, so I have disabled the button in the admin. See CORE--2286~~ PR has been opened to add delete endpoint, so I have re-enabled the delete button.
- The update category workflow seems to be broken, it's possible for the `mpath` of a category to reach an invalid state, that breaks `include_descendants_tree` from working. See CORE-2287.
- The ProductCategory model is incorrect. All fields are optional and it's not possible to set the description to null, which means the only way of unsetting it is to set it to `""`. See CORE-2276.
- The design for the Organize drag-n-drop form is not final. Ludvig will create a final design, and we can then update the form.
- Currently, all things related to Metadata is left out, as we need to update the flow for metadata according to the latest designs.
RESOLVES CORE-1960, CORE-2230
*except for the above mentioned issues.
2024-06-12 11:15:12 +00:00
Oli Juhl and GitHub
73ca358606
feat: Introduce order.placed event ( #7682 )
2024-06-12 12:05:13 +02:00
Harminder Virk and GitHub
6d43daa930
Code cleanup and add support for default values and nullable relationships ( #7687 )
2024-06-12 14:39:03 +05:30
Frane Polić and GitHub
48d8b2c623
fix(core-flows): variant pricing batch update ( #7677 )
...
* fix: variant pricing batch update
* fix: batch endpoint throwing when `create` array isn't passed
* fix: batch variants workflow
2024-06-11 19:45:43 +02:00
Harminder Virk and GitHub
5f348d88f4
Initial implementation of DML to Mikro ORM entity generation ( #7667 )
...
* feat: initial implementation of DML to Mikro ORM entity generation
CORE-2279
* test: fix breaking tests
* refactor: cleanup code for defining properties and relationships
* feat: finish initial implementation of relationships
2024-06-11 21:00:36 +05:30
Stevche Radevski and GitHub
0e731dbad0
feat: Add support for category deletion ( #7679 )
2024-06-11 16:49:42 +02:00
Adrien de Peretti and GitHub
dd0b9f0805
feat: workflows release events ( #7664 )
...
* feat: Release grouped events once a worfklow finish
* update common step
* update types
* tests
* optionality
* fies
* cancel flow on release failure
* clear events on fail
* more tests
* log errors
* log more errors
* update missing interface method declaration
* fix missing return
* update mock
* fix tests
2024-06-11 15:48:15 +02:00
afae395fea
chore: ensure the event group id is kept for async workflow ( #7668 )
...
* chore: ensure the event group id is kept for async workflow
* revert test
* fix tests
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2024-06-11 13:20:17 +02:00
Stevche Radevski and GitHub
3d72002c28
fix: Remove scheduled workflows if they no longer exist when executed ( #7673 )
2024-06-11 12:57:25 +02:00
Stevche Radevski and GitHub
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
Carlos R. L. Rodrigues and GitHub
37426939da
Feat(order): post purchase support ( #7666 )
2024-06-10 18:44:51 -03:00
39ddba2491
chore: ability to group events on redis event bus ( #7655 )
...
* chore: ability to group events on redis event bus
* chore: fix tests
* Update packages/modules/event-bus-redis/src/services/event-bus-redis.ts
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
* chore: change shape of input and body data
* chore: fix builds
* chore: address comments
* chore: fix unit test
---------
Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com >
2024-06-10 22:15:43 +02:00
Frane Polić and GitHub
f08f0d6cc9
feat(dashboard): inventory create flow ( #7650 )
2024-06-10 17:37:36 +02:00
Stevche Radevski and GitHub
69410162f6
feat: Add support for scheduled workflows ( #7651 )
...
We still need to:
But wanted to open the PR for early feedback on the approach
2024-06-10 14:49:52 +00:00
Harminder Virk and GitHub
7f53fe06b6
Initial implementation of data types and base schema ( #7644 )
2024-06-10 14:31:42 +05:30
Oli Juhl and GitHub
3f661c917b
feat: Fix subscribers loading + add order <> cart link ( #7617 )
2024-06-09 12:31:28 +02:00
Riqwan Thamir and GitHub
fbb00f3863
chore: group & release events for local eventbus ( #7649 )
...
* chore: stage & release events for local eventbus
* chore: address review
* chore: mock emitter correctly
2024-06-07 15:31:16 +02:00
Adrien de Peretti and GitHub
c9c2b6c88f
chore: Ensure the transactionId/eventGroupId are passed down the child workflows ( #7648 )
2024-06-07 12:38:04 +02:00
Adrien de Peretti and GitHub
2e77a076b8
feat: Add emitEvent step + cleanup ( #7643 )
...
* feat: Add emitEvent step + cleanup
* fix typo
* fix typo
2024-06-07 11:52:19 +02:00
Adrien de Peretti and GitHub
3cd2d60daa
feat: Ensure the event group id is either generated or picked up from the context ( #7646 )
...
**What**
- Pick the context event group id or generate it to be accessible from the workflow and down the module calls
FIXES CORE-2273
2024-06-07 09:14:02 +00:00
Riqwan Thamir and GitHub
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 and GitHub
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
Adrien de Peretti and GitHub
3f62bfad5a
fix: should disable db connection ssl when some url params are provided ( #7634 )
...
**What**
Enable ssl identification from the client url query params as well
2024-06-06 14:52:12 +00:00
Riqwan Thamir and GitHub
0507dbe027
chore(core-flows,inventory,types,medusa): add fixes to inventory module + location levels api ( #7629 )
...
what:
- santizes inputs to prevent reserved_quantity from being updated directly
- inventory items create api can create location levels
- add validation to update quantity of reservation items
- general cleanup
RESOLVES CORE-2254
2024-06-06 12:58:17 +00:00
Adrien de Peretti and GitHub
3fbb8aa671
feat: Product module events ( #7598 )
...
WIP, not ready to review
**what**
- add events
- integration tests of emitted events
- remove integration tests on auto generated services in favor of module method integration tests
2024-06-06 11:47:38 +00:00
Kasper Fabricius Kristensen and GitHub
50ce223e4b
feat(types,js-sdk,medusa,fulfillment): Types and SDK methods related to Stock Locations ( #7625 )
2024-06-06 11:04:42 +02:00
Frane Polić and GitHub
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
Adrien de Peretti and GitHub
da3837f2bc
chore: return meta information on created/updated/deleted object from upsertWithReplace ( #7616 )
...
**What**
- Return the updated/deleted/created entities from the upsert with replace according to the configuration
This will help to emit the events from the product module as it rely on this abstraction in many places
2024-06-05 20:04:45 +00:00
Carlos R. L. Rodrigues and GitHub
56f65f319d
fix(modules-sdk): dependencies ( #7622 )
2024-06-05 11:46:07 -03:00
Harminder Virk and GitHub
2b62686ec6
implement events to the pricing module ( #7584 )
2024-06-05 17:33:49 +05:30
Stevche Radevski and GitHub
fafc92b875
Revamp auth module to support multiple providers linked to a single auth identity ( #7521 )
2024-06-05 07:47:16 +00:00
Oli Juhl and GitHub
20cd6a7b51
chore: Split up admin domain in js-sdk ( #7612 )
2024-06-05 09:34:18 +02:00