Skip to content

feat: add whitelist directories for auto-upload #23

Description

@ClaudiaFang

Background

Currently the plugin appears to auto-upload every image regardless of which folder it's saved in. Users may want images outside specific note/attachment folders to be left alone (not uploaded to the bucket).

Goal

Add a whitelist setting where the user can specify one or more directories (paths within the vault). Only images saved/referenced under those whitelisted directories should trigger the automatic upload flow; images elsewhere in the vault should be skipped.

Open Questions

  • Should the whitelist support glob patterns / subfolder matching, or only exact top-level folder names?
  • Default behavior when the whitelist is empty — upload everything (current behavior) or upload nothing until configured?
  • Should this be configurable per-vault or is a single global setting sufficient?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions