mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-22 00:04:18 +00:00
Tweak tasks sorting
This commit is contained in:
parent
63b59bf0eb
commit
083267782d
1 changed files with 10 additions and 23 deletions
|
@ -26,50 +26,37 @@ export function useBoardLayoutEditor() {
|
||||||
])
|
])
|
||||||
const sortingHook = useCycler(useLocalStorage<number | undefined>(localStorageKeySorting, undefined), [
|
const sortingHook = useCycler(useLocalStorage<number | undefined>(localStorageKeySorting, undefined), [
|
||||||
[
|
[
|
||||||
|
SortingMode.ByDeadline,
|
||||||
|
SortingMode.ByImportance,
|
||||||
SortingMode.ByStatus,
|
SortingMode.ByStatus,
|
||||||
SortingMode.ByDeadline,
|
|
||||||
SortingMode.ByImportance,
|
|
||||||
SortingMode.ByText,
|
SortingMode.ByText,
|
||||||
SortingMode.ByIcon,
|
SortingMode.ByIcon,
|
||||||
SortingMode.ByCreation,
|
SortingMode.ByCreation,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
SortingMode.ByStatus,
|
SortingMode.ByImportance,
|
||||||
SortingMode.ByImportance,
|
SortingMode.ByDeadline,
|
||||||
SortingMode.ByDeadline,
|
SortingMode.ByStatus,
|
||||||
SortingMode.ByText,
|
SortingMode.ByText,
|
||||||
SortingMode.ByIcon,
|
SortingMode.ByIcon,
|
||||||
SortingMode.ByCreation,
|
SortingMode.ByCreation,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
SortingMode.ByStatus,
|
SortingMode.ByStatus,
|
||||||
|
SortingMode.ByDeadline,
|
||||||
|
SortingMode.ByImportance,
|
||||||
SortingMode.ByText,
|
SortingMode.ByText,
|
||||||
SortingMode.ByIcon,
|
SortingMode.ByIcon,
|
||||||
SortingMode.ByCreation,
|
SortingMode.ByCreation,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
SortingMode.ByStatus,
|
SortingMode.ByStatus,
|
||||||
SortingMode.ByCreation,
|
|
||||||
],
|
|
||||||
[
|
|
||||||
SortingMode.ByDeadline,
|
|
||||||
SortingMode.ByImportance,
|
|
||||||
SortingMode.ByText,
|
|
||||||
SortingMode.ByIcon,
|
|
||||||
SortingMode.ByCreation,
|
|
||||||
],
|
|
||||||
[
|
|
||||||
SortingMode.ByImportance,
|
SortingMode.ByImportance,
|
||||||
SortingMode.ByDeadline,
|
SortingMode.ByDeadline,
|
||||||
SortingMode.ByText,
|
SortingMode.ByText,
|
||||||
SortingMode.ByIcon,
|
SortingMode.ByIcon,
|
||||||
SortingMode.ByCreation,
|
SortingMode.ByCreation,
|
||||||
],
|
],
|
||||||
[
|
|
||||||
SortingMode.ByText,
|
|
||||||
SortingMode.ByIcon,
|
|
||||||
SortingMode.ByCreation,
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
SortingMode.ByCreation,
|
SortingMode.ByCreation,
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue