quickadd icon indicating copy to clipboard operation
quickadd copied to clipboard

Auto-detect template variables and show all in single modal

Open chhoumann opened this issue 6 months ago • 0 comments

Summary

Automatically detect all variables in a template ({{VALUE:name}}, {{VDATE:date}}, etc.) and present them in a single input form instead of sequential prompts.

Current Behavior

  • Variables are prompted one by one in sequence
  • Users must wait for each prompt to complete before seeing the next
  • No overview of all required inputs upfront

Proposed Solution

Add option to scan template for all variable placeholders and show them in a single modal with:

  • All detected variables listed in one form
  • Appropriate input types (text, date picker, dropdown, etc.)
  • Validation before proceeding
  • Preview of final output

Benefits

  • Better user experience - see all required inputs at once
  • Faster workflow - fill everything in one step
  • Easier to review and modify inputs before submission
  • Reduced context switching between prompts

Implementation Ideas

  • Scan template for {{VALUE:name}}, {{VDATE:name}}, etc.
  • Generate form fields based on variable types
  • Support existing variable formats and behaviors
  • Optional setting - keep sequential prompts as default

Related

Similar to how form builders work - collect all fields first, then process.

chhoumann avatar May 29 '25 14:05 chhoumann