Commit Graph

5439 Commits

Author SHA1 Message Date
Carlos R. L. Rodrigues e98d3c615e chore(orchestration): validate PK when throwIfKeyNotFound (#11190)
CLOSES: FRMW-2895
2025-01-29 19:17:36 +00:00
Kasper Fabricius Kristensen 51d2960a57 fix(dashboard): Allow admins to update default Sales Channel and Stock Location (#11196)
**Note** The huge diff is because the i18n schema wasn't formatted properly again. Not sure how that happened with the update to the script but perhaps someone didn't update their branch to include the change to format the schema on creation.
2025-01-29 16:14:47 +00:00
RONY GEDEON YEBADOKPO a16eaad6c9 fix(create-medusa-app): --db-url keep asking db credentials (#11037)
* fix create-medusa-app db-url error

* removed empty lines

* changeset
2025-01-29 15:30:18 +02:00
Dimitrios Rarras 2bd51ddc04 feat: add Greek translations (#11211) 2025-01-29 13:29:22 +01:00
Kadphol 644c314587 fix(order): add fulfillment labels query key on create shipment page (#9792)
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
2025-01-29 12:44:32 +01:00
Jay Kanjia 59f95009f2 fix: delay in event emit (#10603)
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
2025-01-29 12:43:47 +01:00
Shahed Nasser 16fe43f214 fix(order): add data model name in define schema (#11181)
Add missing data model name in `model.define` in the Order Module where missing, as we need to infer the names in the references we generate

Closes DX-1305
2025-01-29 10:53:13 +00:00
Shahed Nasser 040b7b274e fix(medusa): use correct request / response types (#11170) 2025-01-29 11:51:30 +01:00
Stevche Radevski 614ff2907f fix: Add missing typings around creating a payment method (#11209) 2025-01-29 10:55:36 +01:00
Harminder Virk c982117186 fix: always load .env file alongside the environment specific file (#11188) 2025-01-29 14:22:50 +05:30
Harminder Virk 716de2cb3a fix: exit process with a status code when build fails (#11206)
Fixes: FRMW-2897
CLOSES CLO-434

Still need the frontend Admin bundler to provide some way to know if the build has failed or not.
2025-01-29 08:34:47 +00:00
Oli Juhl ae3292c98b chore(js-sdk): Remove create user method from SDK (#11186)
Endpoint doesn't exist. Admin users can only be created through invites at the HTTP level.
2025-01-28 12:11:58 +00:00
Riqwan Thamir 8af4fb0ba7 feat(medusa): add sku to variant query params (#11151)
what:

- adds sku to variant query params
2025-01-28 10:26:29 +00:00
ikku47 dab28e8d79 Made variants.options fields optional in StoreGetProductsParams (#10712) 2025-01-28 10:44:38 +01:00
Stevche Radevski 59cbc0ec77 feat: Add support for managing account holder in payment module (#11015) 2025-01-28 08:55:15 +01:00
Frane Polić 86b16b9049 fix(dashboard): semibold font (#11182)
FIXES CMRC-897
2025-01-27 17:29:08 +00:00
Oli Juhl 961ad4723e fix(dashboard): Matching product profile with shipping profile (#11183) 2025-01-27 17:13:07 +00:00
Zakher Masri 8960f5fd7d chore: update missing keys (#11174) 2025-01-27 17:33:56 +01:00
Kasper Fabricius Kristensen 65d8d6dc0e fix(js-sdk,admin-bundler): Fix qs import (#11172) 2025-01-27 15:00:18 +00:00
Adrien de Peretti ea402875a5 Feat/index sync data (#11169)
**what**
Synchronisation process  implementation for configured entity to be indexed
2025-01-27 13:56:12 +00:00
Carlos R. L. Rodrigues 5093224914 chore(index): config changes (#11121)
Closes FRMW-2884
2025-01-27 12:54:46 +00:00
Harminder Virk 10962a5c54 feat: Add tasks orchestrator (#11161)
Fixes: FRMW-2885
2025-01-27 12:43:49 +00:00
Frane Polić 864d772e34 feat(core-flows, dashboard, link-modules,medusa, types, utils): fulfillment shipping changes (#10902)
**What**
- product <> shipping profile link
- create and update product workflows/endpoints accepts shipping profile
- pass shipping option id when creating fulfillment to allow overriding customer selected SO
- validate shipping profile delete
- dashboard
  - set shipping profile on product create
  - manage shipping profile for a product
  - **update the create fulfillment form**
- other
  - fix create product form infinite rerenders
 
---

CLOSES CMRC-831 CMRC-834 CMRC-836 CMRC-837 CMRC-838 CMRC-857 TRI-761
2025-01-27 12:00:20 +00:00
Dano Alexander 956a50e934 Added currency symbol for Turkish lira (#11150) 2025-01-27 09:47:51 +01:00
Artsiom Trubchyk 84fe32521b feat: add Russian language translation (#11156) 2025-01-27 09:43:56 +01:00
olivermrbl 986ee8008e chore: Version packages 2025-01-27 09:35:06 +01:00
Frane Polić d4cbc6218c feat(medusa,product,types): product type & tag store missing endpoints (#11057)
* wip: tag endpoints

* feat: types, product types

* feat: tests

* fix: update product type schema
2025-01-26 14:16:49 +01:00
Carlos R. L. Rodrigues a76208ed02 chore(utils): patch unique index migration (#11136) 2025-01-24 13:48:37 -03:00
Roman Shuper c1ae373967 product categories hooks (#11093)
* hooks

* workflow result fixed
2025-01-24 10:48:37 +01:00
TomasKliner 232281d5a4 feat: add Czech language translation (#11127) 2025-01-24 09:19:57 +01:00
Adrien de Peretti eace10e66b fix(medusa,cli): Resources not correctly loaded when running the migration scripts (#11108)
FIXES FRMW-2888

**What**
Since the migration scripts runner run as part of the migrate script, we were cleaning up the resources but we didn't take into consideration that links are loading automagically by just importing the links. The issue is that once a link have been imported, the next import will rely on the cached module and therefore when cleaning the resources, re importing those links is not enough. Instead, we are now treating the run-script as a separate command that we run during running the migration so that resources are isolated and loaded according to the need of each script themselves
2025-01-23 16:33:50 +00:00
Frane Polić 6e5912612c fix(core-flows, dashboard): handling fulfillment rules (#11111)
**What**
- fix storing "true" | "false" strings from admin
- use strings instead of booleans for context filtering
2025-01-23 16:32:25 +00:00
Kasper Fabricius Kristensen 4eecda5466 fix(dashboard): Format i18n schema with Prettier (#11107)
**What**
- Formats the schema that is generated by `yarn i18n:schema`. 
- Ensures we don't end up with huge diffs if one team member forgets to format the schema in one PR, and the schema is then updated and formatted later on.
2025-01-23 14:47:25 +00:00
Kasper Fabricius Kristensen 57892bee00 fix(admin-bundler): Optimize tanstack/react-query (#11112) 2025-01-23 14:10:10 +00:00
Harminder Virk 0deffe7b9b fix: switch from tsc watch to chokidar (#11110) 2025-01-23 19:12:07 +05:30
Carlos R. L. Rodrigues 31384855af fix(fulfillment): migration so rules (#11113) 2025-01-23 12:43:32 +00:00
Carlos R. L. Rodrigues 5aa4797873 fix(fulfillment): migration so rules (#11109) 2025-01-23 11:50:11 +00:00
Behrouz Shafaati 91862d5086 Add Persian (fa) translations for the admin dashboard (#11091)
* finish translat to farsi v 1.0

Finish translation to Farsi v1.0

* Add labeler workflow

* Add missing translations for filters and UI elements in farsi

* Remove .github/workflows/labeler.yml file from changes as requested
2025-01-23 12:44:53 +01:00
Shahed Nasser 75ae707e4d chore(ui): add tsdocs for DataTable components (#11087)
Add TSDocs for `DataTable` components to generate better docs for their props
2025-01-22 17:12:44 +00:00
Michael 5ff45f27a1 feat: add translation for zh-CN (#10757)
* feat: add translation for zh-CN

* update: version to 2.3.1

* feat: add Simplified Chinese (zhCN) translations

* update some key to translate

* fix:Remove Duplicates
2025-01-22 16:28:31 +01:00
Adrien de Peretti 9321920227 fix: Medusa package version should use ~ instead of ^ (#11077)
RESOLVES FRMW-2859
2025-01-22 15:15:30 +00:00
python27tt 91112b4365 Add Romanian translation (#10890)
* Add Romanian translation

* romanian added
2025-01-22 15:53:17 +01:00
gharbi-mohamed-dev 7dc18a41b1 add support to arabic (#11088)
Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
2025-01-22 15:24:27 +01:00
Paul Nodet 909b685961 refactor(ui-preset): replace defaultTheme import (#11041)
Removing the import allows future compatibilty with tailwind v4 where it won't be exported anymore. Fix #11040
2025-01-22 13:48:26 +00:00
Kasper Fabricius Kristensen 6346836c2d feat(dashboard): Refactor Users table to use the new DataTable block (#11058)
**What**
- Updates the Users table to use the new DataTable
- Fixes an issue where initial parsing of URL filters weren't formatted correctly.
2025-01-22 13:19:23 +00:00
Kasper Fabricius Kristensen 0bef3202f3 fix(dashboard): Add global errorElement (#10981)
Resolves CMRC-627

**What**
- If the session expired, and the user then navigated to a route with no loader the request for the user info in the sidebar would fail causing the app to crash as we didn't have an errorElement wrapping the app shell.
- This PR adds a top level errorElement which handles errors that are outside of a page context, such as in the sidebar.
2025-01-22 12:47:17 +00:00
Kasper Fabricius Kristensen 7feb004600 fix(ui): Fix position of Checkbox indicator (#11075)
**What**
- Fixes an issue that would cause the Checkbox indicator to get rendered outside of view in the checkbox was wrapped in a relative div.
2025-01-22 11:08:32 +00:00
Kasper Fabricius Kristensen c400719fcc fix(dashboard): Persist variant_rank (#11074)
**What**
- Sends variant_rank to the backend
- Sorts variant table by variant_rank if no other order is selected.

We have a project planned for implementing variant_rank correctly, and adding UI for managing the rank after product creation. This PR handles none of that, as it should be handled as part of said project. This PR simply makes the field useable until then.

Resolves CMRC-859
2025-01-22 10:32:24 +00:00
Sanchir Enkhbold 9472a825b5 feat: Add translations for Mongolian (#11085) 2025-01-22 10:58:41 +01:00
Kasper Fabricius Kristensen b9c469a6d4 fix(admin-bundler): Fix Vite imports to prevent deprecation warnings (#11086) 2025-01-22 10:55:18 +01:00