Dawid Tarasiuk
4880093f63
Use Auth SDK ( #1474 )
...
* Use Auth SDK
* Update auth provider hook
* Update sdk module mapping
* Update setting password
* Fix no user details on first login
* Update auth tests
* Cleanups
* Update SDK
Update SDK
Update SDK
Update test recordings
Update SDK
* Implement SDK External Auth
Update new password view
Hnalde external logout
Update SDK
Fix logout external redirect
* Fix login page style
* Update SDK
* Auth Provider cleanups
Update and refactor auth
Auth types cleanups and refactor
* Update channel context provider
* Fix login error handling
* Logout immidiatelly non-staff user
* Update test snapshots
* Trigger CI
* Update to SDK v0.4, remove duplicated UserContext hook
* Handle server errors during login
* Fix wrong login page form submition handling
* Update login error messages
Co-authored-by: Jakub Majorek <majorek.jakub@gmail.com>
2021-12-17 12:10:54 +01:00
Michał Droń
78f7b5d4fb
Searching addresses in order drafts ( #1618 ) ( #1655 )
...
* Searching addresses in order drafts (#1618 )
* wip search addresses
* wip fix query regex verification
* wip move dialog title & add selected label
* wip move dialog title
* wip edit icon
* wip address selection logic
* wip change messages
* wip message when search is unsuccesful
* wip add billing address change support
* wip default address validation & cleanup
* wip run tests & extract messages
* wip bump macaw
* tests & cleanup
* fix scrollbars
* remove address card wrapper
* apply code review suggestions
* remove comments
* Bump macaw to 0.2.7
* Fix outside modal click state retention
2021-12-03 12:59:29 +01:00
Dawid Tarasiuk
0fb58ea800
Fix overlapped content by sidebar ( #1508 )
...
* Fix overlapped content by sidebar
* Update app layout widths
* Update test snapshots
* Update macaw ui
* Update macaw-ui version
2021-11-09 13:17:18 +02:00
Wojciech Mista
2eec208144
Fix channel picker hiding in resend code modal bug ( #1479 )
...
* Replace savebar with actionbar
* Bump macaw version to 0.2.5
* Update tests
2021-10-21 13:25:24 +02: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
Piotr Grundas
ebe56da583
Add swatch attributes ( #1301 )
...
* Initial work
* #
* Base color logic
* Handle file urls
* Improvements, fix snapshots
* Add messages
* Update changelog
* Update storybook
* Improvements
* Messages
* Review corrections
* Bugfixes
2021-09-21 15:16:21 +02:00
Dominik Żegleń
51e204076f
Fix initial list settings ( #1401 )
...
* Allow ocalStorage values to be initialized by cb
* Initialize list settings if not found
* Fix settings merging
* Refactor types
2021-09-17 11:59:28 +02:00
Kamil Pastuszka
4fcc3eec5e
Add Demo Banner ( #1416 )
2021-09-17 10:09:45 +02:00
Karolina Rakoczy
19e9b0ffc2
Saleor 4033 tests for plugins ( #1317 )
...
* tests for plugins
* tests for plugins
* add default country to create channel mutation
* change data-test-ids
* update snapshots
2021-09-10 11:03:42 +02:00
Paweł Kucharski
386a2488e7
Click & Collect ( #1268 )
...
* Add initial form of c&c related properties for warehouse
* Add Typography & styling to RadioButtons, drop duplicated state
* Add fields for warehouse fixtures + cleanup
* Add order collectionPointName field + handle click&collect display in order
* Fix review issues + add snapshots
* Modify choices in WarehouseZones with filter
* Rename WarehouseZones to WarehouseSettings
* Add translations messages
* Update schema
* Fix review issues pt.2
* Fix review issues pt.3
* Fix review issues
* Align defaultMessages.json to messages refactor
* Rename interface WarehouseInfo -> WarehouseSettings
* Add pickup annotation to shipping address in order details
* Introduce fragment matcher + small change in deliveryMethod query
* Fixes after rebase
* Add resolve fulfillment option for local warehouse
* Align types after rebase
* Update snapshots
* Repair weird union behaviour
* Add entry to CHANGELOG.md
2021-08-27 10:10:41 +02:00
SektorDV
3194654bf1
Disable shipping dialog confirm button when no items selected ( #1304 )
2021-08-23 11:16:35 +02:00
Jakub Majorek
ab4c897b2a
Add dashboard extensions ( #1292 )
...
* Fix app embed
* initial setup
* Create ButtonWithSelect component
* Use context
* Use dialog
* Handle app-bridge actions
* Code adjustments, bump packages
* Fix tests
* Fix schema formatting
* Send response
* Use latest package versions
2021-08-20 15:58:53 +02:00
SektorDV
a94a611949
Horizontal scroll fix on tables ( #1306 ) ( #1313 )
...
* restore horizontal overflows to responsive tables
* regenerate package-lock
2021-08-20 14:16:19 +02:00
Jakub Majorek
f50e3bdde1
Bump master to 3.1.0-a.0 ( #1296 )
2021-08-16 16:01:04 +02:00
Piotr Grundas
6abdc4613a
[SALEOR-3088] Date & DateTime attributes ( #1180 )
2021-07-29 14:15:14 +02:00
Karolina Rakoczy
283e714202
tests for pages ( #1222 )
...
* tests for pages
* fix tests
* fix imports
* tests for pages
* add wait
* tests for pages
* fix weight recalculate
2021-07-27 10:57:17 +02:00
Karolina Rakoczy
1f01a09e87
add tags ( #1251 )
...
* add tags
* edit e2e.yaml
* fix test for customer registration
* add empty lines
2021-07-23 12:46:44 +03:00
Dominik Żegleń
62817568a7
Use MacawUI ( #1229 )
...
* Replace withStyleswith useStyles (#1100 )
* Replace withStyleswith useStyles
* Update messages
* Use rem as a spacing unit (#1101 )
* Use rems as spacing units
* Fix visual bugs
* Update stories
* Use macaw-ui as theme provider (#1108 )
* Use macaw ui as a theme provider
* Add react-dom to aliases
* Fix jest module resolution
* Update useTheme hook usage
* Fix test wrapper
* Use macaw from git repo
* Fix CI
* Update stories
* Fix aliasing
* Extract savebar to macaw ui (#1146 )
* wip
* Use savebar from macaw
* Use confirm button from macaw
* Improve file structure
* Use sidebar context from macaw
* Update macaw
* Update macaw version
* Remove savebar from storybook
* Update stories
* Use alerts and notifications from macaw (#1166 )
* Use alerts from macaw
* Add notifications from macaw
* Update stories
* Pin macaw version
* Encapsulate limit reached in one component
* Remove unused imports
* Use backlinks from macaw (#1183 )
* Use backlink from macaw
* Update macaw version
* Use macaw sidebar (#1148 )
* Use sidebar from macaw
* Use shipped logo
* Use lowercase
* Update stories
* Use user chip from macaw (#1191 )
* Use user chip from macaw
* Use dedicated components for menu items
* Simplify code
* Bump version and fix types (#1210 )
* Rename onBack to onClick
* Rename UserChip to UserChipMenu
* Rename IMenuItem to SidebarMenuItem
* Update macaw version
* Fix tables after changes in macaw (#1220 )
* Update macaw version
* Update changelog
* Update stories
* Fix after rebase
* Update to macaw 0.2.0
* Lint files
* Update macaw to 0.2.2
2021-07-21 10:59:52 +02:00
Dawid Tarasiuk
909e08f2af
Fix duplicated labels in column picker ( #1197 )
...
* Fix duplicated labels in column picker
* Update changelog
* Refactor column picker scroll fetch
* Migrate react-infinite-scroller to react-infinite-scroll-component
* Remove unneeded keys
* Align dialog items to top
2021-07-01 10:21:41 +02:00
Karolina Rakoczy
7df850bcb1
Saleor 3391 tests for staff members ( #1122 )
...
* invite staff
* staff members
* all tests for staff members
* remove unused import
* update snap
* remove /dashboard/
* uptade test.yml
2021-06-07 13:35:53 +02:00
Michał Ociepka
fbfe3c8d7c
Add embed plugin to editorjs ( #1114 )
...
* SALEOR-3354 add Editor.js embed dependency
* SALEOR-3354 add embed to EditorJS tools
* SALEOR-3354 update change log
2021-05-18 15:21:33 +02:00
Karolina Rakoczy
9f71106f32
Saleor 3038 tests for payments by adyen ( #1086 )
...
* add tests for puchase by type
* add expect for isShippingRequired
* tests for adyen
* tests for adyen
* tests for adyen
* tests for adyen
* adyen
* adyen
* adyen
* adyen
* adyen
* warehouses in chcekout
* rm warehouses in chcekout
* adyen payments
* adyen
2021-05-16 13:38:53 +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
Dawid Tarasiuk
5a439176b7
SALEOR 3115 Fix EditorJS inline formatting ( #1096 )
...
* Fix EditorJS inline formatting
* Update changelog
2021-05-07 10:06:08 +02:00
Dominik Żegleń
d220914085
Add service worker ( #1073 )
...
* Add service worker
* Update messages
* Update changelog
* Remove debug code
* Refactor code and add interval config
* Clear interval
* Reload all pages simultaneously
* Update copy
2021-04-26 12:10:47 +02:00
Karolina Rakoczy
b89e3533d6
Saleor 2690 tests for sorting products ( #1033 )
...
* tests for sorting
* tests for sorting
* sort products
* sort products
* sort products
* sort products
* tests for sorting
* fix imports
* tests for sorting
2021-04-21 09:51:10 +02:00
Jakub Majorek
e5df1b2dbf
Add shipping method description ( #1058 )
...
* Add shipping method description - WIP
* Wire up logic
* Handle more editorjs issues
* Fix minor issues
Co-authored-by: Dawid Tarasiuk <tarasiukdawid@gmail.com>
2021-04-16 14:33:14 +02:00
Krzysztof Wolski
f18f2a6ca6
Add missing bumper pkg ( #1048 )
2021-04-02 16:30:39 +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
5416c9f865
Ignore EditorJS errors ( #1036 )
...
* Ignore EditorJS error
* Update messages
2021-03-30 16:31:38 +02:00
Krzysztof Wolski
9b486d6682
Add release-it script ( #1034 )
2021-03-30 14:37:12 +02:00
Jakub Majorek
7bc4bc6696
Define node requirements, ts cleanup ( #1008 )
...
* Define node requirements, ts cleanup
* Update snapshot
* fix tests
2021-03-19 13:06:17 +01: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
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