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.
Preview Post preview position
pbear
New
When I add comments to a discussion, the preview appears above the add comments editing fields. When I start a new discussion, it appears below. Is there a reason new discussion previews appear after and not before? Before the editing area seems a better place to me.
Also, when previewing a comment or new discussion, the view doesn't scroll (either up or down) to the beginning of where it is being previewed so I can see what I've just written. Especially for a new discussion, sometimes I sit there "waiting" until I realize I have to scroll down to it. Then after reading I have to scoll back up to edit changes.
So I guess I'm asking if default behavior should be always to place the preview above the edit area, with autoscroll to the beginning of the preview (if it's not in the browser view already). That way one always scrolls down in the process of making a new discussion/comment.
Also, when previewing a comment or new discussion, the view doesn't scroll (either up or down) to the beginning of where it is being previewed so I can see what I've just written. Especially for a new discussion, sometimes I sit there "waiting" until I realize I have to scroll down to it. Then after reading I have to scoll back up to edit changes.
So I guess I'm asking if default behavior should be always to place the preview above the edit area, with autoscroll to the beginning of the preview (if it's not in the browser view already). That way one always scrolls down in the process of making a new discussion/comment.
0
This discussion has been closed.
Comments
Fatal error: Call to a member function on a non-object in ../extensions/DiscussionTags/default.php on line 67
if(!isset($Head) || !isset($Panel)) return;
Fatal error: Call to a member function on a non-object in ../extensions/Attachments/default.php on line 644
And the preview image seems to be x-repeated, by the way.
if (in_array($Context->SelfUrl, array('comments.php', 'post.php')) && isset($Head) ) {
not too sure about the background image though, it dosn't seem to be repeated for me in ie7, ff2 or o9. it really only has a background image because some people were worried that users wouldn't realize that was a preview; removing it probably wouldn't be a big deal.Fatal error: Call to a member function on a non-object in ../extensions/BBInsertBar/default.php on line 154
but yeah, just add something like if(!isset($Head)) return; to the beginning of the extension. generally speaking, you can do that for any other extensions that give you trouble, but you want to be more careful with those that involve ajax as the default.php file may be used during an ajax query as well.
Shouldn't we make a list of extensions that don't check for the available variables? Sounds like quite a bit of mass updating will be required here. And since people seem to be thinking about add-on validation/guidelines stuff at the moment, it may be the right time to see what we can do about it.