onejgordon / flow-dashboard

[UNMAINTAINED] A goal, task & habit tracker + personal dashboard to focus on what matters
http://flowdash.co
MIT License
1.67k stars 186 forks source link

Journal questions of type number show a slider #89

Closed xverges closed 7 years ago

onejgordon commented 7 years ago

True, this was a lazy design shortcut -- @xverges, preferable would be, open-ended numeric input?

xverges commented 7 years ago

open-ended numeric input?

I think that it would cover the more general case, wouldn't it?

In my particular case I want to rate myself in a 1 to 4 scale in several dimensions and the current 1 to 10 slider causes unnecessary struggle for me about it being a 6 or an 8 :-) Thus, an entry field (or a set of labels?) would save me time and (small) worries

onejgordon commented 7 years ago

Great, I've done this as a new response type: "Number (Free Input Box)" to keep things backwards compatible for those using the previous 'number' type but preferring the slider.

Thanks for sharing that daily questions article as well, @xverges

xverges commented 7 years ago

UI worked like a charm when writing the journal.

However, on the Journal history, I get N/As after https://flowdash.co/api/journal?before_date=2017-09-20&days=10 returns what looks like proper JSON

This is what I see when I use inspect element

<label>Did I do my best to be happy (1-4)?</label>
<!-- react-text: 7599 -->
N/A
<!-- /react-text -->
onejgordon commented 7 years ago

Good catch (journal rendering UI oversight). A fix should now be live.

xverges commented 7 years ago

Awesome! Thanks!