saleor-dashboard/src/discounts/components
Dominik Żegleń 7d9441a7ec
Use esbuild-loader (#1983)
* Minor fixes for intl messages

* Add esbuild-loader
* switch from babel to esbuild-loader
* use formatjs enforce-id linter

* Generate ids for intl messages

* id format defined by idInterpolationPattern

* Modify intl messages extraction

* remove react-intl-translations-manager
* remove transpile-tx.js
* use formatjs cli

* Modify defaultMessages.json

* modify ids in defaultMessages.json with defined idInterpolationPattern

* Fix errors

* Fix page crash

* Use babel to transpile tests

* Fix useStateFromProps

* Improve render count

* Add test to useStateFromProps

* Fix reloading state buh

* Do not check if form with channels is dirty

* Stop blocking save if form has not changed

* Remove debug code

* Fix form disabling

* Fix variant selection checkbox onClick

* Update translations

* Update messages

* Use esbuild to build storybook

Co-authored-by: Bartłomiej Wiaduch <tukan2can@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-05-05 09:54:28 +02:00
..
DiscountCategories Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
DiscountCollections Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
DiscountCountrySelectDialog Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
DiscountDates Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
DiscountProducts Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
DiscountVariants Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
SaleCreatePage Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
SaleDetailsPage Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
SaleInfo Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
SaleList Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
SaleListPage Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
SaleSummary Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
SaleType Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
SaleValue Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
VoucherCreatePage Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
VoucherDates Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
VoucherDetailsPage Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
VoucherInfo Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
VoucherLimits Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
VoucherList Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
VoucherListPage Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
VoucherRequirements Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
VoucherSummary Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
VoucherTypes Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00
VoucherValue Use esbuild-loader (#1983) 2022-05-05 09:54:28 +02:00