chore: clean unused settings

This commit is contained in:
Aleix Soler 2025-07-19 18:14:55 +02:00
parent 072fca5fee
commit bc03f65dba
5 changed files with 2 additions and 19 deletions

View file

@ -80,17 +80,6 @@ export const UISettings: React.FC<Props> = ({ settings, onChange }) => {
/>
</SettingItem>
<SettingItem
name="Default to compact view"
description="Start the status pane in compact view by default"
>
<input
type="checkbox"
checked={settings.compactView || false}
onChange={handleChange("compactView")}
/>
</SettingItem>
<SettingItem
name="Exclude unassigned notes from status pane"
description="Improves performance by excluding notes with no assigned status from the status pane. Recommended for large vaults."

View file

@ -73,9 +73,7 @@ export const DEFAULT_PLUGIN_SETTINGS: PluginSettings = {
autoHideStatusBar: false,
customStatuses: [],
showStatusIconsInExplorer: true,
hideUnknownStatusInExplorer: true, // Default to show unknown status
collapsedStatuses: {},
compactView: false,
hideUnknownStatusInExplorer: true, // Default to hide unknown status
enabledTemplates: [PREDEFINED_TEMPLATES[0].id],
useCustomStatusesOnly: false,
useMultipleStatuses: true,

View file

@ -314,8 +314,7 @@ export class StatusDashboardView extends ItemView {
key === "customStatuses" ||
key === "useMultipleStatuses" ||
key === "strictStatuses" ||
key === "excludeUnknownStatus" ||
key === "compactView"
key === "excludeUnknownStatus"
) {
handleVaultChange();
handleFileChange();

View file

@ -18,8 +18,6 @@ export type PluginSettings = {
customStatuses: NoteStatus[];
showStatusIconsInExplorer: boolean;
hideUnknownStatusInExplorer: boolean;
collapsedStatuses: Record<string, boolean>;
compactView: boolean;
enabledTemplates: string[]; // IDs of enabled templates
useCustomStatusesOnly: boolean; // Whether to use only custom statuses or include templates
useMultipleStatuses: boolean; // Whether to allow multiple statuses per note

View file

@ -26,7 +26,6 @@ Pagination: 50-100 items per page
"showStatusIconsInExplorer": false,
"excludeUnknownStatus": true,
"hideUnknownStatusInExplorer": true,
"compactView": true,
"enabledTemplates": ["minimal"]
}
```