2025-07-20 07:39:50 +00:00
|
|
|
import { PluginSettings } from "types/pluginSettings";
|
2025-08-06 15:38:13 +00:00
|
|
|
import {
|
|
|
|
|
DEFAULT_ENABLED_TEMPLATES,
|
|
|
|
|
PREDEFINED_TEMPLATES,
|
|
|
|
|
} from "./predefinedTemplates";
|
2025-04-14 13:03:01 +00:00
|
|
|
|
2025-07-15 15:30:17 +00:00
|
|
|
export const DEFAULT_PLUGIN_SETTINGS: PluginSettings = {
|
2025-07-19 11:14:54 +00:00
|
|
|
fileExplorerIconPosition: "absolute-right",
|
2025-11-17 18:39:02 +00:00
|
|
|
fileExplorerIconFrame: "never",
|
2025-11-17 18:41:48 +00:00
|
|
|
fileExplorerIconColorMode: "status",
|
2025-07-15 15:30:17 +00:00
|
|
|
statusColors: {
|
|
|
|
|
active: "var(--text-success)",
|
|
|
|
|
onHold: "var(--text-warning)",
|
|
|
|
|
completed: "var(--text-accent)",
|
|
|
|
|
dropped: "var(--text-error)",
|
|
|
|
|
unknown: "var(--text-muted)",
|
|
|
|
|
},
|
|
|
|
|
showStatusBar: true,
|
|
|
|
|
autoHideStatusBar: false,
|
2025-11-17 17:01:05 +00:00
|
|
|
enableStatusOverviewPopup: true,
|
2025-08-06 15:38:13 +00:00
|
|
|
templates: [...PREDEFINED_TEMPLATES],
|
2025-07-15 15:30:17 +00:00
|
|
|
customStatuses: [],
|
|
|
|
|
showStatusIconsInExplorer: true,
|
2025-07-19 16:14:55 +00:00
|
|
|
hideUnknownStatusInExplorer: true, // Default to hide unknown status
|
2025-11-21 13:38:17 +00:00
|
|
|
fileExplorerColorFileName: false,
|
2025-11-21 13:57:38 +00:00
|
|
|
fileExplorerColorBlock: false,
|
2025-11-21 14:31:01 +00:00
|
|
|
fileExplorerLeftBorder: false,
|
|
|
|
|
fileExplorerStatusDot: false,
|
|
|
|
|
fileExplorerUnderlineFileName: false,
|
2025-11-21 14:46:13 +00:00
|
|
|
enableExperimentalFeatures: true,
|
|
|
|
|
enableStatusDashboard: true,
|
|
|
|
|
enableGroupedStatusView: true,
|
2025-07-20 07:39:50 +00:00
|
|
|
enabledTemplates: DEFAULT_ENABLED_TEMPLATES,
|
2025-07-15 15:30:17 +00:00
|
|
|
useCustomStatusesOnly: false,
|
|
|
|
|
useMultipleStatuses: true,
|
2025-11-18 17:48:58 +00:00
|
|
|
singleStatusStorageMode: "list",
|
2025-08-06 17:36:36 +00:00
|
|
|
statusBarShowTemplateName: "auto", // Default to show template names only when needed
|
2025-07-15 15:30:17 +00:00
|
|
|
tagPrefix: "obsidian-note-status",
|
|
|
|
|
strictStatuses: false, // Default to show all statuses from frontmatter
|
|
|
|
|
quickStatusCommands: ["active", "completed"], // Add default quick commands
|
2025-07-20 18:02:43 +00:00
|
|
|
// Unknown status customization
|
|
|
|
|
unknownStatusIcon: "❓",
|
2025-11-21 08:30:10 +00:00
|
|
|
unknownStatusLucideIcon: "",
|
2025-07-20 18:02:43 +00:00
|
|
|
unknownStatusColor: "#8b949e",
|
|
|
|
|
statusBarNoStatusText: "No status",
|
|
|
|
|
statusBarShowNoStatusIcon: false,
|
|
|
|
|
statusBarShowNoStatusText: true,
|
2025-11-22 10:23:07 +00:00
|
|
|
statusBarBadgeStyle: "accent",
|
2025-11-22 10:32:02 +00:00
|
|
|
statusBarBadgeContentMode: "icon-text",
|
2025-07-21 19:11:10 +00:00
|
|
|
vaultSizeLimit: 15000, // Disable dashboard and grouped view for vaults with more notes than this limit
|
2025-08-07 17:41:11 +00:00
|
|
|
// Editor toolbar button settings
|
|
|
|
|
showEditorToolbarButton: true, // Default to show the toolbar button
|
|
|
|
|
editorToolbarButtonPosition: "right", // Default position on the right
|
2025-08-07 18:59:49 +00:00
|
|
|
editorToolbarButtonDisplay: "all-notes", // Default to show button in all notes
|
2025-11-18 17:18:43 +00:00
|
|
|
applyStatusRecursivelyToSubfolders: false,
|
2025-11-21 16:10:10 +00:00
|
|
|
statusFrontmatterMappings: [],
|
2025-11-21 17:54:03 +00:00
|
|
|
writeMappedTagsToDefault: false,
|
2026-03-18 10:32:38 +00:00
|
|
|
enableExternalStatusSync: false,
|
|
|
|
|
externalStatusSyncPath: "_note-status-sync.json",
|
2026-03-18 11:35:49 +00:00
|
|
|
syncGroups: [
|
|
|
|
|
"templates",
|
|
|
|
|
"customStatuses",
|
|
|
|
|
"statusColors",
|
|
|
|
|
"uiAppearance",
|
|
|
|
|
"workflow",
|
|
|
|
|
"storage",
|
|
|
|
|
"features",
|
|
|
|
|
],
|
|
|
|
|
enableNonMarkdownSync: false,
|
|
|
|
|
nonMarkdownSyncPath: "_note-status-data.json",
|
2026-03-18 18:38:17 +00:00
|
|
|
defaultStatusForNewNotes: null,
|
2025-07-15 15:30:17 +00:00
|
|
|
};
|