mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
Call to action (switch to Next theme, enable background effects) (#6625)
This commit is contained in:
@@ -93,6 +93,7 @@ const ALLOWED_OPTIONS = new Set<OptionNames>([
|
||||
"redirectBareDomain",
|
||||
"showLoginInShareTheme",
|
||||
"splitEditorOrientation",
|
||||
"seenCallToActions",
|
||||
|
||||
// AI/LLM integration options
|
||||
"aiEnabled",
|
||||
|
||||
@@ -183,7 +183,7 @@ const defaultOptions: DefaultOption[] = [
|
||||
|
||||
// HTML import configuration
|
||||
{ name: "layoutOrientation", value: "vertical", isSynced: false },
|
||||
{ name: "backgroundEffects", value: "false", isSynced: false },
|
||||
{ name: "backgroundEffects", value: "true", isSynced: false },
|
||||
{
|
||||
name: "allowedHtmlTags",
|
||||
value: JSON.stringify(DEFAULT_ALLOWED_TAGS),
|
||||
@@ -206,11 +206,11 @@ const defaultOptions: DefaultOption[] = [
|
||||
{ name: "ollamaEnabled", value: "false", isSynced: true },
|
||||
{ name: "ollamaDefaultModel", value: "", isSynced: true },
|
||||
{ name: "ollamaBaseUrl", value: "http://localhost:11434", isSynced: true },
|
||||
|
||||
// Adding missing AI options
|
||||
{ name: "aiTemperature", value: "0.7", isSynced: true },
|
||||
{ name: "aiSystemPrompt", value: "", isSynced: true },
|
||||
{ name: "aiSelectedProvider", value: "openai", isSynced: true },
|
||||
|
||||
{ name: "seenCallToActions", value: "[]", isSynced: true }
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user