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

Show Markdown preview before submitting post or comment #67

Closed
cinnamon-bun opened this issue Jan 22, 2020 · 2 comments · Fixed by #462
Closed

Show Markdown preview before submitting post or comment #67

cinnamon-bun opened this issue Jan 22, 2020 · 2 comments · Fixed by #462
Labels
enhancement New feature or request patchwork parity Patchwork does this and we should too
Milestone

Comments

@cinnamon-bun
Copy link
Collaborator

What's the problem you want to solved?
I want to know my Markdown works before I post it. It's also nice to be prompted to re-read my message before posting it, for typos and to encourage reflection.

This also reduces the need for editable messages #64

Is there a solution you'd like to recommend?

  1. Change the "Submit" button to "Preview"
  2. Clicking Preview reloads the page, preserving the text in the input box, and adds a new preview box below it with rendered markdown and a Submit button. Users can keep writing/editing and hit Preview again, or can Submit.

Or we could go to a new screen showing just the editbox and preview, but I think users often refer back to the thread as they write.

I'd vote for making people Preview before they can Submit, because I think this extra moment of reflection reduces flamewars.

@cinnamon-bun cinnamon-bun added the enhancement New feature or request label Jan 22, 2020
@cinnamon-bun cinnamon-bun changed the title show Markdown preview before submitting post or comment Show Markdown preview before submitting post or comment Jan 22, 2020
@christianbundy christianbundy added the patchwork parity Patchwork does this and we should too label Feb 11, 2020
@christianbundy
Copy link
Member

I'm sure this isn't super hard but it will require a bit of work so I've been putting it off, but I want to express that it is important to me and I think this is a really great idea.

@skyebend
Copy link

Just wanted to vote for this. I think it is the last thing keeping me from switching from patchwork. Since there is no 'undo' in an immutable log, I really want to see what my markdown looks like before posting, so I usually browse in oasis, but switch back to patchwork for a more complex post.

Let me know if anything I can do to help (review, test)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request patchwork parity Patchwork does this and we should too
Development

Successfully merging a pull request may close this issue.

3 participants