Skip to content

show-names - do not add name if already added by GitHub #7232

Closed

Description

@yrtimiD

Description

GitHub enterprise now shows name near login in some very rare places like PR's first comment.
See Managing the display of member names in your organization

Unfortunately, with show-names feature enabled we get a duplicate name shown:
image
(only main PR comment, rest comments are fine)

Without extension this looks next:
image

How to replicate the issue + URL

#6794
(doesn't happens here, enterprise repo might be required)

Extension version

24.1.10

Browser(s) used

Chrome 120.0.6099.224

Activity

  1. yrtimiD commented on Jan 25, 2024

    @yrtimiD
    Author

    Example block with full name:

    <strong>
      <a class="author Link--primary text-bold css-overflow-wrap-anywhere " show_full_name="true" data-hovercard-type="user" data-hovercard-url="/users/REDACTED_LOGIN/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/REDACTED_LOGIN">REDACTED_LOGIN</a>
      <span class="css-truncate expandable">
        <span class="css-truncate-target text-normal ml-1" style="max-width:175px;">(REDACTED NAME)</span>
      </span>
    </strong>

    And without full name:

    <strong>
      <a class="author Link--primary text-bold css-overflow-wrap-anywhere " show_full_name="false" data-hovercard-type="user" data-hovercard-url="/users/REDACTED_LOGIN/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/REDACTED_LOGIN">REDACTED_LOGIN</a>
    </strong>
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions