Echo JS 0.11.0

<~>
olalonde 4185 days ago.
There doesn't seem to be any UI feedback when you up vote or have up voted a story. It would be nice if the up arrow would disappear when you have up voted a story. Is this something that is configurable or should I make a pull request to the lamernews project?

fcambus 4184 days ago. link 3 points
There is actually visual feedback after upvoting already :

When a story is upvoted, only the 'up' arrow will remain displayed, and the 'down' arrow will be hidden. When a story is downvoted, it's the other way around.

There has been a pull request on this topic : https://github.com/antirez/lamernews/pull/121

So maybe the issue should be reopened, if more people think it's a good idea?
olalonde 4184 days ago. link 4 points
Wow, I just noticed that the down arrow disappears. I'm sure I'm not the only one. Wouldn't it be better to hide both arrows then or make the arrow green like in the comments? It would allow to scan vertically which stories you have up voted. As it stands right now you have to zig zag with your eyes.
fcambus 4184 days ago. link 2 points
Made some modifications to grey out the arrow, like in the comments, and harmonized the colors as well. It should now be consistent :)

See my comment below for more details.
arnorhs 4184 days ago. link 3 points
Yeah, the problem with that is that most people don't have a down arrow, so it looks like nothing happened.
fcambus 4184 days ago. link 2 points
I modified the CSS on Echo JS to test the feature.

Feedback appreciated :)
arnorhs 4184 days ago. link 3 points
Cool, feels at least a tiny better. Though a greyed out arrow or something might make sense. I like reddit's up/down arrows, i've you've seen those. has a selected state. makes it pretty clear.
fcambus 4184 days ago. link 4 points
Agreed, looks much better with a greyed out arrow. Making arrows disappear didn't work out visually on permalink pages.

So we now have all arrows in red (both for news and comments) and after upvoting or downvoting, only the corresponding arrow remains displayed in gray.

That should do it I think?
fallanic 4184 days ago. link 2 points
I think that's perfect now :)

Good Job fcambus!