feat(ui): shelf rebuilt — sticky toolbar (search/sort/group in URL), rail, menu cards, alert-dialog delete

This commit is contained in:
2026-09-08 18:58:16 +08:00
parent d9e9e95ece
commit b1c0db6c03
2 changed files with 233 additions and 210 deletions
+8
View File
@@ -0,0 +1,8 @@
import type { GroupMode, SortKey } from "./shelf";
export const SORTS: SortKey[] = ["added", "title", "progress"];
export const GROUPS: { v: GroupMode; label: string }[] = [
{ v: "flat", label: "平铺" },
{ v: "dir", label: "按目录" },
];
export const LIB0 = 0;