Krzysztof Żuraw
3463d1d179
Run tests on push to origin ( #2791 )
2022-12-12 11:22:39 +01:00
Krzysztof Żuraw
422feec2b7
Remove enzyme and react-test-renderer ( #2788 )
2022-12-07 11:20:09 +01:00
Michał Droń
347e32ef4a
Replace classnames with clsx ( #2759 )
...
* Replace classnames with clsx
* Add clsx to package.json
* Remove classnames
* Remove classnames types
* Restrict classnames in eslint rules
2022-12-02 11:45:19 +01:00
Patryk Andrzejewski
aa10a1d08e
Introduce vite ( #2677 )
...
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
2022-11-28 14:56:46 +01:00
Patryk Andrzejewski
9ef4d4c6ee
Revert "Introduce vite ( #2580 )" ( #2676 )
...
This reverts commit 9de945d61a
.
2022-11-24 16:24:04 +01:00
Patryk Andrzejewski
9de945d61a
Introduce vite ( #2580 )
...
* Vite, remove webpack
* Clean deps
* Fix apollo types
* Fix types
* CI
* Fix types
* Fix types
* Keep required deps for storybook
* Rename build dir
* Sentry config, fix react-virtualized issue
* Set NODE_OPTIONS
* Fast-refresh rule for eslint
* Update deps
* Update deps
* Update deps
* Remove webpack
* Add sw
* Update dockerfile
* Update dockerfile
* Update readme, dev port
2022-11-24 15:24:08 +01:00
Jonatan Witoszek
58d2a2b438
ESLint: No unused variables ( #1981 )
...
* Update eslint config to inform about unused variables
* Remove unused variables
2022-10-04 13:30:51 +02:00
Timur Carpeev
b9a53a6fde
Add rules of hooks ( #2131 )
...
* Fix conditional hooks
* Add rules of hooks lint
* Install dependencies with node 14
2022-07-13 11:13:58 +02:00
Michał Droń
d5c9a3dae8
Add trailing commas ( #2062 )
...
* Require trailing commas
* Add trailing commas
* Add trailing commas in testUtils dir
* Add trailing commas
2022-06-21 11:36:55 +02:00
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
Dominik Żegleń
5b85d6c086
Use graphql-codegen ( #1874 )
...
* Use generated hooks in apps
* Remove unused files
* Use proper types in apps
* Use generated hooks in attributes
* Use generated hooks in auth module
* Use generated hooks in categories
* Use generated hooks in channels
* Use generated types in collections
* Remove legacy types from background tasks
* Use generated hooks in customers
* Use generated hooks in discounts
* Use generated hook in file upload
* Use generated types in gift cards
* Use generated types in home
* Use generated hooks in navigation
* Use generated hooks in orders
* Use generated hooks in pages
* Use generated hooks in page types
* Use generated hooks in permission groups
* Use generated hooks in plugins
* Use generated hooks in products
* Use fragment to mark product variants
* Improve code a bit
* Use generated hooks in page types
* Use generated types in searches
* Use generated hooks in shipping
* Use generated hooks in site settings
* Use generated hooks in staff members
* Use generated hooks in taxes
* Place all gql generated files in one directory
* Use generated hooks in translations
* Use global types from new generated module
* Use generated hooks in warehouses
* Use generated hooks in webhooks
* Use generated fragment types
* Unclutter types
* Remove hoc components
* Split hooks and types
* Fetch introspection file
* Delete obsolete schema file
* Fix rebase artifacts
* Fix autoreplace
* Fix auth provider tests
* Fix urls
* Remove leftover types
* Fix rebase artifacts
2022-03-09 09:56:55 +01:00
Dominik Żegleń
2a52eb581c
Update apollo to v3 ( #1837 )
...
* Update apollo to v3
* Fix imports
* Add generated file to ignored
* Use proper import
* Tidy up code
* Remove unused packages
* Fix tests
2022-02-21 14:32:38 +01:00
Dominik Żegleń
f8254fd11b
Bump macaw to 0.3 ( #1807 )
...
* Update to new design theme (#1631 )
* Update macaw to 0.3.0 (#1623 )
* Update macaw to 0.3
* Use proper pagination component
* Fix type errors
* Remove leftover import
* Remove variant and color from confirm button
* Remove alias
* Update macaw
* Fix button type
* Random fixes (#1633 )
* Improve layout components
* Use colored svgs
* Minor fixes
* Fix autocomplete loaders
* Fix padding
* Fix button variant
* Remove codegen file
* Fixes after bumping macaw to 0.3 part 2 (#1638 )
* Fix various visual bugs
* Fix type errors
* Bump macaw
* Random fixes part 3 (#1647 )
* wip
* Fix mismatched paddings
* Fix actions container padding
* Put story in the right directory
* Fix shipping zone picker
* Fix minor visual bugs
* Remove unused imports
* Move styles to separate file
* Random fixes part 4 (#1641 )
* Fix various visual bugs
* Fix type errors
* Fix last table item padding
* Add outline on hover
* Fix spaces
* Fix spaces
* Remove dead code
* Fix elevation
* Remove dead code
* Fix shadows
* Add outline to expand button
* Fix spacing
* Fix spacings
* Fix selectable tables hover
* Use proper delete icon
* Fix ConfirmButtonTransitionState imports
* Update src/apps/components/CustomApps/CustomApps.tsx
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
* Rework error page (#1670 )
* Remake error page
* Fix types
* Update error id styles
* Fix types
* Login page rework (#1703 )
* Rework login page
* Remove outline
* Fix logo and footer placement
* Sort imports
* Random fixes part 5 (#1669 )
* Fix text color in dark mode
* Update password reset pages (#1714 )
* Update password reset pages
* Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix collection page
* Update dark mode logo
* Bring back "create app" button
* Fix spacings
* Fix selects
* Fix login e2e test
* Fix not found page displaying
* Update selector
* Add missing package
* Let dropdown overflow through card
* Fix scroll
* Fix scroll
* Fix overflow on grid element
* Fix e2e tests
* Fix data-test-id
* Update snapshots
* Update messages
* Update macaw
* Update snapshots
* Use stable macaw version
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Update to new design theme (#1631 )
* Update macaw to 0.3.0 (#1623 )
* Update macaw to 0.3
* Use proper pagination component
* Fix type errors
* Remove leftover import
* Remove variant and color from confirm button
* Remove alias
* Update macaw
* Fix button type
* Random fixes (#1633 )
* Improve layout components
* Use colored svgs
* Minor fixes
* Fix autocomplete loaders
* Fix padding
* Fix button variant
* Remove codegen file
* Fixes after bumping macaw to 0.3 part 2 (#1638 )
* Fix various visual bugs
* Fix type errors
* Bump macaw
* Random fixes part 3 (#1647 )
* wip
* Fix mismatched paddings
* Fix actions container padding
* Put story in the right directory
* Fix shipping zone picker
* Fix minor visual bugs
* Remove unused imports
* Move styles to separate file
* Random fixes part 4 (#1641 )
* Fix various visual bugs
* Fix type errors
* Fix last table item padding
* Add outline on hover
* Fix spaces
* Fix spaces
* Remove dead code
* Fix elevation
* Remove dead code
* Fix shadows
* Add outline to expand button
* Fix spacing
* Fix spacings
* Fix selectable tables hover
* Use proper delete icon
* Fix ConfirmButtonTransitionState imports
* Update src/apps/components/CustomApps/CustomApps.tsx
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
* Rework error page (#1670 )
* Remake error page
* Fix types
* Update error id styles
* Fix types
* Login page rework (#1703 )
* Rework login page
* Remove outline
* Fix logo and footer placement
* Sort imports
* Random fixes part 5 (#1669 )
* Fix text color in dark mode
* Update password reset pages (#1714 )
* Update password reset pages
* Update src/auth/components/ResetPasswordPage/ResetPasswordPage.tsx
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix collection page
* Update dark mode logo
* Bring back "create app" button
* Fix spacings
* Fix selects
* Fix login e2e test
* Fix not found page displaying
* Update selector
* Add missing package
* Let dropdown overflow through card
* Fix scroll
* Fix scroll
* Fix overflow on grid element
* Fix e2e tests
* Fix data-test-id
* Update snapshots
* Update messages
* Update macaw
* Update snapshots
* Use stable macaw version
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
* Fix visual bugs and artifacts
* Fix dropdown menus being clipped (#1762 )
* wip
* Fix clipped select menus
* Remove unused import
* Fix spacing
* Fix tests
* Fix select content appearing under dialogs (#1777 )
* Fix type errors
* Fix bulk delete button placement
* Fix filter arrow buttons
* Fix messages
* Remove backling from pages list
* Move status above events
* Update messages and snapshots
Co-authored-by: Wojciech Mista <wojciech.mista@saleor.io>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2022-01-28 13:34:20 +01:00
Karolina Rakoczy
2c64a966cc
Saleor 4437 refactor tests ( #1389 )
...
* reference type cypress working
* refactor
* remove screenshots
* add reference
* add slash marker
* run tests based on shop version
* fix run tests based on shop version
* fix run tests based on shop version
* change base url to localhost
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix plugins
* fix yml
* fix yml
* chage file names
* fix files names
* fix broken imports add checking for errors in grpah responses
* fix broken imports add checking for errors in grpah responses
* update jest
* fix snapshot
2021-09-27 12:04:21 +02:00
Dominik Żegleń
935a6f4542
Reduce bundle size ( #1103 )
...
* Add analysis tools
* Use deep imports to reduce bundle size
* Remove tslint config
* Remove unused packages
* Remove lodash-es references
* Use root level mui imports
* Remove mui from restricted imports
2021-05-14 10:15:15 +02:00
Karolina
588175df30
Saleor 1737 tests for shipping methods ( #1013 )
...
* remove classes in shipping & products utils
* remove classes
* add tests plans
* add const
* tests for shipping methods
* test for shipping
* test for shipping
* tests for shipping
* install eslint-plugin-chai-friendly
* update stories
* add missing imports
2021-04-02 13:01:38 +02:00
Jakub Majorek
a7736e2bf9
Attach permission variables to all queries ( #1000 )
...
* [SALEOR-2190] Attach permission variables to all queries
* Fix TS linter issues
* Update package-lock
2021-03-09 09:44:09 +01:00
Krzysztof Wolski
a82de30309
Add circleci config and enhance our linters ( #519 )
...
* Add circleci config
* Season linting config
* Apply code style
2020-05-14 11:30:32 +02:00
dominik-zeglen
6b122e27fd
Make it error
2019-12-03 16:33:08 +01:00
dominik-zeglen
d048cc629b
Add local eslint rule to enforce naming styles
2019-12-03 16:09:57 +01:00
dominik-zeglen
baf49a7ca5
Use eslint in build pipeline
2019-12-02 16:33:59 +01:00
dominik-zeglen
421da92cb3
Use eslint instead of tslint
2019-12-02 16:33:58 +01:00