Skip to content

Unable to remove a friend entry when the entered username fails to load #1

Description

@GitSetGoRishabh

In the Friend Comparison section, if I enter an incorrect/non-existent username, the profile fails to load and shows “Failed to load profile.”

The issue is that this invalid entry is still added to the comparison list, but unlike successfully loaded friends, it does not have a delete/remove option.

This leaves the invalid username stuck in the list with no way for the user to remove it.

Steps to reproduce
Open the extension and go to the Friend Comparison section.
Enter an incorrect or non-existent username.
Click the + button to add it.
The entry appears with “Failed to load profile.”
Notice that there is no delete/remove button for this entry.
Expected behavior

Invalid or failed profile entries should either:

Not be added to the comparison list at all, or
Have the same remove/delete option as other friends.
Actual behavior

The invalid username remains in the comparison list and cannot be removed from the UI.

Screenshot

Image The screenshot shows the invalid entry Arpan_kumar_4104 with “Failed to load profile”, while the valid entries below it have a delete icon.

This makes it impossible to clean up an accidentally entered username without potentially refreshing/reloading the extension.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions