Skip to content

[FR]: opt-in action to refresh default view .base files to current version #1989

@businessBoris

Description

@businessBoris

Feature Description

Use case

I run the stock default views and never edit the generated .base files in TaskNotes/Views/. When a release ships improved default view definitions, my on-disk copies stay on the old version, because existing files aren't overwritten. The documented way to pick up the new defaults is to delete the files and restart (or use "Create default files"), which I have to repeat by hand after every release I want to track.

Proposed solution

Add an explicit, opt-in action — e.g. "Refresh default views to current version" — that overwrites the stock default .base files with the current version's definitions. Keep the existing no-overwrite behaviour as the default, so anyone who has customized their views is never clobbered. This would be a deliberate, confirm-dialog action aimed at users who run vanilla defaults.

Bonus

If that action were also exposed as a command-palette command (and/or via the HTTP API), it could be triggered by hotkey or the Obsidian CLI, which fits the existing TUI/API automation surface. In effect it automates the "regenerate default files and diff" workflow the docs already recommend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status
    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions