saleor-dashboard/src/hooks
Dominik Żegleń a175fb9497
Add global channel picker (#841)
* Move theme switch to user menu

* Add global channel picker

* Fix picker styles

* Use app channel state

* Improve prop naming to indicate id vs slug

* Disable picker if no reason to pick channel

* Remove settings modal leftovers

* Remove channel settings dialog

* Remove unused props

* Skip channel fetching if user is not authenticated

* Remove channel selection from components

* Update messages

* Fix e2e tests

* Remove channel picker leftover

* Revert ChannelSettingsDialog deletion

* Update snapshots

* Update messages
2020-11-23 10:39:24 +01:00
..
debug Add debug hook 2020-01-20 16:46:59 +01:00
useModalDialogErrors Add missing files 2019-08-09 12:17:04 +02:00
useModalDialogOpen Add missing files 2019-08-09 12:17:04 +02:00
makeMutation.ts add status to notifications 2020-07-06 10:46:14 +02:00
makeQuery.ts Apply review changes 2020-07-27 12:23:48 +02:00
makeSearch.ts Add search hooks 2019-11-21 15:59:31 +01:00
makeTopLevelSearch.ts Move fragments to avoid circular imports 2020-07-07 12:14:12 +02:00
useAddressValidation.ts Pass promise to reset form state 2020-10-30 16:10:06 +01:00
useAppState.ts Add app state 2019-11-14 15:10:52 +01:00
useBackgroundTask.ts Fix useBackgroundTask hook 2020-06-26 13:09:56 +02:00
useBulkActions.ts Update from saleor/master 2019-08-09 13:14:35 +02:00
useChannels.ts Multichannel (#833) 2020-11-17 17:10:42 +01:00
useClipboard.ts Create useClipboard hook 2019-10-04 13:12:50 +02:00
useDateLocalize.ts update VisibilityCard component (#679) 2020-09-03 12:25:16 +02:00
useDebounce.ts Debounce order search 2019-11-21 18:47:06 +01:00
useElementScroll.ts Remove listener only if it exists 2019-11-07 14:42:08 +01:00
useForm.ts Use dedicated type to return error promise 2020-11-02 14:26:02 +01:00
useFormset.ts Add circleci config and enhance our linters (#519) 2020-05-14 11:30:32 +02:00
useInterval.ts Multichannel (#833) 2020-11-17 17:10:42 +01:00
useListActions.ts Use eslint instead of tslint 2019-12-02 16:33:58 +01:00
useListSettings.ts Add circleci config and enhance our linters (#519) 2020-05-14 11:30:32 +02:00
useLocale.ts Add circleci config and enhance our linters (#519) 2020-05-14 11:30:32 +02:00
useLocalStorage.ts Add global channel picker (#841) 2020-11-23 10:39:24 +01:00
useMultiAutocomplete.ts Add circleci config and enhance our linters (#519) 2020-05-14 11:30:32 +02:00
useNavigator.ts Use eslint instead of tslint 2019-12-02 16:33:58 +01:00
useNotifier.ts remove timer from error notification 2020-07-02 14:49:48 +02:00
useOnSetDefaultVariant.ts Fix set default variant alert 2020-10-09 11:00:06 +02:00
usePaginator.ts Initial commit 2019-06-19 16:40:52 +02:00
useScroll.ts Do not use asterisk imports 2019-08-09 12:26:22 +02:00
useSearchQuery.ts Add circleci config and enhance our linters (#519) 2020-05-14 11:30:32 +02:00
useShop.ts Add circleci config and enhance our linters (#519) 2020-05-14 11:30:32 +02:00
useStateFromProps.ts Add missing files 2019-08-09 12:17:04 +02:00
useTheme.ts Add circleci config and enhance our linters (#519) 2020-05-14 11:30:32 +02:00
useUser.ts Initial commit 2019-06-19 16:40:52 +02:00
useWindowScroll.ts Add missing files 2019-08-09 12:17:04 +02:00
useWizard.ts Add stock to variant matrix 2020-04-28 16:37:10 +02:00