Shahed Nasser
ddc6cc13a0
docs: add TSDoc for payment processor + generate docs ( #5917 )
...
* added tsdocs for payment processor
* generated reference for payment processor
2023-12-18 14:02:18 +02:00
Bogdan Ošep
e513cbae6b
Slovenian(sl) translation ( #5828 )
...
Admin UI - Translation into slovenian language(sl - slovenščina)
2023-12-18 11:15:57 +00:00
Edi
9c71c1d864
Bulgarian language support ( #5786 )
...
Bulgarian language support for the Admin dashboard
2023-12-18 10:49:04 +00:00
Chris
c444b036f7
feat(admin): Added Simplified Chinese support ( #5798 )
...
* feat(admin): Added Simplified Chinese support
* feat(admin): Update zh translation.json
* docs: Add Simplified Chinese to Admin language support list
* Revert "docs: Add Simplified Chinese to Admin language support list"
This reverts commit 51cca40211ac7e01ac7f78429107ace44785878a.
2023-12-18 11:23:26 +01:00
Frane Polić
1d7888afca
feat(medusa, link-modules): sales channel <> product module link ( #5450 )
...
* feat: sales channel joiner config
* feat: product sales channel link config, SC list method
* feat: migration
* fix: refactor list SC
* refactor: SC repo api
* chore: changeset
* feat: add dedicated FF
* feat: product<> sc join entity
* fix: update case
* fix: add FF on in the repository, fix tests
* fix: assign id when FF is on
* fix: target table
* feat: product service - fetch SC with RQ
* feat: admin list products & SC with isolated product domain
* feat: get admin product
* feat: store endpoints
* fix: remove duplicate import
* fix: remove "name" prop
* feat: refactor
* fix: product seeder if FF is on
* fix: env
* refactor: workflow product handlers to handle remote links
* fix: condition
* fix: use correct method
* fix: build
* wip: update FF
* fix: update FF in the handlers
* chore: migrate to medusav2 FF
* chore: uncomment test
* fix: product factory
* fix: unlinking SC and product
* fix: use module name variable
* refactor: cleanup query definitions
* fix: add constraint
* chore: rename prop
* fix: add hook
* fix: address comments
* fix: temp sc filtering
* fix: use RQ to filter by SC
* fix: add sc to filter to list
---------
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-12-15 13:43:00 +01:00
Philip Korsholm
56b07ed0cf
feat(medusa): Update shipping option price type ( #5895 )
...
**What**
- allow updates to shipping option price type
- Clean up the use of strings in the api validation
Fixes #5824
2023-12-15 10:12:43 +00:00
Riqwan Thamir
2d79eeeecc
feat(medusa): add currency to region responses ( #5857 )
...
Resolves https://github.com/medusajs/medusa/issues/5837
2023-12-14 15:52:54 +00:00
github-actions[bot]
7f5e638f61
chore: Version Packages ( #5754 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-14 15:27:39 +01:00
Adrien de Peretti
2826605b01
fix(medusa): Order edit confirmation conflict line items update ( #5867 )
...
* fix(medusa): Order edit confirmation conflict line items update
* naming
* Create serious-flowers-provide.md
* another proposal
* fixes
2023-12-14 14:52:27 +01:00
Adrien de Peretti
b5748ab59e
chore(medusa): Prefer logger instead of console.log ( #5846 )
...
* chore(medusa): Prefer logger instead of console.log
* Create nasty-comics-leave.md
* fix imports
2023-12-13 16:09:48 +01:00
Shahed Nasser
245e5c9a69
docs: generate documentation for UI components ( #5849 )
...
* added tool to generate spec files for React components
* use typedoc for missing descriptions and types
* improvements and fixes
* improvements
* added doc comments for half of the components
* add custom resolver + more doc comments
* added all tsdocs
* general improvements
* add specs to UI docs
* added github action
* remove unnecessary api route
* Added readme for react-docs-generator
* remove comment
* Update packages/design-system/ui/src/components/currency-input/currency-input.tsx
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
* remove description of aria fields + add generate script
---------
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
2023-12-13 16:02:41 +02:00
Riqwan Thamir
07107f3565
feat(orchestration,core-flows,medusa,product,types,utils): product import/export uses workflows ( #5811 )
2023-12-12 12:09:25 +00:00
Zarar Siddiqi
6f96ced40f
feat(medusa): Emit "discount.created" event when discount is created ( #5816 )
2023-12-12 10:52:57 +01:00
Riqwan Thamir
079f0da83f
feat(core-flows,pricing,medusa,pricing,types,utils): Price List Prices can have their own rules ( #5752 )
...
**What**
- Add price-rules for prices in price-lists
- make rules object optional when creating prices
**Why**
- more price granularity
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
2023-12-12 08:20:21 +00:00
josetr
d9e29e8e45
fix(medusa): Updating note doesn't require loading author relationship ( #5825 )
2023-12-10 19:37:29 +01:00
Kasper Fabricius Kristensen
8ab5baf78a
fix(admin-ui): Bulk editor default fields ( #5829 )
...
* fix(ui): Bump cva and minor type fixes
* fix version of cva
* fix default fields
2023-12-10 19:36:08 +01:00
Kasper Fabricius Kristensen
591ba2388d
fix(ui): Bump cva and minor type fixes ( #5818 )
...
**What**
- Bumps `class-variance-authority` to new beta version - `cva@beta`.
- Updates all usages of `cva` to new API.
- Clear up the naming of types in `usePrompt`
**Why**
- A bug in how `class-variance-authority` exported its types mean that we were relying on patching the package to ensure that the correct types made it into the build of our UI package. This was important to ensure intellisense for component variants, such as `<Button size="large" />`. Previously in the UI monorepo, having the patch was enough to ensure that the correct types made it into the build, but that was not the case after we moved the design system to the core repo. The issue with types is fixed in the `@1` version of `cva` which is currently in beta. I have pinpointed the version to the current beta version to ensure stability despite the package currently being in beta.
2023-12-07 20:13:44 +00:00
Adrien de Peretti
85cda7ce37
feat(medusa, core-workflows, product): slightly improve create cart workflow ( #5725 )
2023-12-07 17:05:23 +01:00
Adrien de Peretti
946db51a9b
chore(): Add engines to all package.json if needed ( #5812 )
2023-12-07 17:03:50 +01:00
LULU
1c90610617
feat(admin-ui): metadata for categories in admin ui and refactor to react-hook-form ( #5697 )
...
* WIP
* add metadata to category add and edit ui
* remove console.log
* lint
* remove console.log
* requested changes getDefaultCategoryValues util
* change placeholder and wrap handleSubmit
* Update edit-product-category.tsx
---------
Co-authored-by: lulu <lucjan.grzesik@gmail.com >
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com >
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-12-07 10:51:21 +01:00
mortenengel
9b447f99ff
fix(medusa): Product option values in CSV Export ( #5781 )
...
* https://github.com/medusajs/medusa/issues/5712
* fix-5712 added a comment
* fix/5712 - changing to context object
* Create yellow-games-reflect.md
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-12-06 15:12:05 +01:00
Annika
7d04f95603
docs(plugins): puts local-file plugin into correct category in site ( #5804 )
...
Closes [Issue #5782 ](https://github.com/medusajs/medusa/issues/5782 )
Per Shahed, @medusajs/file-local plugin doesn't have the correct "storage" category, and its because the [package.json file](https://github.com/medusajs/medusa/blob/develop/packages/medusa-file-local/package.json ) doesn't have the keyword medusa-plugin-storage. This PR is to add the keyword.
2023-12-06 12:20:38 +00:00
pepijn-vanvlaanderen
a53ae1e29b
feat(medusa): Replace Node Redis with ioredis ( #5656 )
...
* Replaced Node Redis with ioredis
* Update express.ts
2023-12-06 09:10:56 +01:00
Adrien de Peretti
6975eacb33
feat(medusa): Improve add line item to cart perf and transaction management + clustering start command ( #5701 )
2023-12-06 08:53:35 +01:00
Shahed Nasser
892d737c1f
docs: enhance how references are generated ( #5805 )
...
* adjusted configurations
* enhancements to tool and configurations
* change reference in docs
* fixed issue in workflows reference
* added project name
* more optimizations
* fix context error
* added a types reference
* resolved missing types
* fix reference reflection types not having children
* add an expand url parameter
* added new option to the README
* added details about new option
2023-12-05 15:29:41 +02:00
Edin Skeja
5d0e9ac007
feat(medusa-payment-klarna): Add language variable ( #4483 )
...
* Add language variable
* Add changeset
2023-12-03 14:42:16 +01:00
iweurman
f20d484b23
feat(admin): Add Korean language support ( #5769 )
...
* Add Korean language support
* Add to docs
* Create angry-eels-guess.md
---------
Co-authored-by: olivermrbl <oliver@mrbltech.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-12-03 14:40:15 +01:00
driver005
fd317f1a6b
feat(medusa-cli): add monorepo support command develop ( #5723 )
...
* add monorepo support command develop
* fix formating bug in @medusa/admin package.json
* Create grumpy-bees-laugh.md
---------
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com >
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
2023-12-03 14:29:55 +01:00
Oli Juhl
428331a653
feat(medusa): Respond with order when cart is already completed ( #5766 )
2023-12-01 09:17:12 +01:00
Kasper Fabricius Kristensen
4e9d954549
fix(medusa-react): Allow setting maxRetries on MedusaProvider ( #5765 )
...
* allow settign maxRetries on MedusaProvider
* add changeset
* set default maxRetries to 3
2023-11-29 15:42:46 +00:00
Shahed Nasser
f802e2460f
docs: TSDoc + reference of fulfillment service ( #5761 )
2023-11-29 11:58:08 +00:00
Adrien de Peretti
8f25ed8a10
feat(link-modules, pricing, product, utils): Custom database config in shared mode ( #5755 )
...
* feat(link-modules, pricing, product, utils): Should be able to set some custom database config even in shared mode
* Create wet-hounds-retire.md
2023-11-29 08:19:28 +00:00
Riqwan Thamir
c4deeee481
fix(modules-sdk): add graphql dependency to modules-sdk ( #5750 )
2023-11-28 17:11:44 +00:00
Philip Korsholm
e4bfa6c88a
fix(medusa): throw proper error when product doesn't exist w/ key header ( #5745 )
...
**What**
- ensure that an error is raised properly if the requested product doesn't exist and a publishable-key header is set
**Why**
- previously endpoints would hang if the product didn't exist and requests would time out
closes #5724
2023-11-28 10:24:50 +00:00
github-actions[bot]
cdd42dbdcd
chore(docs): Generated References ( #5743 )
...
Generated the following references:
- `entities`
- `inventory`
- `js-client`
- `pricing`
- `product`
- `services`
- `stock-location`
- `workflows`
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com >
2023-11-27 18:58:52 +00:00
github-actions[bot]
935e9f0561
chore: Version Packages ( #5673 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-27 16:43:51 +00:00
Kasper Fabricius Kristensen
d5526736ec
fix(admin-ui): fix height of Bulk Editor cells to always be 40px ( #5737 )
2023-11-27 16:34:53 +00:00
Philip Korsholm
de8f748674
fix(link-modules, utils): remove limits on queries when primary-key is provided ( #5732 )
2023-11-27 15:42:25 +00:00
Philip Korsholm
3bcf08c0cb
fix(admin-ui): inventory item deletion when removing product ( #5727 )
2023-11-27 13:42:55 +00:00
Riqwan Thamir
2e6b110316
fix(medusa,pricing): Fix migrations for existing databases ( #5730 )
2023-11-27 13:36:56 +00:00
Kasper Fabricius Kristensen
5f6751a61f
fix(admin-ui): Fix Y-axis scroll in bulk editor ( #5726 )
2023-11-27 11:13:11 +00:00
Philip Korsholm
18afe0b9ad
Fix(medusa, inventory, stock-location, types, utils): Modules sdk build query ( #5713 )
...
* remove defaults
* take 2
* works now
* add changeset
* pricing module and pricing service list take null updates
* update handlers
* update product module service with take:null where relevant
* no spread
* note to self:default offset should be 0, not 15
2023-11-27 10:17:42 +00:00
olivermrbl
a982e60a0e
chore: Bump lock-file
2023-11-27 08:28:09 +00:00
olivermrbl
285fa92876
chore(workflows-sdk): Change version for release
2023-11-27 08:10:57 +00:00
Philip Korsholm
aa6c4cbac5
fix(medusa): pricing module list prices return type ( #5715 )
2023-11-26 16:30:21 +00:00
Philip Korsholm
0df1c7d427
fix(pricing, types): update calculatePrices return type to match actual type ( #5709 )
...
* initial type fix
* add changeset
* update changeset
* update tsdocs
---------
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com >
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com >
2023-11-24 17:12:34 +00:00
Carlos R. L. Rodrigues
ffb0c7b4cd
feat(workflows-sdk): get name method ( #5714 )
2023-11-24 16:39:27 +00:00
Adrien de Peretti
ddbeed4ea6
chore(workflows, core-flows): Split workflows tooling and definitions ( #5705 )
2023-11-24 13:55:48 +00:00
Riqwan Thamir
fc1ef29ed9
fix(medusa,pricing,types): rules only gets updated/deleted upon passing an explicit object ( #5711 )
2023-11-24 13:54:23 +00:00
Kasper Fabricius Kristensen
07934cdaac
fix(admin-ui): Edit prices requires at least one product ( #5710 )
2023-11-24 13:54:07 +00:00