Commit Graph

4302 Commits

Author SHA1 Message Date
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
a458cd144d docs: update algolia plugin next.js details (#5807) 2023-12-05 15:49:52 +02: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
Chris
a418e6cebc docs: search results template needs the product ids to fetch previews (#5793)
https://github.com/medusajs/nextjs-starter-medusa/issues/200#issuecomment-1828308192
2023-12-05 09:23:25 +00:00
Shahed Nasser
ebac617c19 docs: fix typo in onboarding (#5802) 2023-12-05 10:52:51 +02:00
github-actions[bot]
be1bcfc186 chore(docs): Removed Docs Announcement Bar (automated) (#5801)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2023-12-05 10:24:25 +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
Shahed Nasser
c808317044 docs: added "Integrate Your Ecommerce Stack" recipe (#5774) 2023-11-30 11:27:09 +00: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
Shahed Nasser
443c611d3b docs: updated Next.js deployment guide (#5756) 2023-11-28 15:52:29 +00:00
Shahed Nasser
fa4935259c docs: diagrams plugin tooling (#5741)
* added plugin

* updated plugin + added component

* dummy data TO BE REMOVED

* (wip) workflow generator tool

* add workflow generator tooling

* updated the generator tool

* added code file creation

* fix design of diagrams

* configured diagram theme

* added build script

* removed comments + unnecessary files

* general fixes

* refactored plugin

* added README + more output types
2023-11-28 14:30:23 +00:00
Shahed Nasser
d27b86ab8e docs: added examples for modules usage in Medusa (#5753)
* Add data migration script after running migrations

* Update install-medusa.mdx

* Update examples.md (#5751)

* fix lint errors

* fix comment in example

* added examples for modules usage in Medusa

---------

Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
2023-11-28 11:14:00 +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
Riqwan Thamir
870d686136 docs: update pricing module docs with the latest changes (#5749)
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-11-28 09:56:57 +00:00
Shahed Nasser
deca78f749 docs: updated next.js starter docs (#5748)
* docs: updated next.js starter docs

* fix lint errors

* added migration script
2023-11-28 09:42:28 +00:00
Shahed Nasser
5f90515306 docs: fix back links for modules references (#5747) 2023-11-27 19:59:04 +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
Shahed Nasser
dc6b815b12 docs: updated user guide for product pricing (#5744)
Updated the user guide to remove the pricing section in create/update variants sections
2023-11-27 18:37:14 +00:00
Shahed Nasser
d337c6d95b docs: fix back link in Workflows API Reference (#5740)
Fix back link shown in the sidebar of the workflows API reference
2023-11-27 18:09:32 +00:00
github-actions[bot]
0d316b5981 chore(docs): Generated Docs Announcement Bar (automated) (#5742)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2023-11-27 17:13:49 +00:00
Shahed Nasser
cdc1da5df7 docs: added documentation pages for experimental features (#5671)
* docs: added documentation pages for experimental features

* fix content lint issues

* fixed lint errors

* added migration step

* added workflows introduction

* add installation guides

* added installation guides for modules + generated workflows reference

* added missing workflows reference link

* Added warning message for experimental features

* fix note
2023-11-27 16:49:12 +00:00
olivermrbl
cf0939aab2 chore: Release 2023-11-27 16:45:56 +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
Shahed Nasser
547b16ead5 docs: fix code block titles (#5733)
* docs: fix code block titles

* remove console

* fix build error
2023-11-27 16:08:10 +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
github-actions[bot]
faa528159d chore(docs): Removed Docs Announcement Bar (automated) (#5721)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-11-27 09:34:34 +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
olivermrbl
74117ad48b chore(changesets): Change workflows -> workflows-sdk 2023-11-24 14:03:51 +00:00
Adrien de Peretti
ddbeed4ea6 chore(workflows, core-flows): Split workflows tooling and definitions (#5705) 2023-11-24 13:55:48 +00:00