Skip to content

Faster way to edit comments #1504

Closed
Closed

Description

@janpio

If you have to edit comments regularly, it would be nice if e.g. double clicking a comment text would be enough to trigger the actions that currently require clicking ... and then Edit.

Activity

  1. fregante commented on Sep 5, 2018

    @fregante
    Member

    I use double-clicking to select content, so perhaps this has to be limited to blank areas in the header.

    Also, you can edit your last comment by pressing up

  2. janpio commented on Sep 5, 2018

    @janpio
    ContributorAuthor

    Makes sense to only trigger the "Edit" when no text is being selected by this action. Could also be a double click on the command "header", next to "x hours ago".

    Also, you can edit your last comment by pressing [up]

    That's a nice feature that I will use in appropriate cases, but especially in long PRs where I have to update the description it will most probably not be my last comment etc - so I think this is still valid.

  3. vjpr commented on Oct 8, 2018

    @vjpr

    I think it would be enough to have a dedicated edit button. I think there used to be one...

  4. sindresorhus commented on Nov 7, 2018

    @sindresorhus
    Member

    I would rather add a shortcut, like option-clicking the comment.

    As a side-note, I actually think it's good that the edit button is less reachable. It forces me to write better comments on the first try, instead of always going back to edit typos afterwards.

  5. vjpr commented on Nov 7, 2018

    @vjpr

    It forces me to write better comments on the first try.

    I use it often for fixing typos, adding syntax highlighting, formatting code.

    By "better", you probably mean the content right?

  6. janpio commented on Nov 7, 2018

    @janpio
    ContributorAuthor

    Unfortunately I can't influence how random people don't format or misformat their code examples - and the edit button is the only way to make those readable. But I get your point.

    Shortcut sounds good!

  7. changed the title [-]Double click comments to edit them[/-] [+]Faster way to edit comments[/+] on Nov 7, 2018
  8. fregante commented on Mar 20, 2019

    @fregante
    Member

    I would rather add a shortcut, like option-clicking the comment.

    I think we should restore the edit button next to the Reaction button instead

  9. self-assigned this
    on Mar 23, 2019
  10. janpio commented on Mar 26, 2019

    @janpio
    ContributorAuthor

    Thanks @bfred-it, this is awesome! ❤️

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions