Step 3 of #201, after #202 (listers) and #204 (accounts and the command line).
What
The desktop app's Add account wizard can add an account on a Gitea server.
Step 1 asks where the account lives: GitHub (default) or a Gitea server, with the server's address. The address is checked with the same rule as the command line (HTTPS only, no user name or password in it) and shown as it was normalized.
The token on step 2 is checked against the chosen place and nowhere else. A token that was typed for one place is not kept when the place is changed.
The default token is not offered for a Gitea server (it is a GitHub token).
An edit shows where the account lives and cannot change it.
Texts and links that name GitHub follow the account's forge (the connect card, the "How to create a token" link).
The offline UI fixture answers for a Gitea server as well, and the UI suite goes through the wizard with it.
README and ADR 0010.
Done when
A Gitea account can be added, loaded and synced from the app.
Tests pin: the token goes to the chosen place only; the choice is absent from an edit and from "Save as account" (a Quick Sync connection is a GitHub connection).
Gates pass, 100% line coverage.
Step 3 of #201, after #202 (listers) and #204 (accounts and the command line).
## What
The desktop app's Add account wizard can add an account on a Gitea server.
- Step 1 asks where the account lives: GitHub (default) or a Gitea server, with the server's address. The address is checked with the same rule as the command line (HTTPS only, no user name or password in it) and shown as it was normalized.
- The token on step 2 is checked against the chosen place and nowhere else. A token that was typed for one place is not kept when the place is changed.
- The default token is not offered for a Gitea server (it is a GitHub token).
- An edit shows where the account lives and cannot change it.
- Texts and links that name GitHub follow the account's forge (the connect card, the "How to create a token" link).
- The offline UI fixture answers for a Gitea server as well, and the UI suite goes through the wizard with it.
- README and ADR 0010.
## Done when
- A Gitea account can be added, loaded and synced from the app.
- Tests pin: the token goes to the chosen place only; the choice is absent from an edit and from "Save as account" (a Quick Sync connection is a GitHub connection).
- Gates pass, 100% line coverage.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Step 3 of #201, after #202 (listers) and #204 (accounts and the command line).
What
The desktop app's Add account wizard can add an account on a Gitea server.
Done when