danielo515 / obsidian-modal-form

Define forms for filling data that you will be able to open from anywhere you can run JS
https://danielorodriguez.com/obsidian-modal-form/
MIT License
203 stars 17 forks source link

[Feature request] wizard (GUI) to create template for form #142

Open danielo515 opened 9 months ago

danielo515 commented 9 months ago

Is your feature request related to a problem? Please describe.

Remembering all the options to open a modal is not always easy. The api surface is growing and the naming for advanced features that you don't use often may be hard to remember (omit fields, default values, etc).

Describe the solution you'd like

Having a little wizard that allows you to easily insert a call to a form will be awesome. Even if it does not have any options and just creates it with qll the options by default (initial version)

Additional context

the1gofer commented 9 months ago

isn't that pretty much what "manage forms" sidebar does?

danielo515 commented 9 months ago

No. This is to get the code needed to paste into a templater template in an easy way, and with all the options applied. It's a quality of life little improvement

El dom, 17 dic 2023, 18:50, the1gofer @.***> escribió:

isn't that pretty much what "manage forms" sidebar does?

— Reply to this email directly, view it on GitHub https://github.com/danielo515/obsidian-modal-form/issues/142#issuecomment-1859235204, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARKJWIAUIKTIFDTDDMUFPTYJ4WFNAVCNFSM6AAAAABAE4JSKGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZGIZTKMRQGQ . You are receiving this because you were assigned.Message ID: @.***>

danielo515 commented 3 months ago

The idea is to present a GUI, then you fine tune your desired output and click generate to either copy the code to the clipboard or to a new file

The UI should have a way to fine tune each field. Ideally:

  1. A way to decide if the field should be included or ommited
  2. A way to provide default values for the field
  3. A way to decide if the field should go in the front matter or in the body of the note