Skip to content

Comment edit icon hides in the dots menu after you react to a comment #2572

Closed

Description

@tunnckoCore
  1. yes, it's Refined GitHub
  2. Happens in all repos
  3. screenshots below

before

image

after

image

Activity

  1. fregante commented on Nov 27, 2019

    @fregante
    Member

    Other features also affected by this:

  2. yakov116 commented on Apr 6, 2020

    @yakov116
    Member

    @fregante

    https://github.com/sindresorhus/refined-github/blob/073b65379a8e5f6a6cb1597b2339416d30a25686/source/libs/on-new-comments.ts#L44

    Adding subtree: true will work it would also fix #2852

    Is this a good idea or allowing it to run on subtree is too much?

    To give you an example, clicking the add reaction button will fire edit-comments-faster 8 times

  3. fregante commented on Apr 7, 2020

    @fregante
    Member

    subtree isn't allowed, our events needs to be specific, I don't want to listen to every change on the page.

  4. yakov116 commented on Apr 7, 2020

    @yakov116
    Member

    Any other idea's?

  5. fregante commented on Apr 7, 2020

    @fregante
    Member

    https://github.com/sindresorhus/refined-github/blob/073b65379a8e5f6a6cb1597b2339416d30a25686/source/libs/on-updatable-content-update.ts is my last attempt at handling ajaxed contentainers, but I'm not sure if would work in this case.

    Ideas come from looking for events in GitHub's code. Sometimes we use those events to start observing new elements.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions