Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

Save drafts of comments #376

Open
Open

Description

@ComFreek

Excerpt from my mail to support@github.com

I'd like to raise a feature request: save drafts of comments during the time they're written (as StackOverflow does with posts, BTW).

I have often encountered the unfortunate scenario that I accidentally closed my browser tab and thereby lost my comment! This is especially an annoying problem with very long comments which were time-consuming to write.

Saving the data into browser's localStorage would suffice in many, if not all, cases in my opinion.

Activity

  1. eddiemonge commented on Apr 23, 2015

    @eddiemonge

    You could always write them in a real text editor (preferably something with spell check) and then copy that in. I think adding this would add too much clutter as there would have to be some way to mange the drafts.

  2. ComFreek commented on Apr 24, 2015

    @ComFreek
    Author

    Well, StackOverflow doesn't provide a dashboard of all saved drafts either. It would be a nice small alternative to manually saving drafts into the clipboard buffer or writing them in an external editor, but definitely nothing of upmost importance.

  3. TPS commented on Mar 24, 2016

    @TPS
    Collaborator

    Even better, auto-save them as a draft on GitHub account — would've saved me countless retyping on random glitches!

  4. zaininfo commented on Jul 27, 2016

    @zaininfo

    I really like how this is handled in Differential (Phabricator) i.e. we can save comments as drafts, before actually publishing them.
    I guess, we could tweak that behavior a bit by having two buttons on a comment box, where one of them is to save the comment as a draft.
    A dedicated panel for seeing all the drafts would be nice, but one can always go to a PR and see all the saved drafts (since, a saved draft would only be useful in the context of a PR), which can then be published individually.

  5. TPS commented on Jul 27, 2016

    @TPS
    Collaborator

    @zaininfo Does Differential (Phabricator) auto-save, or only manual?

  6. zaininfo commented on Jul 28, 2016

    @zaininfo

    @TPS sorry, if I wasn't clear before, in Differential (Phabricator) we have to manually save the comments.
    Now that I think of it, maybe, it's much better to tweak this behavior and have auto-saving in GitHub.

  7. jvivs commented on May 23, 2017

    @jvivs

    👍 for saving drafts on the fly... just lost a huge comment on an RFC.

  8. Inlesco commented on Oct 7, 2017

    @Inlesco

    I don't really understand... Why is it so hard to implement comments saving in the browser's localStorage? It's a must-have feature for comfortable use of GitHub.

    Also, an ability to save any comment or mark it as a favorite, so you can view it in your profile under [FAVOTRITES] or [SAVED] tab (the feature being present in Reddit, SO, etc.) would be neat as well (unless it's already there and I've missed smth).

  9. alecbz commented on Oct 7, 2017

    @alecbz

    Pull request reviews already support explicitly saved comments, so it shouldn't be too hard to copy the basic UX there to comments in general. Implicit saving would be a big plus too though.

  10. speexy commented on Apr 11, 2018

    @speexy

    Just lost a comment by accidentally closing the wrong tab. I just lost an hour of my life. If only there were autosaves!

  11. Liooo commented on Apr 17, 2018

    @Liooo

    probably somebody can make a chrome plugin for this

  12. tranhungnghiep commented on May 1, 2018

    @tranhungnghiep

    At least it should warn user before closing the tab. Closing without warning is only reasonable when auto save is enable. What a weird UX.

  13. gioragutt commented on Aug 22, 2018

    @gioragutt

    This happens to me too many times, accidentally routing away when composing an issue.
    This is such a drag.

    I would expect it to just be saved when I go back...

  14. Liooo commented on Aug 23, 2018

    @Liooo
  15. gioragutt commented on Aug 23, 2018

    @gioragutt

    @Liooo what about writing issues and pull requests? This seems the plugin is only for comments

  16. Liooo commented on Aug 23, 2018

    @Liooo

    @gioragutt good point, and it works for them too.

  17. added
    automationReducing manual interactions and increasing productivity through automated processes
    on Feb 28, 2019
  18. musicin3d commented on Apr 2, 2020

    @musicin3d

    If I hit the Cancel button while editing a comment then I get an alert to confirm that I really want to do that. But if I'm writing a new comment and accidentally click any link anywhere then GitHub's just like, "whelp, sucks to suck, sucker." WHAT IS THIS?

  19. Fusseldieb commented on Dec 1, 2020

    @Fusseldieb

    Just lost a major comment due to an power outage.

    After 5 years it still isn't present. Nice one ✌️

  20. victormueller-da commented on Aug 23, 2021

    @victormueller-da

    If I hit the Cancel button while editing a comment then I get an alert to confirm that I really want to do that. But if I'm writing a new comment and accidentally click any link anywhere then GitHub's just like, "whelp, sucks to suck, sucker." WHAT IS THIS?

    Just happened to me too, well. This sucks 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    automationReducing manual interactions and increasing productivity through automated processescommentssaved / draft

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions