[PR #2275] [MERGED] feat: Add user settings to disable auto tagging/summarization #2040

Closed
opened 2026-03-02 12:00:18 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/karakeep-app/karakeep/pull/2275
Author: @MohamedBassem
Created: 12/20/2025
Status: Merged
Merged: 12/22/2025
Merged by: @MohamedBassem

Base: mainHead: claude/user-auto-tagging-settings-EGNrM


📝 Commits (4)

  • 4f70a18 feat: Add per-user settings to disable auto-tagging and auto-summarization
  • ab3f39f revert migration
  • 8e9ec85 Merge branch 'main' into claude/user-auto-tagging-settings-EGNrM
  • a99d700 i18n

📊 Changes

13 files changed (+3178 additions, -1 deletions)

View changed files

📝 apps/web/components/settings/AISettings.tsx (+108 -0)
📝 apps/web/lib/clientConfig.tsx (+2 -0)
📝 apps/web/lib/i18n/locales/en/translation.json (+5 -0)
📝 apps/web/lib/userSettings.tsx (+2 -0)
📝 apps/workers/workers/inference/summarize.ts (+16 -1)
📝 apps/workers/workers/inference/tagging.ts (+16 -0)
packages/db/drizzle/0072_add_user_ai_preferences.sql (+2 -0)
packages/db/drizzle/meta/0072_snapshot.json (+3001 -0)
📝 packages/db/drizzle/meta/_journal.json (+7 -0)
📝 packages/db/schema.ts (+6 -0)
📝 packages/shared/config.ts (+2 -0)
📝 packages/shared/types/users.ts (+5 -0)
📝 packages/trpc/models/users.ts (+6 -0)

📄 Description

…ation

This commit adds user-level controls for AI features when they are enabled on the server. Users can now toggle auto-tagging and auto-summarization on/off from the AI Settings page.

Changes:

  • Added autoTaggingEnabled and autoSummarizationEnabled fields to user table
  • Updated user settings schemas and API endpoints to handle new fields
  • Modified inference workers to check user preferences before processing
  • Added toggle switches to AI Settings page (only visible when server has features enabled)
  • Generated database migration for new fields
  • Exposed enableAutoTagging and enableAutoSummarization in client config

The settings default to null (use server default). When explicitly set to false, the user's bookmarks will skip the respective AI processing.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/karakeep-app/karakeep/pull/2275 **Author:** [@MohamedBassem](https://github.com/MohamedBassem) **Created:** 12/20/2025 **Status:** ✅ Merged **Merged:** 12/22/2025 **Merged by:** [@MohamedBassem](https://github.com/MohamedBassem) **Base:** `main` ← **Head:** `claude/user-auto-tagging-settings-EGNrM` --- ### 📝 Commits (4) - [`4f70a18`](https://github.com/karakeep-app/karakeep/commit/4f70a180e3f743f169a26cb0fe005a4ea1f41d03) feat: Add per-user settings to disable auto-tagging and auto-summarization - [`ab3f39f`](https://github.com/karakeep-app/karakeep/commit/ab3f39ffc136fb09d38f4d28d8e829045c78ed47) revert migration - [`8e9ec85`](https://github.com/karakeep-app/karakeep/commit/8e9ec85de6a2b07030e5d3a8962a7b002f6c139e) Merge branch 'main' into claude/user-auto-tagging-settings-EGNrM - [`a99d700`](https://github.com/karakeep-app/karakeep/commit/a99d70066bd62ec4c0da66e00d91bb0deec4d6a3) i18n ### 📊 Changes **13 files changed** (+3178 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/components/settings/AISettings.tsx` (+108 -0) 📝 `apps/web/lib/clientConfig.tsx` (+2 -0) 📝 `apps/web/lib/i18n/locales/en/translation.json` (+5 -0) 📝 `apps/web/lib/userSettings.tsx` (+2 -0) 📝 `apps/workers/workers/inference/summarize.ts` (+16 -1) 📝 `apps/workers/workers/inference/tagging.ts` (+16 -0) ➕ `packages/db/drizzle/0072_add_user_ai_preferences.sql` (+2 -0) ➕ `packages/db/drizzle/meta/0072_snapshot.json` (+3001 -0) 📝 `packages/db/drizzle/meta/_journal.json` (+7 -0) 📝 `packages/db/schema.ts` (+6 -0) 📝 `packages/shared/config.ts` (+2 -0) 📝 `packages/shared/types/users.ts` (+5 -0) 📝 `packages/trpc/models/users.ts` (+6 -0) </details> ### 📄 Description …ation This commit adds user-level controls for AI features when they are enabled on the server. Users can now toggle auto-tagging and auto-summarization on/off from the AI Settings page. Changes: - Added autoTaggingEnabled and autoSummarizationEnabled fields to user table - Updated user settings schemas and API endpoints to handle new fields - Modified inference workers to check user preferences before processing - Added toggle switches to AI Settings page (only visible when server has features enabled) - Generated database migration for new fields - Exposed enableAutoTagging and enableAutoSummarization in client config The settings default to null (use server default). When explicitly set to false, the user's bookmarks will skip the respective AI processing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 12:00:18 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#2040
No description provided.