Commit Graph

4132 Commits

Author SHA1 Message Date
Oli Juhl
adb6fb3f7d fix(admin-ui): Allow nullish values in update variant (#5173)
* fix(admin-ui): Allow nullish values in update variant

* Create moody-poems-carry.md
2023-09-22 11:34:54 +02:00
Shahed Nasser
123b3787d5 docs: general fixes for docs workspace (#5184) 2023-09-22 12:25:48 +03:00
Sebastian Rindom
c1b8f089e3 fix(medusa-payment-stripe): adds missing undefined check (#5177)
* fix: adds undefined check

* Create twelve-lamps-search.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-09-22 11:02:28 +02:00
Adrien de Peretti
dfa5d041c9 feat(medusa): Add product isolation FF to update cart (#5168)
**What**
Update cart must use the remote query when being in product isolation mode.

This pr is a first iteration that aims to quickly make compatible the end point in isolation. In a future iteration, this end point will be migrated to a workflow

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-09-22 08:49:59 +00:00
Shahed Nasser
27d74cb399 docs: fix error related to Key type (#5178)
* docs: fix error related to Key type

* fix styling issue
2023-09-21 21:41:18 +03:00
Carlos R. L. Rodrigues
25dad081b7 fix(admin-ui): translation pt (#5176)
What:
Fix a couple of words in Portuguese
2023-09-21 18:16:22 +00:00
Shahed Nasser
fa7c94b4cc docs: create docs workspace (#5174)
* docs: migrate ui docs to docs universe

* created yarn workspace

* added eslint and tsconfig configurations

* fix eslint configurations

* fixed eslint configurations

* shared tailwind configurations

* added shared ui package

* added more shared components

* migrating more components

* made details components shared

* move InlineCode component

* moved InputText

* moved Loading component

* Moved Modal component

* moved Select components

* Moved Tooltip component

* moved Search components

* moved ColorMode provider

* Moved Notification components and providers

* used icons package

* use UI colors in api-reference

* moved Navbar component

* used Navbar and Search in UI docs

* added Feedback to UI docs

* general enhancements

* fix color mode

* added copy colors file from ui-preset

* added features and enhancements to UI docs

* move Sidebar component and provider

* general fixes and preparations for deployment

* update docusaurus version

* adjusted versions

* fix output directory

* remove rootDirectory property

* fix yarn.lock

* moved code component

* added vale for all docs MD and MDX

* fix tests

* fix vale error

* fix deployment errors

* change ignore commands

* add output directory

* fix docs test

* general fixes

* content fixes

* fix announcement script

* added changeset

* fix vale checks

* added nofilter option

* fix vale error
2023-09-21 20:57:15 +03:00
Adrien de Peretti
19c5d5ba36 feat(medusa): Migrate remote query usage in store product domain to use an object (#5131)
* feat(medusa): Migrate remote query usage in store product domain to use an object

* fix profile level
2023-09-21 17:29:49 +02:00
Adrien de Peretti
202049f8aa fix(medusa, workflows): Create product workflow with Isolated modules + module registration (#5081)
* fix(medusa, workflows): Isolated modules

* Create polite-kangaroos-rhyme.md

* finalise

* naming
2023-09-21 17:10:14 +02:00
Shahed Nasser
89735aa425 docs: fix code in digital product recipe (#5172)
* docs: fix code in digital product recipe

* eslint fixes
2023-09-21 15:20:02 +03:00
Adrien de Peretti
cc4169a94c feat(utils): Provide an utils that allows to convert an array of fields to a complete remote query object (#5161)
**What**
For simplicity and compatibility with the front, the fields are stored as an array of strings containing the list of fields that should be selected by a query. In order to reduce the delta between this object shape and what is expected by the remoteQuery when passing an object, we built util to make the translation from fields to config.

This will allow us to update the endpoint fields to specify what exactly needs to be selected and based on that we will be able to build the remote query object. Furthermore, it will allow us to drop back the functionality of custom fields and relations. we will still have to take into account the limit constraint of an url size including the parameters if a user want to select everything from a relation. In that case, we might maybe think about handling this case once the modules will export all available relations and fields so that the remote joiner would be able to pass them all automatically if the relation is present but a `*` is passed or no values in the fields during the translation with the util. But this is something we can come up in a separate iteration
2023-09-21 10:50:28 +00:00
github-actions[bot]
f5274c5b4f chore(docs): Generated Docs Announcement Bar (automated) (#5167)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
2023-09-21 09:41:41 +02:00
olivermrbl
a81a8835ca chore: Release 2023-09-21 09:23:05 +02:00
github-actions[bot]
ed2c31d8e2 chore: Version Packages (#5157)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-21 08:57:25 +02:00
Oli Juhl
78b50ac0c4 fix(admin-ui): Add hook to customer group table (#5163)
* fix(admin-ui): Add hook to customer group table

* Create many-trains-sort.md
2023-09-20 18:40:51 +02:00
Oli Juhl
ef2a12e451 fix(admin-ui): Undefined vars in admin (#5162)
* fix(admin-ui): Undefined vars in admin

* Create short-hairs-fold.md
2023-09-20 17:03:47 +02:00
Oli Juhl
54531e38bc fix(admin-ui): Patch admin path issue (#5154) 2023-09-20 16:31:15 +02:00
Adrien de Peretti
8b189d2b90 feat(admin-ui): Add missing attributes translations (#5155)
* feat(admin-ui): Add missing attributes translations

* Add attributes title

* Create weak-carpets-carry.md
2023-09-20 12:37:12 +02:00
chemicalkosek
15a1c55def feat(admin-ui): Add Polish translation (#5101)
* Add Polish translation

* Create real-carrots-hug.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-09-20 12:36:21 +02:00
Carlos R. L. Rodrigues
47603f4797 fix(modules-sdk): medusa app load legacy modules (#5115)
* fix: default module path

* fix: allow legacy modules to be loaded by MedusaApp

* changeset

---------

Co-authored-by: Adrien de Peretti <adrien.deperetti@gmail.com>
2023-09-20 10:20:46 +02:00
Adrien de Peretti
6c808dd6d9 fix(medusa): Handle variant error during line item generation (#5145)
* fix(medusa): Handle variant error during line item generation

* improve and tests

* cleanup

* update messages

* Create few-masks-draw.md

* change error type

* fix unit tests
2023-09-20 10:19:02 +02:00
Shahed Nasser
889154c440 docs: fix card title in digital products recipe (#5147) 2023-09-19 18:43:23 +03:00
Adrien de Peretti
02fe4d1364 fix(orchestration): ToRemoteJoinerHelper property building (#5130)
* fix(orchestration): ToRemoteJoinerHelper property building

* update fix
2023-09-19 15:37:17 +02:00
Shahed Nasser
d709521826 docs: updated recipes (#5138) 2023-09-19 13:48:27 +03:00
Razvan Stan
5b557d3098 docs: fix steps numbering in Create Entity docs (#5035)
Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-09-19 11:06:27 +03:00
olivermrbl
a37e0b44d4 chore: Release 2023-09-18 18:58:27 +02:00
github-actions[bot]
c5433e2981 chore: Version Packages (#5083)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-18 18:55:48 +02:00
Oli Juhl
299b98c401 fix(admin-ui): Wraps invite route correctly with analytics (#5118) 2023-09-18 18:07:54 +02:00
adil
a52d5ed786 fix(medusa-test-utils): Fixed count serialization and incorrect function call (#5090)
- Serialized `count`  - Updated the function name called inside the mock implementation

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-09-18 15:26:13 +02:00
Oli Juhl
8772a0722e fix(admin-ui): Wrap invite route in AnalyticsProvider (#5111)
* fix(admin-ui): Wrap invite route in AnalyticsProvider

* Create nervous-keys-impress.md
2023-09-18 15:25:12 +02:00
Frane Polić
4dd11c8867 fix(admin-ui): modal pointer events (#5113) 2023-09-18 15:07:59 +02:00
Carlos R. L. Rodrigues
1e5a6d4359 fix(modules-sdk): medusa app default module (#5114) 2023-09-18 12:45:13 +00:00
Shahed Nasser
a161f689b9 docs: fix SendGrid's dynamic_template_data property (#5112) 2023-09-18 15:06:09 +03:00
Didier Guyon
254ae8d07f fix(admin-ui): Typo in Return Reasons subtitle (#5027) 2023-09-18 11:41:54 +02:00
Bruno Bodian
835b85c1e3 docs(medusa-file-s3): update aws config object name (#5098)
Update the aws config object name as [defined here](https://github.com/medusajs/medusa/blob/develop/packages/medusa-file-s3/src/services/s3.ts#L43)

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-09-18 11:53:57 +03:00
Shahed Nasser
0c467012f6 docs: fix retrieve order by display ID code block (#5106)
Fixes #5099
2023-09-18 10:50:54 +03:00
Frane Polić
4710520c35 fix(admin-ui): fix template expression (#5103)
**What**
- use template instead of object in render
2023-09-17 20:08:14 +00:00
Shahed Nasser
beeb0d6154 docs: added docs for multi-language support (#5026)
* docs: added docs for multi-language support

* fix sidebar

* fix sidebar ref

* added config step
2023-09-15 17:21:00 +02:00
Oli Juhl
5bd7311393 docs: Add upgrade guide for 1.16.0 (#5051)
* docs: Add upgrade guide for 1.16.0

* Update www/docs/content/upgrade-guides/medusa-core/1-16-0.md

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

* Update www/docs/content/upgrade-guides/medusa-core/1-16-0.md

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>

---------

Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
2023-09-15 17:20:27 +02:00
olivermrbl
7dcb82468f chore: Release 2023-09-15 17:14:26 +02:00
github-actions[bot]
223a4a4cd9 chore: Version Packages (#5002)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-15 17:09:34 +02:00
Oli Juhl
2a2108fe56 fix(admin-ui): Case sensitive locale detection in prod (#5082)
* fix(admin-ui): Admin path in i18n

* lowercase locale
2023-09-15 17:08:01 +02:00
Oli Juhl
a7459029fe chore(admin-ui): Add pt-BR to supported languages (#5080) 2023-09-15 15:23:17 +02:00
olivermrbl
5930f89b7c add medusa-js patch 2023-09-15 15:12:36 +02:00
Adrien de Peretti
92237db7fe fix(medusa): Money amount detached migration (#5079) 2023-09-15 13:51:19 +02:00
Shahed Nasser
09bcbdaea5 docs: fix environment variable names for Railway guide (#5077)
* docs: fix environment variable names for Railway guide

* Update deploying-on-railway.md

* Update deploying-on-railway.md
2023-09-15 14:42:11 +03:00
Oli Juhl
c722440c30 fix(admin-ui): Load translations from path (#5064)
* fix(admin-ui): Load translations from path

* Create big-oranges-battle.md

* fix: resolve public folder path in dev

---------

Co-authored-by: Kasper <kasper@medusajs.com>
2023-09-15 13:19:24 +02:00
Rodrigo da Hora
53ffd614b5 feat(admin-ui): pt-BR translations and en version text fixes (#5066)
# feat(localization): Add pt-BR translation and fix en version text

## Summary

This PR aims to improve Medusa's localization experience. It includes new translations for Brazilian Portuguese (pt-BR) and minor text adjustments in the English version.


## Objectives

- Add Brazilian Portuguese (pt-BR) language support
- Refine text consistency and clarity in the English version


## Details

### 1. Brazilian Portuguese Translations (pt-BR)

New translations have been added to enhance accessibility and user experience for brazilian users.

### 2. Minor Text Adjustments in English

Text in the English version has been adjusted.


## Next Steps

Pending review, additional adjustments may be made based on feedback.

---

I'm looking forward to your feedback and collaboration to further improve this tool. Please review and let me know if any adjustments are required.

Best Regards,
Rodrigo da Hora.

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-09-15 11:03:14 +00:00
Shahed Nasser
7d35723023 fix(medusa-react): fix useAdminAddStoreCurrency hook (#5074) 2023-09-15 12:06:12 +02:00
Kasper Fabricius Kristensen
cb67760f71 fix(admin,admin-ui): copy public folder as part of admin build (#5057)
**What**
- Copies `/public` folder into Admin build
- Updates the version of `dotenv` to match the version used in other Medusa dependencies. This will prevent errors when trying to link the `admin` package into a local repository for testing.
2023-09-15 09:47:11 +00:00