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.
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
Definition of done
Verification
pnpm desktop:typecheckpnpm desktop:buildpnpm desktop:devwith normal and forced app-server failure conditions; include screenshots or observations.