Commit Graph

189 Commits

Author SHA1 Message Date
Mohammed Faiyyaz Khatri
76ff9e87b6 fix(utils): Symbol for Indian Currency (#6453) 2024-02-20 15:45:01 +01:00
Erik Engervall
58baead34e fix(admin-ui) Refactor use-copy-promotion to map product IDs (#6306) 2024-02-04 14:18:54 +01:00
invalid w
3f41d818b6 chore(admin-ui): add key for gift-cards table cells map fn (#6154)
![image](https://github.com/medusajs/medusa/assets/24707417/e13ff43b-770e-4698-bb9a-e22b866069f6)
2024-01-22 09:43:23 +00:00
invalid w
2cca3627c3 fix(admin-ui->Collections): add key for map fn. resolve #6106 (#6107)
resolve #6106.


just add key for map fn.
2024-01-18 14:32:45 +00:00
Mohamed Abusaid
46d610bc55 feat(admin): Add Libya admin region and set Libya to formal name (#6001) 2024-01-07 14:33:40 +01:00
hmmhmmhm
a3460e5a1a feat(admin): Add Japanese language support (#5795) 2023-12-19 15:06:37 +00:00
Petr Kolonicz
7ecea34487 feat(admin): Add Czech language support (#5822)
- add Czech messages
- add Czech to supported languages
- add Czech to the docs

Co-authored-by: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com>
2023-12-19 14:35:00 +00: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
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
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
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
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
3bcf08c0cb fix(admin-ui): inventory item deletion when removing product (#5727) 2023-11-27 13:42:55 +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
Kasper Fabricius Kristensen
07934cdaac fix(admin-ui): Edit prices requires at least one product (#5710) 2023-11-24 13:54:07 +00:00
Kasper Fabricius Kristensen
f4c489fb85 fix(admin-ui): Fix issue with null product categories (#5707)
* fix(admin-ui): If categories is null on a product the details page should not crash

* cleanup variant warning to reflect pricing changes
2023-11-24 12:51:32 +00:00
Philip Korsholm
02ea9ac3ac feat(admin-ui): Delete pricing forms from edit + create variant modals (#5676) 2023-11-23 15:31:32 +00:00
Kasper Fabricius Kristensen
c08240df3f fix(admin-ui): Preserve decimal numbers when locale uses commas (#5641)
**What**
- Ensure that we format numbers with `.` as the decimal separator, even when the users locale uses `,`. This changes still allows users to use comma as the decimal separator, but the transformation we use before writing to state converts the number to use a dot instead.
2023-11-15 17:18:26 +00:00
Victor Gerbrands
3f016d871a fix(admin-ui): sort supported languages alphabetically (#5479)
## What?
Added sorting to the `supportedLanguages` array in `packages/admin-ui/ui/src/i18n/index.ts`. This makes sure the languages in the dropdown are sorted alphabetically.

![image](https://github.com/medusajs/medusa/assets/42065266/aca6e5ab-f200-45bf-afb4-22d9bc1c9a66)

## Why?
As we're supporting more languages in the admin UI, this list was getting messy.  

## How?
By using `sort()` and `localeCompare()` on array declaration.

## Testing
Go to Medusa Admin locally, login and navigate to Settings > Personal information to test the language dropdown.
2023-11-14 15:09:57 +00:00
Kasper Fabricius Kristensen
d7e1887221 fix(admin-ui): Prevent comma decimal separator from converting inputs to NaN (#5566)
**What**
- Using the Price List bulk editor with a locale that uses comma as the decimal separator would convert decimal numbers to NaN. This PR fixes that by replacing commas with dots, before passing the values on to the state manager.

Closes #5565
2023-11-06 13:26:35 +00:00
Kasper Fabricius Kristensen
f7e9829881 fix(admin-ui): Prevent oversized product request in Price List domain (#5535)
* fix(admin-ui): Prevent oversized product request in Price List domain

* add changeset
2023-11-02 17:05:08 +01:00
Kasper Fabricius Kristensen
8e48be58ef fix(admin-ui): Make regions in tax setting scrollable (#5530)
* fix overflow

* intersection observer and changeset
2023-11-02 13:03:45 +01:00
Kunal Agrawal
201b35cd31 feat(admin-ui): add Hindi Translation (#5452) 2023-10-31 16:53:52 +01:00
Ramzi Youssef
4ce8279d25 fix(admin-ui): Enhanced 'activity-drawer' visibility with z-index adjustment (#5315) 2023-10-31 14:39:13 +01:00
pepijn-vanvlaanderen
2057d3b247 fix(admin-ui) Custom batch job activity card (#5288) 2023-10-31 11:22:28 +01:00
huuduc2312
ca05436fc1 feat(admin-ui): add Vietnamese translation (#5442) 2023-10-31 10:36:05 +01:00
Oli Juhl
397da6c2ba fix(admin-ui): TIP in shipping option creation (#5356)
* fix(admin-ui): TIP in shipping option creation

* Create six-pigs-return.md
2023-10-30 15:17:34 +01:00
Yersultan
3e5c6f5d8c feat(admin-ui): Add Russian translation (#5142) 2023-10-30 15:12:49 +01:00
Andrii Nutskovskyi
725ba9bb9b feat(admin-ui): Added Ukrainian translations (#5084)
Co-authored-by: Victor Gerbrands <42065266+VariableVic@users.noreply.github.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-26 20:23:02 +02:00
Prajjwal Kumar
ec2b8414db feat(admin-ui): add Tamil translation (#5463)
* feat(admin-ui): added translations for tamil language

* feat(admin-ui): added the language in i18
2023-10-26 16:50:01 +02:00
Kasper Fabricius Kristensen
ea2ee343f0 fix(admin-ui): PriceList bulk editor fixes (#5456)
* fix: rounding on decimal numbers, wrap in form

* add changeset

* fix: decimal numbers in product details

* fix: resolve an issue where double clicking an already selected cell would freeze it
2023-10-26 09:56:36 +02:00
Oli Juhl
ebba93e03d fix(medusa): Revert status type in API (#5428) 2023-10-26 08:11:01 +02:00
Shahed Nasser
f08a295ad4 fix(admin-ui): fix analytics config not being saved in invite form (#5467) 2023-10-25 12:06:12 +03:00
Samir Alibabic
3aba6269ed feat(admin-ui): add Bosnian translation (#5395)
- Bosnian translation for Admin UI

Resolves: https://github.com/medusajs/medusa/issues/5346

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-19 09:00:59 +00:00
Anamarija Papić
d30f4477d9 feat(admin-ui): Add Croatian translation (#5377)
* feat(admin-ui): Add Croatian translation

* feat(admin-ui): Apply suggestions from code review

Minor fixes in Croatian translation

Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com>

* Create old-laws-clap.md

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Frane Polić <16856471+fPolic@users.noreply.github.com>
2023-10-19 10:23:15 +02:00
springstan
0f025ee19b feat(admin-ui): Correct some German translations (#5375)
* feat(admin-ui): Correct some German translations

* Correct German translation for returns

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-19 10:19:09 +02:00
Oli Juhl
a0963f0edf fix(admin-ui): Remove t() on product.status update (#5394)
* fix(admin-ui): Remove t() on product.status update

* Create tidy-games-drum.md
2023-10-18 13:50:47 +02:00
Oli Juhl
3b45fdf135 fix(admin-ui): Create analytics if FF is enabled (#5367)
Co-authored-by: Philip Korsholm <88927411+pKorsholm@users.noreply.github.com>
2023-10-16 08:01:39 +02:00
Kasper Fabricius Kristensen
e04927a3cb fix(admin-ui): Price list domain fixes (#5339)
**Fixes**
- Fixes an issue where click the Delete button on a table item in the Price List overview would also navigate to the Price Lists page
- Fixes an issue where Region prices were not showing which region they belong to in the Bulk Editor
- Fixes an issue where the wrong widgets were being injected into the Price List domain

**Improvements**
- Align label for Expiry date field
- Add form validation to require setting the prices of at least one product variant when creating or adding prices to a Price List.
- Show a prompt warning if prices have not been set for all selected products in the create and add product flows.
2023-10-12 08:34:46 +00:00
Kasper Fabricius Kristensen
0f34e0f381 feat(admin-ui, medusa, medusa-react, medusa-js): Price List UI revamp (#5233)
* progress on cleanup

* rm forceMount

* close modal on succesful submit

* fix: invalidate price list query on useAdminCreatePriceListPrices

* sync translation keys

* add last translations

* sync translation keys

* improve tabbing between cells

* add comment

* fix: remove double variant, set collision boundary on column dropdown

* add widgets

* update lock file

* decrease details info size, and add missing status update function

* sync translation keys

* add snapshots and remove min/max

* add missing filter menu for customer groups table

* add translation keys for filter menu

* rm unused code

* Create tall-apricots-run.md

* Update tall-apricots-run.md

* fix: discard invalid paste values

* add translation keys

* bump snapshots + minor fixes

* rm console.log

* bump snapshots

* bump ui packages, and add missing tax inclusive display in New form

* update lock file

* fix filter menu

* update snapshot

* update ui package and fix sub menu position

---------

Co-authored-by: Sebastian Rindom <skrindom@gmail.com>
Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-06 08:22:25 -07:00
springstan
a9703bd370 feat(admin-ui): Add German translation (#5267)
* Add German Translation for Admin UI

* Update packages/admin-ui/ui/src/i18n/index.ts

---------

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2023-10-04 15:13:18 -07:00
Alessio
c73dbdd5bc feat(admin-ui): Add Italian translation (#5282)
Added Italian translation
Any suggestion or improvement is more than welcome.

Thanks
2023-10-04 20:12:51 +00:00
Christian Gil
51bd39db66 feat(admin-ui): Add Spanish translations (#5264)
Added Spanish translations to the Admin UI
2023-10-04 19:04:56 +00:00
Peter Abdalla
f88e3865a0 feat(admin-ui): Add Arabic translations (#5140) 2023-09-27 16:46:21 -04:00
Geoffroy Empain
a560e5da29 fix(admin-ui): typos in text (#5032)
Fixes some typos found while reviewing translations.

Potential improvements in the future: fragmented translations may need merging with `<Trans>`. For example:

```
"analytics-preferences-disclaimer": "Pour créer la meilleure expérience de commerce électronique possible, nous aimerions obtenir des informations sur la manière dont vous utilisez Medusa. Les informations sur les utilisateurs nous permettent de construire des produits meilleurs, plus attrayants et plus utilisables. Nous ne collectons des données que pour améliorer le produit. Lisez quelles données nous recueillons dans notre",
"analytics-preferences-documentation": "documentation",
```

```
"help-dialog-feel-free-to-join-our-community-of": "Feel free to join our community of",
"help-dialog-merchants-and-e-commerce-developers": "merchants and e-commerce developers",
```

```
"upload-modal-drop-your-file-here-or": "Drop your file here, or",
"upload-modal-click-to-browse": "click to browse.",
```

Example from my previous PR with `sales-channels-display-available-count`:

```
<Trans
  i18nKey="sales-channels-display-available-count"
  availableChannelsCount={availableChannelsCount}
  totalChannelsCount={totalChannelsCount}
>
  Available in{" "}
  <span className="inter-base-semibold text-grey-90">
    {{ availableChannelsCount }}
  </span>{" "}
  out of{" "}
  <span className="inter-base-semibold text-grey-90">
    {{ totalChannelsCount }}
  </span>{" "}
  Sales Channels
</Trans>
```
2023-09-22 11:56:14 +00:00
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
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
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