Skip to content

Misleading Default Placeholder (pdf) in "Extension Override Setting" Causes Configuration Errors #176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DehanLUO opened this issue May 15, 2025 · 0 comments

Comments

@DehanLUO
Copy link

DehanLUO commented May 15, 2025

Dear @trganda,

First and foremost, I would like to express my sincere appreciation for your work on this plugin. It has significantly improved my workflow in Obsidian by streamlining attachment management, saving me both time and effort.

I am writing to kindly request a small adjustment to the default placeholder text in the Extension Override Setting sub-panel.

Whenever I click on Add extension overrides, a placeholder suggesting pdf appears in the input field. While I now understand that the intention may be to guide users to enter a valid file extension to enable the feature correctly, the current placeholder may unintentionally mislead users, myself included, into thinking that pdf is either the default or preconfigured value.

This confusion persisted until I noticed that the feature was not functioning as expected. Upon further inspection of the .obsidian/plugins/attachment-management/data.json file, I discovered that the "extension" field remained empty in the relevant configuration entry. This clarified that I was in fact required to enter a specific file extension pdf manually.

A brief GIF here to illustrate the process and better contextualize the issue. In practice, I do configure pdf in more detail later on.
Image

To enhance clarity and prevent potential user misunderstanding, I suggest revising the placeholder text to something more descriptive, such as:

Please enter a file extension (e.g., pdf)

Thank you once again for developing and maintaining this excellent plugin. I truly appreciate your consideration.

Best regards,
Dehan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant