feat: Remove Not-Sort-By-Label and Refactor Shopping List Page (#5866)

Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
Michael Genson
2025-08-14 00:23:11 -05:00
committed by GitHub
parent 51ca65e3c3
commit 31530a68e1
13 changed files with 1030 additions and 932 deletions

View File

@@ -33,7 +33,6 @@ export interface UserRecipePreferences {
export interface UserShoppingListPreferences {
viewAllLists: boolean;
viewByLabel: boolean;
}
export interface UserTimelinePreferences {
@@ -129,7 +128,6 @@ export function useShoppingListPreferences(): Ref<UserShoppingListPreferences> {
"shopping-list-preferences",
{
viewAllLists: false,
viewByLabel: true,
},
{ mergeDefaults: true },
// we cast to a Ref because by default it will return an optional type ref