Skip to content

Build your personal knowledge base with Trilium Notes

refactor(client): remove the new layout call to action

Elian Doran24e01b17ffde
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index d273eff873..ac8903e4b4 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -3719,9 +3719,6 @@
"background_effects_title": "Background effects are now stable",
"background_effects_message": "On Windows and macOS devices, background effects are now stable. The background effects adds a touch of color to the user interface by blurring the background behind it.",
"background_effects_button": "Enable background effects",
- "new_layout_title": "New layout",
- "new_layout_message": "We’ve introduced a modernized layout for Trilium. The ribbon has been removed and seamlessly integrated into the main interface, with a new status bar and expandable sections (such as promoted attributes) taking over key functions.\n\nThe new layout is enabled by default, and can be temporarily disabled via Options → Appearance.",
- "new_layout_button": "More info",
"scripting_disabled_title": "Backend scripting has been disabled",
"scripting_disabled_message": "Backend scripting is now disabled by default for security. Your notes contain backend scripts (notes with a #run label) that will no longer execute automatically.\n\nIf you rely on these scripts, you can re-enable backend scripting in the security settings.",
"scripting_disabled_button": "Open security settings",
diff --git a/apps/client/src/widgets/dialogs/call_to_action_definitions.ts b/apps/client/src/widgets/dialogs/call_to_action_definitions.ts
index 43d64cd7ac..578aff14b5 100644
--- a/apps/client/src/widgets/dialogs/call_to_action_definitions.ts
+++ b/apps/client/src/widgets/dialogs/call_to_action_definitions.ts
@@ -42,19 +42,6 @@ export interface CallToAction {
}
const CALL_TO_ACTIONS: CallToAction[] = [
- {
- id: "new_layout",
- title: t("call_to_action.new_layout_title"),
- message: t("call_to_action.new_layout_message"),
- enabled: () => true,
- buttons: [
- {
-
- text: t("call_to_action.new_layout_button"),
- onClick: () => appContext.tabManager.openInNewTab("_help_IjZS7iK5EXtb", "_help", true)
- }
- ]
- },
{
id: "background_effects",
title: t("call_to_action.background_effects_title"),