Skip to content

Handle invalid GitHub usernames with user-friendly error UI #44

@paanipoorie

Description

@paanipoorie

Description

Invalid GitHub usernames currently display a raw API/GraphQL error:
"Could not resolve to a User with the login..."

This is not user-friendly and exposes internal messages.

Steps to Reproduce

  1. Enter an invalid username (e.g. "ni")
  2. Observe error message

Current Behavior

  • Raw GraphQL error is shown in UI

Expected Behavior

  • Display a user-friendly message:
    "User not found. Please check the username."

Acceptance Criteria

  • No raw API/GraphQL errors shown to users
  • Friendly error message displayed
  • Error UI follows existing design styling
  • User can retry without refreshing

Scope

  • Frontend-only change
  • Do not modify API logic

Screenshots

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions