Karolina Rakoczy
221756a70e
merge changes
2021-02-11 15:17:00 +01:00
Karolina
7bb3efa65d
Saleor 1736 configuration channels ( #966 )
...
* Cypress tests for channels
Co-authored-by: Marcin Gębala <maarcin.gebala@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
2021-02-11 14:58:05 +01:00
Karolina
68eb5309ef
Merge branch 'master' into SALEOR-1738-Tests-for-home-page
2021-02-11 13:53:29 +01:00
Karolina Rakoczy
d738c515c0
install faker
2021-02-11 13:48:24 +01:00
Jakub Majorek
383055a2de
SALEOR-2064 Add generic error tracker with Sentry adapter ( #956 )
...
* Add generic error tracker with Sentry extension
* Add Sentry webpack plugin
* Update variable names and README
* Update deploy-staging template
* Update changelog
2021-01-22 15:05:26 +01:00
Jakub Majorek
77ed12664d
Fix rare editorjs race condition ( #953 )
2021-01-21 09:54:53 +01:00
Dawid Tarasiuk
eb351b396a
Refunds ( #870 )
...
* 1721 - add refunds miscellaneous view (#860 )
* Create new page for Miscellaneous Refunds
* Replace refund order dialog with dedicated page
* Add data test ids
* Update order details view for refunds (#874 )
* 1719 - add refund entry to order history (#875 )
* Add refund order history entry
* Update refund event with the right query
* 1722 - add refunds product view (#873 )
* Create new page for Miscellaneous Refunds
* Replace refund order dialog with dedicated page
* Add data test ids
* Create refund products table
* Implement refund products view
* Update refund mutation with product lines input
* Fix products quantities on refund page
* Fix order refund submission
* Fix products refund submission input variables
* Filter out fulfillments on refund page
* Update refund page in storybook
* Fix test snapshots after wrong refunds rebase
* Set max refund as captured amount
* Refund queries adjustments
* Display refund values with nullish coalescing operator
* Update test snapshots with refunds
* Refactor order refund values calculation
* Create and use refund order line fragment
* Use old simple refund mutation for miscellaneous refund
* Submit for refund only lines with non-zero quantity set
* Fix showing refund error
* Fix refund details on order details page (#879 )
* Update order details view for refunds (#874 )
* 1719 - add refund entry to order history (#875 )
* Add refund order history entry
* Update refund event with the right query
* 1722 - add refunds product view (#873 )
* Create new page for Miscellaneous Refunds
* Replace refund order dialog with dedicated page
* Add data test ids
* Create refund products table
* Implement refund products view
* Update refund mutation with product lines input
* Fix products quantities on refund page
* Fix order refund submission
* Fix products refund submission input variables
* Filter out fulfillments on refund page
* Update refund page in storybook
* Fix test snapshots after wrong refunds rebase
* Set max refund as captured amount
* Refund queries adjustments
* Display refund values with nullish coalescing operator
* Update test snapshots with refunds
* Refactor order refund values calculation
* Create and use refund order line fragment
* Use old simple refund mutation for miscellaneous refund
* Submit for refund only lines with non-zero quantity set
* Fix showing refund error
* Add missing refund amount to order history
* Merge repeated order lines in fulfillment lines
* Update order history events types and test snapshots
* Update changelog with refunds changes
2020-12-01 14:13:05 +01:00
Krzysztof Wolski
6762e7bf3f
[chore] Update dependencies, fix warnings during tests ( #845 )
...
* Fix attr name typo
* Use proper string serialization
* Use proper image URL
* Remove unused draft component
* Fix classname for invoice card
* Update deps
* Remove unused testcafe
* Resolve issue with missing intl in one of the stories, bump intl package version
* Update packages
* Update commit hooks
* Bump ts to last pre4.0 version
* Center metadata image
* Unused property
* Bump enzyme
* Revert
* Fix logo on login screen
* Fix console errors on entering translations pages
* Fix styles for invoice card
2020-11-27 17:32:12 +01:00
Dominik Żegleń
6f9060144a
Multichannel ( #833 )
...
* add multichannel to configuration view
* create multichannels list view
* create multichannels list view
* add ChannelsCreate view
* update channels in configuration
* add stories
* update default messages
* fix ChannelForm props
* update channels list styles
* update snapshots
* update channel form currency input
* update Channels fragments
* extract messages
* remove tabs from channelsList
* channel details, channel delete modal (#598 )
* create Channel details view
* create ChannelDeleteDialog
* add channels delete dialog to channels list
* update messages and types
* fixes after review
* channels availability (#609 )
* create Channel details view
* update messages and types
* create ChannelsAvailability component
* create more product channels components
* create channels stories, update fixtures, types
* update product views with channels data
* update schema and snapshots
* update defaultMessages
* update ProductUpdate view
* create ChannelsAvailabilityDropdown component
* add product channels to local storage
* update globalTypes
* Update to new schema and resolve issues
* Update messages
* create deleteChannel mutation
* add channels availability component to product create view
* refactor ProductCreate and ProductUpdate views
* CollectionProducts view cleanup
* add disabled prop to ActionDialog
* use updateChannels mutation in ProductCreate view
* ProductCreate - update submit function
* fixes after review
* update snapshots and messages
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
* channels shipping components (#655 )
* create PricingCard, OrderValue and OrderWeight components
* create ShippingZoneRatesPage and DeleteShippingRateDialog
* update ChannelsAvailability component
* updates after review
* channels shipping views (#662 )
* update ChannelsAvailability component
* updates after review
* create PriceRate views, update types
* create weight rates views
* update shipping views, stories, messages
* update snapshots
* update snapshots
* update useChannels hook
* orders channels components (#698 )
* create OrderChannelSectionCard component
* update OrderDetailsPage
* update DraftOrderChannelCard
* update snapshots
* update fixtures
* small change after review, update snapshots
* product pricing (#702 )
* update product types
* update Pricing in simple product view
* use productVariantCreate mutation in simple product view
* update snapshots and messages
* handle create variant (#715 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update snapshots and messages
* fix update and create product handlers
* update pricing types
* channels modal - new styles, search input (#717 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* fix search input label styles
* update toggleAllChannels function
* update variant creator (#724 )
* update product types
* update Pricing in simple product view
* handle product create and update errors
* update pricing types
* add search input in ChannelsAvailabilityDialog
* update ChannelsAvailabilityDialog in all views
* update snapshots
* add channelLisitngs to variant creator
* update variant creator price styles
* update product variant creator reducer tests
* update createVariants tests
* update error handling in product variant creator
* add Skip pricing for now option
* use PriceField instead of TextField in ProductVariantCreatorSummary
* create price validation function
* fix errors handling in ProductVariantPrice component
* fixes after review
* Product List - remove publish/unpublish buttons (#727 )
* ProductList - remove publish and unpublish buttons
* update messages
* update snapshots, messages
* revert changes in ChannelsAvailabilityDropdown
* products/shipping/discount list settings (#739 )
* create ChannelSettingsDialog component
* update snapshots
* ProductList - open settings modal when there is no selected channel
* add settings modal to vouchers list
* add settings dialog to sales list
* add setting modal to shipping list
* update shipping
* update snapshots, messages
* useChannelsSettings - remove selectedChannelSlug
* fix channels update handler in product and shipping view
* messages update in ChannelSettingsDialog
* handle product/discount list when there is no channels
* update onSettingsOpen prop
* collection availability dropdown (#743 )
* add availability dropdown to collection products list
* update channelListingProduct fragment name
* update voucher view/components with channels (#746 )
* update voucher view/components with channels
* update VoucherSummary, remove defaultCurrency from voucher components
* update snapshots
* move getChannelsVariables func to discounts handlers
* update voucher messages
* sale view/components with channels (#750 )
* update sale views with channels
* small fixes in discounts
* order views with channels (#752 )
* update draft orders with channels
* add channel activate/deactivate mutations
* remove sort by total in orders list
* add error notification on channel activate/deactivate
* product variants channel select (#755 )
* add channels selector to ProductVariants component
* remove selectedChannel from ProductUpdate, update messages and snapshots
* update product fragments
* update translations (#762 )
* update translations
* fix translation types
* update messages
* update Availability component (#766 )
* update ChannelsAvailability component
* update product fixtures
* update collection and channel fixtures
* ChannelsAvailability - handle errors
* update product handlers
* update ChannelsAvailability styles
* update ProductVariant
* update snapshots
* fix missing things in multichannel (#785 )
* add availability dropdown to discount products list
* fix error handling in shipping components
* update product views and components
* update messages
* update category view/components
* update CategoryProducts styles
* remove defaultCurrency from shipping components
* create ChannelsSelect component
* update channels error handling after review
* another fixes after review
* Add channels to collection views/components (#791 )
** update collection components and views
* update create collection view
* update error handling in collection
* remove filter bar from collection list
* update products fragments
* small fix in collection create view
* use collectionFragment in useCatalogSearch
* update defaultMessages and snapshots
* update homepage view/drop defaultCurrency (#801 )
* update homepage view
* drop defaultCurrency prop
* fix onChannelChange function in home view
* remove visibility from product list filters
* update export products with channels (#803 )
* update ProductExportDialog with channels
* add new channel error code
* remover VISIBLE from product export dialog Financial information
* fix input size in ProductVariantCreatorSummary (#804 )
* channels currency code select (#806 )
* create select with currency codes
* fix ChannelDeleteDialog
* update defaultMessages, remove unneeded ChannelDetails handlers
* fixes after rebase
* replace channelListing with channelListings
* [multichannel] Update schema]
* Fix product create test
Co-authored-by: AlicjaSzu <alicja.szukuc@gmail.com>
Co-authored-by: Krzysztof Wolski <krzysztof.k.wolski@gmail.com>
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2020-11-17 17:10:42 +01:00
dominik-zeglen
4d15fa52b8
Add undo ability
2020-11-05 17:32:55 +01:00
dominik-zeglen
dab8064e26
Use editorjs instead of draftail
2020-11-04 13:58:30 +01:00
Marcin Gębala
38d3386045
Update after release
2020-11-04 12:32:10 +01:00
dependabot-preview[bot]
833d02c875
[Security] Bump lodash from 4.17.15 to 4.17.20
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.20. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 05:35:55 +00:00
dependabot-preview[bot]
87061b65ea
[Security] Bump node-fetch from 2.6.0 to 2.6.1 ( #704 )
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.6.0 to 2.6.1. **This update includes a security fix.**
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-15 11:09:29 +02:00
dominik-zeglen
41e60b6418
Add tests to auth
2020-07-27 12:23:42 +02:00
dominik-zeglen
b5029deca0
wip
2020-07-27 12:21:25 +02:00
Marcin Gębala
49c0a75179
Bump to 2.10.1
2020-07-22 16:08:47 +02:00
Dawid Tarasiuk
5ce1add2ec
Merge pull request #621 from mirumee/dependabot/npm_and_yarn/codecov-3.7.1
...
[Security] Bump codecov from 3.6.5 to 3.7.1
2020-07-22 15:21:15 +02:00
AlicjaSzu
211b0b892d
Apps ( #599 )
...
* create Apps view
* create more app components, generate types and messages
* apps refactor, update snapshots
* show error message in tooltip when app installation fail
* update apps components and view, add apps list to storybook
* update defaultMessages
* create app details view
* update AppListPage with Skeleton component
* create app activate/deactivate dialogs, create app details stories
* add AppHeader to AppDetailsPage
* update defaultMessages
* update AppDetails view and components after review
* create custom app details view
* refactor webhooks
* update webhooks fixtures
* update WebhookDetailsPage story
* update strings
* create CustomAppCreate view and components
* update AppListPage story
* create AppInstall view and page
* handle errors in AppInstall view
* update defaultMessages
* add AppInstallPage to storybook
* add status prop to MessageManager
* update defaultMessages
* remove service account section
* remove service account routes
* remove as operator from notify status
* add notifications for app installations
* update styles for deactivated app
* update app installations with local storage
* update defaultMessages
* AppInstall update
* dd delete button to ongoin installations table
* fix active installations condition
* fix error messages in AppsList
* update defaultMessages
* add iframe to AppDetailsPage
* create AppDetailsSettingsPage
* install macaw-ui
* apps styles clean up
* update schema, fixtures
* few apps updates
* WebhookCreate - fix onBack button name
* WebhookCreatePage story update
* rename apps table from external to thirdparty
* update defaultMessages
* fix test, update snapshots
* AppDetailsSettings - add token to headers
* fix first number in local apps query
* app details settings - use shop domain host
* add onSettingsRowClick to InstalledApps
* resolve conflicts
* update changelog and messages
* add noopener noreferrer do app privacy link
* update snapshots
* update snapshots
* updates after review
* update defaultMessages
* CustomAppDetails - add missing notify status
2020-07-22 12:54:15 +02:00
dependabot-preview[bot]
65a4001590
[Security] Bump codecov from 3.6.5 to 3.7.1
...
Bumps [codecov](https://github.com/codecov/codecov-node ) from 3.6.5 to 3.7.1. **This update includes a security fix.**
- [Release notes](https://github.com/codecov/codecov-node/releases )
- [Commits](https://github.com/codecov/codecov-node/compare/v3.6.5...v3.7.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-20 23:16:05 +00:00
Krzysztof Wolski
c778c200ed
Move from test cafe to Cypress ( #584 )
...
* Typo
* Add cypress config
* Login and logout tests
* Typo
* Add basic test for warehouse
* Wrong password test
* Fixes and docs
* Remove testcafe
* Add gh action
* Update changelog
* Fix typo
* Update msgs
* Work on GH action
* Record artifacts
* Fix warehouse test
2020-07-20 11:42:44 +02:00
dominik-zeglen
c09fc4ce00
Apply fixes from 2.10.1
2020-07-16 13:48:00 +02:00
Dawid Tarasiuk
fea369be80
Update test snapshots
2020-07-08 10:44:37 +02:00
Dawid Tarasiuk
8b06b6ddf7
Create invoice cart in order deatials view
2020-07-08 10:44:26 +02:00
dominik-zeglen
d89d31d295
Update dependencies
2020-07-06 16:35:33 +02:00
Krzysztof Wolski
2a6334cb74
Dont open browser on npm start ( #577 )
2020-06-25 08:47:54 +02:00
Krzysztof Wolski
53b6c5ca5c
Add GTM
2020-05-26 01:47:12 +02: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
Marcin Gębala
5a6612f0f4
Bump version to 2.10.0
2020-05-14 09:23:33 +02:00
Marcin Gębala
807f9c193b
Bump version
2020-05-07 13:53:52 +02:00
Marcin Gębala
4f45a6e14a
Bump version
2020-05-04 15:20:53 +02:00
dominik-zeglen
64371d04a6
wip
2020-04-28 16:37:16 +02:00
dominik-zeglen
880d312170
Update dependencies
2020-03-25 11:22:55 +01:00
Dominik Żegleń
86ee990f5f
Merge pull request #407 from mirumee/dependabot/npm_and_yarn/codecov-3.6.5
...
[Security] Bump codecov from 3.6.1 to 3.6.5
2020-03-02 11:31:53 +01:00
dominik-zeglen
e95f511ce3
Snapshot strict null mode error count
2020-02-25 15:28:14 +01:00
dominik-zeglen
fa8231992f
Explicitely return not found page
2020-02-20 15:18:22 +01:00
dependabot-preview[bot]
1cb0ecba18
[Security] Bump codecov from 3.6.1 to 3.6.5
...
Bumps [codecov](https://github.com/codecov/codecov-node ) from 3.6.1 to 3.6.5. **This update includes a security fix.**
- [Release notes](https://github.com/codecov/codecov-node/releases )
- [Commits](https://github.com/codecov/codecov-node/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-19 17:34:11 +00:00
dominik-zeglen
e20ff94910
Use json files in translations
2020-02-13 12:54:23 +01:00
dominik-zeglen
dc396f9830
Use structured jsons instead of POT file
2020-02-13 12:54:22 +01:00
dominik-zeglen
bb5a615040
Fix module aliasing
2020-01-20 16:46:57 +01:00
dominik-zeglen
ed5cd00062
Add test utils
2020-01-20 16:46:54 +01:00
Dominik Żegleń
7d8a141f63
Merge pull request #343 from mirumee/dependabot/npm_and_yarn/react-jss-10.0.0
...
Bump react-jss from 8.6.1 to 10.0.0
2019-12-30 14:12:35 +01:00
Dominik Żegleń
ae797b8969
Merge pull request #341 from mirumee/dependabot/npm_and_yarn/webpack-dev-server-3.10.1
...
Bump webpack-dev-server from 3.9.0 to 3.10.1
2019-12-30 12:39:58 +01:00
Dominik Żegleń
b1719c7180
Merge pull request #340 from mirumee/dependabot/npm_and_yarn/types/jest-24.0.24
...
Bump @types/jest from 23.3.14 to 24.0.24
2019-12-30 10:22:55 +01:00
Dominik Żegleń
465bab6952
Merge pull request #339 from mirumee/dependabot/npm_and_yarn/storybook/addon-storyshots-5.2.8
...
Bump @storybook/addon-storyshots from 5.2.5 to 5.2.8
2019-12-30 09:59:46 +01:00
dependabot-preview[bot]
3cdac225f6
Bump react-jss from 8.6.1 to 10.0.0
...
Bumps [react-jss](https://github.com/cssinjs/jss ) from 8.6.1 to 10.0.0.
- [Release notes](https://github.com/cssinjs/jss/releases )
- [Changelog](https://github.com/cssinjs/jss/blob/master/changelog.md )
- [Commits](https://github.com/cssinjs/jss/commits/v10.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-20 05:21:56 +00:00
dependabot-preview[bot]
0a62640ff9
Bump apollo from 2.21.1 to 2.21.2
...
Bumps [apollo](https://github.com/apollographql/apollo-tooling ) from 2.21.1 to 2.21.2.
- [Release notes](https://github.com/apollographql/apollo-tooling/releases )
- [Changelog](https://github.com/apollographql/apollo-tooling/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-tooling/compare/apollo@2.21.1...apollo@2.21.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-20 05:20:53 +00:00
dependabot-preview[bot]
20562a114a
Bump webpack-dev-server from 3.9.0 to 3.10.1
...
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server ) from 3.9.0 to 3.10.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases )
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/v3.10.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v3.9.0...v3.10.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-20 05:19:44 +00:00
dependabot-preview[bot]
5f7ab51d3d
Bump @types/jest from 23.3.14 to 24.0.24
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 23.3.14 to 24.0.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-20 05:18:35 +00:00
dependabot-preview[bot]
bee4f9b34c
Bump @storybook/addon-storyshots from 5.2.5 to 5.2.8
...
Bumps [@storybook/addon-storyshots](https://github.com/storybookjs/storybook/tree/HEAD/addons/storyshots/storyshots-core ) from 5.2.5 to 5.2.8.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v5.2.8/addons/storyshots/storyshots-core )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-20 05:17:36 +00:00