Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Vanilla 2 - Comment box layout suggestion
Stash
✭
Duped from Vanilla2.com where I mistakenly posted it first :P
Vanilla 2's comment box currently looks like this
I keep finding myself hunting for the "post" button, so I had a little play in PS and came up with a suggestion...
Just a thought As a fringe benefit it take up less space
1. Preview is always in the same place now, as it currently moves depending on whether you're writing a new comment/discussion or if you're editing an existing one.
2. Back to Discussions is very unlikely to be pressed by accident instead of "post comment", or any other button now.
3.Cancel appears in a slightly more obvious place. You could almost replace it with an "X/red blob"...
P.S. we really can't use OL and LI tags?! Need that list of allowable HTML tags ASAP!
Vanilla 2's comment box currently looks like this
I keep finding myself hunting for the "post" button, so I had a little play in PS and came up with a suggestion...
Just a thought As a fringe benefit it take up less space
1. Preview is always in the same place now, as it currently moves depending on whether you're writing a new comment/discussion or if you're editing an existing one.
2. Back to Discussions is very unlikely to be pressed by accident instead of "post comment", or any other button now.
3.Cancel appears in a slightly more obvious place. You could almost replace it with an "X/red blob"...
P.S. we really can't use OL and LI tags?! Need that list of allowable HTML tags ASAP!
0
Comments
That's just what I don't like about the new version. Bunch too many buttons that look similar (style, colour) together and you end up having to actually read what the buttons say instead of just knowing what they are. Especially when buttons get added and removed from that block depending where you are on the site/what you are doing. Also, how is it any further to hit post whether it's on the left or the right? Not sure you what you mean there...
sirlancelot's comment about "Apply/OK" and OS semantics was exactly what I was trying to say but failed, thank you sir!
I think if you want to make the "Cancel" link work as a "Back to discussions" link, then I think it should say "Cancel and back to discussions" like it does in Vanilla 1 in the admin section. Just saying "Cancel" could be misinterpreted. If it's clear then I think it's a great idea.
Tom's suggestion about Backspace triggering a draft save is a brilliant - I think it's a fantastic idea. Vanilla 2 already regularly saves drafts while you're typing, but I love the idea of it triggering a save when you hit Backspace BEFORE it takes you back in your browser's history. Perhaps it would also require a notice somewhere indicating that this has happened as well though?
"A draft of the comment you were typing has been automatically saved | delete draft"
just in case you didn't want a draft to be saved - like gmail.And if you ever see anybody clicking 'Apply' before they click 'OK', they really don't understand how the dialog really works (pet peeve of mine).
I'd just remove 'Back to Discussions' all together... I always scroll up and click the Discussions tab anyway. But the preview window does need a post button on it.
If the decision was taken to keep the post button on the left, I'd support moving the other buttons over to the right, mainly because I think it would be a good thing to separate the "Post comment" button from the others. I think it's more important and should be given a bit more emphasis and would prevent any "Oh bugger I wanted to save a draft not post!" issues!
I definitely agree that the preview should have an "I'm happy with this, post it" option in it - perhaps it should also have an "I'm not happy yet, take me back for some more editing." as well? Perhaps a red/green, cross/tick style could be used here to help people see at a glance as well? I'm sure something tasteful can be created
I moved the "Back to Discussions" link back to the bottom because guests or other people who aren't allowed to post won't have the comment box, so it makes things easier to be in a separate area for them.
Also changed "Cancel" to be a bit less plain, taking a similar style to Vanilla1's "big input" box.
And lastly, I've added the "Top of Page" link which I noticed was missing.
My opinion is that I don't like the split buttons, I prefer how it is right now.
http://www.codinghorror.com/blog/2010/03/the-opposite-of-fitts-law.html
I'm not the only one who thinks this...
I second @matt
I dont prefer the buttons to be split, I dont like the cancel link//button it sounds unappealing. What does cancel do beside erase? I do like the "back to discussions" is moved and less likely to be accidentally hit.
Mostly I still just really hate having "post", right next to "save". Like the link I posted says, you don't want to hit the ejector seat too easily!
Post Preview Save
The other question is: do we need the cancel button at all? Would be nice to remove it and the associated js, I think...
Also, my points wasn't so much about the positioning of "Save Draft", I know that doesn't make you leave the page, but "Post Comment" kinda does. At least it makes the page a new page, with new content. What if all I really wanted to do was preview how the comment would look?
That's why I separated out the "Post Comment" away from the "Save Draft" and "Preview" buttons. It doesn't *really* matter whether you hit preview or save draft, neither of them "change anything". They are both "undoable". "Post Comment", on the other hand, is not "undoable". Sure, you can edit it to be blank, but that's about it, and that looks kinda silly.
Another option on the "Back to Discussions" link would be to ask you "are you sure" but only if you have changed the content in the comment box (this would work for edits as well).
@Mark
have you made any lead way on the list of missing features that are commonly requested. Im wondering about inserting media and if this would be in core.