diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-12-27 16:30:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-27 14:30:11 +0000 |
| commit | af3010abaa37f7db4144820469422bdbb432adfc (patch) | |
| tree | 20f29ef6df2efce261d7d7964e0535beb0b51a7b /apps/web/lib | |
| parent | 93630ce88dcb07bcdf7445185fe20612a5c22b7b (diff) | |
| download | karakeep-af3010abaa37f7db4144820469422bdbb432adfc.tar.zst | |
feat: add customizable tag styles (#2312)
* feat: add customizable tag styles
* add tag lang setting
* ui settings cleanup
* fix migration
* change look of the field
* more fixes
* fix tests
Diffstat (limited to 'apps/web/lib')
| -rw-r--r-- | apps/web/lib/i18n/locales/en/translation.json | 14 | ||||
| -rw-r--r-- | apps/web/lib/userSettings.tsx | 2 |
2 files changed, 14 insertions, 2 deletions
diff --git a/apps/web/lib/i18n/locales/en/translation.json b/apps/web/lib/i18n/locales/en/translation.json index af9b2748..03aaa645 100644 --- a/apps/web/lib/i18n/locales/en/translation.json +++ b/apps/web/lib/i18n/locales/en/translation.json @@ -236,7 +236,6 @@ }, "ai": { "ai_settings": "AI Settings", - "ai_preferences_description": "Control which AI features are enabled for your account.", "auto_tagging": "Auto-tagging", "auto_tagging_description": "Automatically generate tags for your bookmarks using AI.", "auto_summarization": "Auto-summarization", @@ -250,7 +249,18 @@ "all_tagging": "All Tagging", "text_tagging": "Text Tagging", "image_tagging": "Image Tagging", - "summarization": "Summarization" + "summarization": "Summarization", + "tag_style": "Tag Style", + "tag_style_description": "Choose how your auto-generated tags should be formatted.", + "lowercase_hyphens": "Lowercase with hyphens", + "lowercase_spaces": "Lowercase with spaces", + "lowercase_underscores": "Lowercase with underscores", + "titlecase_spaces": "Title case with spaces", + "titlecase_hyphens": "Title case with hyphens", + "camelCase": "camelCase", + "no_preference": "No preference", + "inference_language": "Inference Language", + "inference_language_description": "Choose language for AI-generated tags and summaries." }, "feeds": { "rss_subscriptions": "RSS Subscriptions", diff --git a/apps/web/lib/userSettings.tsx b/apps/web/lib/userSettings.tsx index d35c9e56..4789e2ba 100644 --- a/apps/web/lib/userSettings.tsx +++ b/apps/web/lib/userSettings.tsx @@ -18,6 +18,8 @@ export const UserSettingsContext = createContext<ZUserSettings>({ readerFontFamily: null, autoTaggingEnabled: null, autoSummarizationEnabled: null, + tagStyle: "as-generated", + inferredTagLang: null, }); export function UserSettingsContextProvider({ |
