1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-21 15:54:18 +00:00

Tweak tasks sorting

This commit is contained in:
Steffo 2024-09-23 06:42:07 +02:00
parent 63b59bf0eb
commit 083267782d
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -26,50 +26,37 @@ export function useBoardLayoutEditor() {
])
const sortingHook = useCycler(useLocalStorage<number | undefined>(localStorageKeySorting, undefined), [
[
SortingMode.ByDeadline,
SortingMode.ByImportance,
SortingMode.ByStatus,
SortingMode.ByDeadline,
SortingMode.ByImportance,
SortingMode.ByText,
SortingMode.ByIcon,
SortingMode.ByCreation,
],
[
SortingMode.ByStatus,
SortingMode.ByImportance,
SortingMode.ByDeadline,
SortingMode.ByText,
SortingMode.ByIcon,
SortingMode.ByCreation,
SortingMode.ByImportance,
SortingMode.ByDeadline,
SortingMode.ByStatus,
SortingMode.ByText,
SortingMode.ByIcon,
SortingMode.ByCreation,
],
[
SortingMode.ByStatus,
SortingMode.ByDeadline,
SortingMode.ByImportance,
SortingMode.ByText,
SortingMode.ByIcon,
SortingMode.ByCreation,
],
[
SortingMode.ByStatus,
SortingMode.ByCreation,
],
[
SortingMode.ByDeadline,
SortingMode.ByImportance,
SortingMode.ByText,
SortingMode.ByIcon,
SortingMode.ByCreation,
],
[
SortingMode.ByImportance,
SortingMode.ByDeadline,
SortingMode.ByText,
SortingMode.ByIcon,
SortingMode.ByCreation,
],
[
SortingMode.ByText,
SortingMode.ByIcon,
SortingMode.ByCreation,
],
[
SortingMode.ByCreation,
]