sacode387 / FlowRun

Runnable flowcharts for the web
https://flowrun.io/
Apache License 2.0
46 stars 9 forks source link

Input: make prompts optional #23

Open fpesari opened 2 weeks ago

fpesari commented 2 weeks ago

Hello,

I have noticed that every input has a mandatory prompt:

image

But, for educational purposes, I prefer that the two operations (output and input) are separated, so I would like to have at the very least an option in the settings or a checkbox next to the prompt to hide it, so that the user input is gathered without showing any string.

As a workaround, I've tried putting both a whitespace and NBSP but it does not work, so I guess some string trimming is involved. U+2000 (" ") does work but it's not practical for my students who don't have a strong grasp of Unicode, and anyway I think this is more of a conceptual issue (it should be possible to have inputs without outputs) than simple not wanting any message, so the feature should be useful in general.

Thank you for listening, have a nice day.

sake92 commented 2 weeks ago

Makes sense, I will implement that.
Agree it is better to make it obvious.
Or at least it should be a toggle in settings.