Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post preview #8

Open
RogerDodger opened this issue Nov 7, 2016 · 0 comments
Open

Post preview #8

RogerDodger opened this issue Nov 7, 2016 · 0 comments

Comments

@RogerDodger
Copy link
Owner

For JS enabled users, beside the "Post comment" button should be a "Preview" button.

When clicked, the "Preview" button should be replaced with a "Please wait..." button and the textarea should be dimmed. The post's body is sent as an AJAX request to the server which returns the post render. Once received, the post render replaces the textarea, and the "Please wait..." button is replaced with an "Edit comment" button. The post render should behave exactly like an ordinary post in the thread (that is, hovering >>RogerDodger quotes should work as expected). The "Edit comment" button when clicked removes the render and returns the textarea. At all times the "Post comment" button should behave as normal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant