Skip to content

[task] Add desktop app-server loading and error states #23

Open

Description

@phongndo

Goal

Make desktop app-server startup, loading, and error states clear and actionable.

Why this matters

The desktop app depends on the Rust app-server. Users need to know whether Nexgit is loading, missing auth, outside a repo, blocked by app-server startup, or failing due to GitHub/API errors.

Command/API target

Improve renderer state handling around typed preload/app-server requests.

Depends on

Out of scope

  • Do not add new GitHub data methods.
  • Do not run GitHub calls from renderer code.
  • Do not redesign the full app shell.

Definition of done

  • Desktop distinguishes app-server starting, app-server failed, GitHub no-auth, no-repo, empty data, and normal loaded states.
  • Errors are readable and do not collapse the whole screen into raw stack traces.
  • Retry or refresh behavior is either implemented or clearly deferred.

Verification

  • pnpm desktop:typecheck
  • pnpm desktop:build
  • Run pnpm desktop:dev with normal and forced app-server failure conditions; include screenshots or observations.

Activity

  1. added
    help wantedMaintainers would welcome a community contribution on this work.
    area: desktopElectron, React, TypeScript, and desktop UX.
    kind: featureA user-facing capability request.
    on Apr 29, 2026
  2. github-actions commented on Apr 29, 2026

    @github-actions

    This issue needs a small update before triage:

    • Area must be one of Automation, CLI, Core, Desktop, Design, Docs, Protocol, Tests, or TUI so triage automation can route the issue.

    Please edit the issue instead of opening a new one.


    Potentially related existing work:

    If one of these is the canonical thread, comment there and a maintainer can close this issue with /duplicate #123; otherwise a maintainer can clear the review with /not-duplicate.

  3. added
    needs: complianceThe author or reporter needs to fix template or policy gaps.
    needs: duplicate-reviewAutomation found similar existing work that needs maintainer review.
    and removed
    area: desktopElectron, React, TypeScript, and desktop UX.
    on Apr 29, 2026
  4. added
    area: desktopElectron, React, TypeScript, and desktop UX.
    and removed
    needs: complianceThe author or reporter needs to fix template or policy gaps.
    needs: duplicate-reviewAutomation found similar existing work that needs maintainer review.
    on Apr 29, 2026
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

    area: desktopElectron, React, TypeScript, and desktop UX.help wantedMaintainers would welcome a community contribution on this work.kind: featureA user-facing capability request.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions