Skip to content

[FEATURE REQUEST] Smoother incorporation of the {{FILE}} prompt into one-page input #1642

Description

@prayidae

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] in my Obsidian vault.

I have just updated to Obsidian 1.13 and Quickadd 2.20 TK CHECK THIS

I want to create a quickadd choice that creates a new file from a template, asks me for several pieces of information in a one-page input modal, and then incorporates the answers into the file.

Some of the QuickAdd prompts in my template use this format:

{{FILE:Path/to/Folder|link|multi}}

When I run the choice, a one-page input modal appears which asks me to answer all the prompts in my template which start with {{VALUE}}.

But the prompts which start with {{FILE}} don't show up in the one-page input. Instead, after I fill out and submit the one-page input, a separate modal pops up for each {{FILE}} prompt, serially, asking me to select files from the designated folder.

The selector UI is a list of all the files in the designated folder, each with an individual on-off toggle. The list is not searchable and is difficult to manage with a keyboard. This becomes cumbersome when some folders have dozens of files in them.

Describe the solution you'd like
A clear and concise description of what you want to happen.

  • I would like for the {{FILE}} prompt to open a filepicker that functions much like the Quick Switcher, where you can type in the name of a file and a dropdown list of matching files will be filtered as you type, and can be selected through the keyboard.

  • I would like this to be incorporated into the one-page input modal, rather than opening a separate modal after the one-page input is submitted.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered, including workarounds using other Obsidian plugins.

I currently use Modal Forms, with the Note or Multiselect field types, for most things where I need to choose a file from a particular folder. Modal Forms has other UI drawbacks, which is why I'm exploring QuickAdd as an alternative, but it is able to incorporate a filepicker as described above into a one-page modal.

Additional context
Add any other context or screenshots about the feature request here, such as example workflows or mockups.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions