famanson / spring-roll-demo

Demo site for Project Spring Roll
1 stars 0 forks source link

Subtle compose #5

Closed famanson closed 10 years ago

famanson commented 10 years ago

Improvement for Compose box using completely different approach for inputs and textareas

macduy commented 10 years ago

Sean, this is really good, much better! Going forwards, I would like to do this:

Right now the red tooltip saying "0/X chars needed" shows up pretty much straight away when the user clicks on any of the fields. I think this is still too harsh. We should have severity level of errors:

I noticed that Angular marks certain fields ng-dirty when the user has typed in them, so that should help with handling the "dirty" bit.

famanson commented 10 years ago

@macduy heh, the dirty part sounds pretty good, I'll take a look tonight

famanson commented 10 years ago

Errors shown only after the field is "dirty" and are unfocused (e.g. too short)

Are you sure about the unfocused part? If I was told it is too short in the first place, I'd like to see my fix progress on the go. Maybe it should not show the field is too short immediately in first click, but I would rather keep the current behaviour but only allow "too short" to show when it has been dirtied (does that make sense?)

macduy commented 10 years ago

Hmm you are right, we'll need to think about it a bit more. I guess we'd need something like focus-dirty along side dirty to denote whether the user has at least once focused the field.