Skip to content

Improve UX for Co-Authors: Prevent self-assignment and provide duplicate warning #21736

Open

Description

@hi2242

The problem

I noticed a couple of UX shortcomings regarding the Co-Authors input field. While I understand that raw Git CLI allows users to add themselves as co-authors and permits duplicate Co-authored-by lines, GitHub Desktop acts as a GUI layer that should ideally prevent these logical redundancies and provide clear feedback to the user.

Currently, there are two UX issues:

  1. Self-assignment is allowed: Users can add their own GitHub handle (e.g., @hi2242 if that is the logged-in user) as a co-author, which is logically redundant.

  2. Silent failure on duplicates: When a user tries to add a co-author that has already been added, the app simply ignores the input without providing any visual feedback or warning message.

Release version

Version 3.5.5

Operating system

Windows 11

Steps to reproduce the behavior

UX.non-sense.in.Co-Authors.mp4
  1. Go to any repository in GitHub Desktop.

  2. Click on the Co-Authors input field below the commit description.

  3. Type your own GitHub handle and press Enter.

  4. Observe that you are added as a co-author (which shouldn't be necessary).

  5. Type the exact same handle again and select it.

  6. Observe the silent failure: the duplicate is prevented (which is good), but no UI message is shown to inform the user why the action was ignored.

Log files

No response

Screenshots

No response

Additional context

Expected behavior

To enhance the user experience, I propose the following improvements:

  • For self-assignment: The UI should filter out the current user's handle from the suggestions, or show a brief tooltip preventing them from adding themselves.

  • For duplicates: Instead of silently ignoring the action, the UI should display a brief toast message or warning text (e.g., "This user is already added as a co-author") to provide clear feedback.

Contribution

I recently opened another UX-related issue regarding the commit message textarea scroll shadow (#21735 ).

I strongly believe these small details significantly improve the overall user experience. I would love to contribute by addressing both this Co-Authors UX issue and the scroll shadow bug.

Could you please assign this issue (along with the scroll shadow one) to me and add the help-wanted label? I will investigate the relevant components and submit a Pull Request.

Activity

  1. added
    bug
    priority-3
    and removed on Mar 13, 2026
  2. added a commit that references this issue on Mar 18, 2026
    b92c05b
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

    bugpriority-3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions