Co-authored-by: andrzejewsky <vox3r69@gmail.com>
Co-authored-by: timur <timuric@gmail.com>
Co-authored-by: Krzysztof Żuraw <9116238+krzysztofzuraw@users.noreply.github.com>
* Update React to 17
* Update types for React 17
* Update references in useEffect cleanup functions
* Update react-error-boundary
* Update react-inlinesvg
* Update Apollo Client and Upload Link
* Update apollo-upload-client types
* Fix comment about csstypes
* Downgrade apollo-client version due to log-in bug
* Add missing apollo link
* Update package-lock version
* Fix button type
* Fix datagrid test after react update
* Fix polish language letter bug
* Migrate @saleor/app-bridge to @saleor/app-sdk
app-bridge is deprecated and was merged into app-sdk.
This commit fixes imports and points to new package
* Downgrade package-lock version
* Update app-sdk to 0.9.1
* Change sdk version to production
* Refresh app-sdk install
* Update macaw to include Paginator changes
* Add link support to TablePagination component
* Rewrite usePaginator to use context and links instead of onClick
* Refactor ProductList to use new usePaginator hook
* Add decorator for PaginatorContext in ProductList stories
* Refactor AppList to use new usePaginator hook
* Refactor AttributeList to use new usePaginator hook
* Add missing pagination props for local pagination to AttributeValues
* Refactor CategoryList to use new usePaginator hook
* Refactor CategoryDetails to use useLocalPaginator and context
* Refactor CollectionList to use new usePaginator hook
* Refactor CollectionProducts to use new usePaginator hook
* Refactor CustomerList to use new usePaginator hook
* Refactor VoucherDetailsPage to use PaginationContext
* Refactor SaleDetails to use PaginatorContext
* Refactor SaleList to use new usePaginator hook
* Refactor VoucherList to use new usePaginator hook
* Fix type error in paginatorContextValues fixture
* Refactor GitfCardList to use new usePaginator hook
* Remove unused imports
* Refactor MenuList to use new usePaginator hook
* Refactor OrderDraftList to use new usePaginator hook
* Refactor OrderListPage to use new usePaginator hook
* Refactor PageList to use new usePaginator hook
* Refactor PageTypeList to use new usePaginator hook
* Refactor PermissionGroupList to use new usePaginator hook
* Refactor PluginsList to use new usePaginator hook
* Refactor ProductTypeList to use new usePaginator hook
* Refactor ShippingMethodProducts to use PaginationContext
* Refactor ShippingZonesList to use new usePaginator hook
* Refactor StaffList to use new usePaginator hook
* Fix TS errors
* Update TranslationEntities and TranslationFields to use new usePaginator
* Refactor WarehouseList to use new usePaginator hook
* Fix errors in stories that didn't use PaginationContextDecorator
* Mention changes in changelog
* Update to latest macaw version, update snapshots
* Bump Editor.js version
* Refactor RichTextEditor to use react-editor-js wrapper
* fixup! Bump Editor.js version
* Rewrite RichTextEditor to use uncontrolled input
* Fix RichTextEditorContent not rendering any content due to missing id
* Fix RichTextEditorContent not working on initial render
* Remove editorjs-undo
* Refactor usage of RichTextEditor to get its data only during submit
* Add useMultipleRichText hook for managing rich text attributes
* fixup! Refactor usage of RichTextEditor to get its data only during submit
* Rewrite Attributes usage to use EditorJS .save() on submit
* Refactor RichTextContext into separate file
* Rewrite tests for useRichText
* Add PR changes to the changelog
* Update snaphosts
* Fix failing tests for components that use RichTextEditor
* Remove duplicated getSubmitData function
* 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>
* Create workflow for nightly tests
* fix step without run
* fix if
* add missing quotes
* fix if
* checkout before install
* add needs
* check npm version
* set up node version
* fix access token
* add staging env variable
* add quote
* add caching
* check if run when revert skipped
* check if run correctly
* remove execute on pull
* run critical tests after test env deployment
* add cache
* add all branches
* change workflow name
* add run on pull request for testing
* change type
* add run on deployment
* run on copleted
* test critical
* add quote
* change baseUrl
* fix base url
* fix base url
* upload reports
* run in parallel
* save build folder
* remove build from gitignore
* remove build
* update nide version
* last try with parallel
* save build
* save build
* Run critical
* change cypress API url
* run critical in parallel
* check which workflow has lower duration time
* save all reports with container in name
* add reports on failure
* remove reporters
* fix jobs
* merge
* add group name
* run critical
* Refactor critical tests (#1906)
* refactored tag added to purchaseWithProductsTypes, navigation, stocksInCheckout
* homePageAnalitics - refactor
* refactor home page
* refactor creating variants
* refactor adding product without sku to order
* add script to run critical locally
* change tests cases names
* fix names, remove comments, add script to run refactored tests
* remove workflow for parallel
* remove key
* run critical in deploy workflow
* remove workflow
* remove workflow
* run critical tests after test env deployment
* add cache
* add all branches
* change workflow name
* add run on pull request for testing
* change type
* add run on deployment
* run on copleted
* test critical
* add quote
* change baseUrl
* fix base url
* fix base url
* upload reports
* run in parallel
* save build folder
* remove build from gitignore
* remove build
* update nide version
* last try with parallel
* save build
* save build
* Run critical
* change cypress API url
* run critical in parallel
* check which workflow has lower duration time
* save all reports with container in name
* add reports on failure
* remove reporters
* fix jobs
* merge
* add group name
* run critical
* Refactor critical tests (#1906)
* refactored tag added to purchaseWithProductsTypes, navigation, stocksInCheckout
* homePageAnalitics - refactor
* refactor home page
* refactor creating variants
* refactor adding product without sku to order
* add script to run critical locally
* change tests cases names
* fix names, remove comments, add script to run refactored tests
* remove workflow for parallel
* remove key