Skip to content

clean-conversation-headers displays incorrectly #5321

Closed

Description

@ewjoachim

Please ensure:

  • The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.
  • The bug happens after clearing extension cache. The "Clear cache" button can be found at the bottom of the options page.

Example URLs

https://github.com/peopledoc/septentrion/pull/136/files/346da19f7cd57956281751f33665c52d128de588

Extension version

22.1.18

Browser(s) used

Firefox

Description

Steps:

  • From the notifications page, click on a notification on a PR when the PR has been updated since the notification, leading you to a "We went looking everywhere, but couldn’t find those commits."
  • From there, click on the Conversation PR tab
  • The conversation header appears incorrectly

I have tried with and without a token configured.

Error in the console:

TypeError: select_dom(...) is undefined @ update-pr-from-base-branch.tsx:18:8
  function getBranches(): {base: string; head: string} {
	  return {
>   	  base: select('.base-ref')!.textContent!.trim(),
		  head: select('.head-ref')!.textContent!.trim(),
	  };
  }

Note: video also shows that even reloading the page doesn't fully fix the issue, the PR author still doesn't appear (though at the time of the video, I had not configured my token yet so maybe that part was just my token being over-used)

bug.mp4

Screenshot from 2022-01-19 12-37-03

Include in this issue:

  • Screenshots/video/gif demonstrating the bug, if it’s visual
  • Console errors, if any

Activity

  1. changed the title [-]clean-conversation-headers displays incorrectly[/-] [+]`clean-conversation-headers` displays incorrectly[/+] on Jan 19, 2022
  2. yakov116 commented on Jan 19, 2022

    @yakov116
    Member
  3. deleted a comment from on Mar 4, 2022
  4. ewjoachim commented on Apr 9, 2022

    @ewjoachim
    Author

    As far as I can tell, I don't see the bug anymore. Maybe it was fixed by another change. I'll close the issue and if I (or some else) see it again, let's reopen it :)

  5. fregante commented on Apr 10, 2022

    @fregante
    Member

    Thank you for reporting

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