Commit Graph

3627 Commits

Author SHA1 Message Date
Abílio Soares Coelho
1903217705 docs: fix contentful URL (#4375)
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-07-10 16:21:36 +03:00
Bhyn
6c3eeb8d18 docs: correct typos in documentation (#4413)
* Correct typos in documentation

* Remove changes to References directory

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-07-10 15:36:23 +03:00
Oliver Windall Juhl
78a1f3943b chore(admin-ui): Remove new badges from inventory + categories (#4444)
* chore(admin-ui): Remove new badges from inventory + categories

* Create early-poets-drum.md
2023-07-10 12:23:27 +02:00
Adrien de Peretti
a6c0825722 chore: Update node version in the pipeline to 16 (#4485)
* chore: Update node version in the pipeline to 16

* upgrade to node 16 (setup-server)
2023-07-10 12:17:30 +02:00
Adrien de Peretti
bdd9c5a7e9 fix(medusa): model loader with customizations (#4443)
* fix(medusa): model loader with customizations

* fix plugin models loader

* Create late-insects-punch.md

* Address pr feedback

* remove unnecessary bits

* remove unnecessary bits

* fix

* remove unnecessary changes

* rm duplicate param jsdoc
2023-07-04 11:34:19 +02:00
josetr
417debfe7d fix(medusa-react): fix wrong admin reservations query key (#4441)
* Fix react admin reservations query key

* Create quiet-gifts-kick.md
2023-06-30 09:08:02 +02:00
Carlos R. L. Rodrigues
499c3478c9 feat: Remote Joiner (#4098) 2023-06-29 15:29:01 +02:00
Adrien de Peretti
9dcdc0041a fix(medusa, utils): fix the way selects are consumed alongside the relations (#4389)
**What**
There is actually an issue with using the `fields` query params with the way the repositories are using our custom query strategy. This pr aims to fix this issue by reworking the strategy.

What we had to do was to rework the way the selects are built for each subquery in order to follow the aliasing convention and to be taken into consideration. Alongside these changes, the join used to always select everything, this needed to be changed so that if there are any selects provided for a join, the join should not select everything and let the query select the fields that are requested.

Another notable change is that all the repositories are now using the repository util in order to centralize the customization and to have a single place to update when this kind of issue arises. This means that the eager relations when using the query builder are not necessarily taken into account. For that reason, I have removed the `shipping_option` eager option in favor of explicitly asking for the relations like we started to do it in some places.

FIXES CORE-1413
2023-06-29 13:26:41 +00:00
Riqwan Thamir
9760d4a96c feat(medusa, types): Improve DX of model extensions (#4398) 2023-06-29 13:45:16 +02:00
Yash Maheshwari
1e88b4d5d9 docs: Update sidebars.js to remove the duplicate entry for JS client (#4402) 2023-06-28 17:05:46 +02:00
Adrien de Peretti
6f1fa244fa chore(medusa-cli): Cleanup plugin setup (#4420)
* chore(medusa-cli): Cleanup plugin setup

* fix: logger types

* fix event bus local

* fix event bus redis

* Create late-dragons-collect.md

* move to ts

* remove unused command

* env

* fix
2023-06-28 16:37:25 +02:00
Lacey Pevey
fe25c8a91f feat(medusa-react,medusa-js): Allow custom headers (#4409)
* add support for passing custom headers to backend through medusa-js and medusa-react

* switch order of override of headers

* Create gentle-teachers-greet.md

---------

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-06-28 15:04:58 +02:00
Adrien de Peretti
5a4580b6a8 chore(medusa-dev-cli): Cleanup plugin setup (#4421)
FIXES CORE-1420

does not include ts migration
2023-06-28 11:32:05 +00:00
Adrien de Peretti
627bdb689f chore(gatsby-source-medusa): Cleanup plugin setup (#4419)
* chore(gatsby-source-medusa): Cleanup plugin setup

* fix process-node

* Create gentle-cups-crash.md
2023-06-27 14:00:11 +02:00
Oliver Windall Juhl
85eb12883e feat(medusa): Improve error messaging in plugin loader (#4410)
* feat(medusa): Improve error messaging in plugin loader

* Create fair-kids-tease.md

* pr comments

* pr comments
2023-06-26 13:33:40 +02:00
Adrien de Peretti
01245ac89e feat(medusa): Improve DX of validators extensions (#4397)
* feat(medusa): Allow to register extended validators seemlesly

* Create happy-points-yawn.md

* comment
2023-06-26 11:05:23 +02:00
Oliver Windall Juhl
579fcb8cd6 chore: Update issue template 2023-06-26 10:41:36 +02:00
Lacey Pevey
f65a501da5 feat(medusa-plugin-sendgrid): Add error messages (#4384)
* add error messages to SendgridService.sendNotification

* add event name to msg for no template set for event

* Create violet-clocks-study.md

---------

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-06-26 10:33:03 +02:00
github-actions[bot]
c71161cfe5 chore(docs): Removed Docs Announcement Bar (automated) (#4399)
Co-authored-by: shahednasser <shahednasser@users.noreply.github.com>
2023-06-26 08:52:07 +02:00
Oliver Windall Juhl
14bfe6d514 add @medusajs/product readme (#4368) 2023-06-21 11:28:54 +02:00
Adrien de Peretti
7bf7d2adef chore(medusa): Concurrently get entities and count (#4367)
* chore(medusa): Concurrently get the items and count instead of sequentially

* Create tidy-sloths-sit.md
2023-06-21 11:28:28 +02:00
olivermrbl
ce4e83b2aa chore: Release 2023-06-20 14:41:59 +02:00
Shahed Nasser
76c4bf4acb docs: documentation changes for release (#4300)
* docs: added manage reservations user guide (#4290)

* docs: added manage reservations user guide

* removed feature flag details

* docs: added how-to for custom reservations (#4292)

* docs: added how-to for custom reservations

* eslint fixes

* docs: added product module documentation (#4287)

* docs: added product module documentation

* added details about optional environment variables

* small fixes

* Remove reference link

* added example usages

* added link to sample project

* address PR feedback

* docs: moved product module guide + added product module tabs (#4307)

* added product module tab

* adjust design of badge

* docs: added onboarding features (#4168)

* added marketplace page

* added subscription roadmap

* added rating for onboarding

* added learning path components

* small fixes

* fix build error

* fix eslint errors

* change roadmaps to recipes

* small change in text

* optimize learning path and notifications

* fix tracking usage

* fix eslint errors

* added enter/exit animation

* allow starting a path using a query parameter

* fix gap between notifications

* address vercel comments

* fixed links issue

* changed create-medusa-app docs steps

* move troubleshooting section

* improved tracking across docs

* fix build errors

* remove console

* added a note about `boilerplate` option

* added troubleshooting section for eagain

* added invite option in cli reference

* added track event for finished onboarding

* update boilerplate option name

* redesigned learning path component

* docs: added how to create widget docs (#4318)

* docs: added how to create widget docs

* remove development guide

* added types

* docs: added details about createCustomAdminHooks (#4288)

* docs: added details about createCustomAdminHooks

* small improvement

* added missing import

* small changes

* docs: added onboarding guide (#4320)

* docs: added how to create widget docs

* remove development guide

* docs: added onboarding guide

* added types

* added recipes link

* small adjustments

* fixed eslint errors

* styling fixes

* change to singular product module

* updated the what's new section

* shorten down medusa react card

* updated tailwind configurations

* fix build error

* fix newspaper icon

* style fixes

* change modal shadow

* fix color of line numbers

* fix code fade color

* docs: updated admin documentations

* eslint fixes

* text changes

* added a note about beta version

* remove empty object argument

* remove demo repo url

* fix selection color for code headers

* general fixes

* fix eslint error

* changed code theme

* added preparation step

* changes regarding beta version

* Update docs/content/modules/products/serverless-module.md

Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>

* Update docs/content/modules/products/serverless-module.md

Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>

---------

Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-06-20 12:25:22 +02:00
github-actions[bot]
8db03619b5 chore: Version Packages (#4364)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-20 11:50:33 +02:00
Shahed Nasser
6d5da9166f feat(create-medusa-app): support admin onboarding experience (#4339) 2023-06-20 11:43:40 +02:00
Shahed Nasser
9d868dfc40 docs: remove latest tag for yarn (#4358) 2023-06-19 18:24:12 +03:00
olivermrbl
befa3b83f8 chore: Release 2023-06-19 16:34:14 +02:00
github-actions[bot]
e2bb65d160 chore: Version Packages (#4354)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-19 16:31:15 +02:00
Riqwan Thamir
dc120121c1 fix(product, types): correct path for migration files + fix types on products service module (#4348)
* chore: correct path for migration files

* chore: resolve the path for migrations to be picked up

* chore: fix types on product service interface

* chore: update changeset to reflect type changes

* chore: changed changeset to the correct format
2023-06-19 16:12:47 +02:00
github-actions[bot]
bf4f5e7147 chore: Version Packages (#4346)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-18 21:18:41 +02:00
olivermrbl
12782778f9 chore: Prepare @medusajs/product for beta 2023-06-18 21:11:02 +02:00
Shahed Nasser
5b50daec08 docs: updated create-medusa-app steps (#4327) 2023-06-18 15:38:06 +03:00
github-actions[bot]
6b3353bdc8 chore(docs): Generated Docs Announcement Bar (automated) (#4344)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2023-06-18 13:41:16 +02:00
olivermrbl
d88a57fd9c chore: Release 2023-06-18 13:26:47 +02:00
github-actions[bot]
5d7877ded6 chore: Version Packages (#4223)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-18 13:14:20 +02:00
olivermrbl
b779040acb chore: First major of create-medusa-app 2023-06-18 13:02:18 +02:00
Adrien de Peretti
13294fff3f fix(medusa): medusa develop does not take execArgv into account properly (#4338) 2023-06-17 15:43:05 +02:00
Shahed Nasser
a19d397a77 docs: fix text highlight color for dark mode (#4332) 2023-06-16 15:37:16 +03:00
Ashutosh Krishna
698df651f5 docs: fixed typos in condition type relations section in discounts architecture page (#4122)
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-06-16 15:23:22 +03:00
Shahed Nasser
2bffe9c542 docs: fix code tabs in migrations guide (#4331) 2023-06-16 14:39:15 +03:00
Shahed Nasser
e1f43fd207 chore(create-medusa-app, product, utils, medusa-cli): Resolve string-width dep issue (#4328) 2023-06-16 11:31:23 +02: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
Shahed Nasser
5ad7347408 fix(create-medusa-app): disable opening browser (#4321) 2023-06-15 21:15:19 +02:00
Adrien de Peretti
30d89044f1 fix(product): The bin scripts should include a shebang and import in the body (#4296) 2023-06-15 19:42:49 +02:00
Philip Korsholm
1d91fa4e08 fix(medusa-plugin-brightpearl): External ref split (#4295)
* order should be first part of external_ref

* add changeset

---------

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-06-15 19:41:44 +02:00
Shahed Nasser
f98ba5bde8 feat(create-medusa-app,medusa-cli): Allow clearing project (#4273)
- Added build step
- Added `--no-boilerplate` option to `create-medusa-app` to allow clearing onboarding files
- Clear project files by default in medusa-cli
2023-06-15 17:31:30 +00:00
Philip Korsholm
f8643361cd feat(admin-ui, medusa): Remove feature flag (#4267) 2023-06-15 16:55:29 +00:00
olivermrbl
c95b485a1e chore: Use specific typeorm versions 2023-06-15 18:30:58 +02:00
Oliver Windall Juhl
9b42387fd3 chore: Add missing deps (#4317) 2023-06-15 18:27:31 +02:00
Derek Wene
81dfeb43ea feat(medusa): add redis_prefix in configModule.projectConfig (#4268) 2023-06-14 16:24:35 +02:00