mirror of
https://github.com/devonthesofa/obsidian-note-status.git
synced 2026-07-22 05:45:04 +00:00
chore: clean unused settings
This commit is contained in:
parent
072fca5fee
commit
bc03f65dba
5 changed files with 2 additions and 19 deletions
|
|
@ -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."
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -314,8 +314,7 @@ export class StatusDashboardView extends ItemView {
|
|||
key === "customStatuses" ||
|
||||
key === "useMultipleStatuses" ||
|
||||
key === "strictStatuses" ||
|
||||
key === "excludeUnknownStatus" ||
|
||||
key === "compactView"
|
||||
key === "excludeUnknownStatus"
|
||||
) {
|
||||
handleVaultChange();
|
||||
handleFileChange();
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ Pagination: 50-100 items per page
|
|||
"showStatusIconsInExplorer": false,
|
||||
"excludeUnknownStatus": true,
|
||||
"hideUnknownStatusInExplorer": true,
|
||||
"compactView": true,
|
||||
"enabledTemplates": ["minimal"]
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue