From 3afe1e21df6dcc0483e74e0db02d9d82af32ecea Mon Sep 17 00:00:00 2001 From: xuatz Date: Mon, 2 Jun 2025 04:01:26 +0900 Subject: feat: add user customisable default archive display behaviour (#1505) * fix typo * implementation * bug fix and refactoring * Use nuqs for searchParam management * remove the todo about the tests * fix tests --------- Co-authored-by: Mohamed Bassem --- packages/db/schema.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/db/schema.ts') diff --git a/packages/db/schema.ts b/packages/db/schema.ts index 08dbacab..33ba0350 100644 --- a/packages/db/schema.ts +++ b/packages/db/schema.ts @@ -537,6 +537,9 @@ export const userSettings = sqliteTable("userSettings", { bookmarkClickAction: text("bookmarkClickAction", { enum: ["open_original_link", "expand_bookmark_preview"], }).notNull().default("open_original_link"), + archiveDisplayBehaviour: text("archiveDisplayBehaviour", { + enum: ["show", "hide"], + }).notNull().default("show"), }); // Relations -- cgit v1.2.3-70-g09d2