feat: Implement connection errors handling during initializing #149

Merged
NaiJi merged 11 commits from endpoint-errors into master 2022-12-09 16:35:52 +02:00
Collaborator

When network errors happen, users will be notified.

When network errors happen, users will be notified.
NaiJi added the
Feature request
label 2022-12-01 18:30:34 +02:00
NaiJi self-assigned this 2022-12-01 18:30:34 +02:00
NaiJi added 9 commits 2022-12-01 18:30:35 +02:00
bd33b8d679 feat: Implement distinction for connection errors on initialing page
Now it's 'false' when api token is invalid and null response if couldn't connect at all, to show different kinds of errors to the user
1df5f6594d feat: Implement distinction for connection errors on server type page
Now user gets notified when connection error occurs
e62e8bf916 feat: Implement distinction for connection errors on dns provider page
Now user gets notified when connection error occurs
1dfd2180d2 feat: Implement distinction for connection errors on storage page
Now user gets notified when connection error occurs
65f5d987e2 feat: Implement error handling for server installation
Now user gets notified when connection error occurs
54d8b04439 fix: Fix backblaze token validation
True if correct, false if incorrect, null if no connection
899c84c54f chore: Rename Check step to Installation
It just feels more convenient tbh...
29b0bf2397 fix: Fix some initializing errors
Correct progress index calculation and hardcore cloudflare loading until new providers for DNS are supported
NaiJi requested review from inex 2022-12-01 18:30:44 +02:00
NaiJi added 1 commit 2022-12-02 20:40:27 +02:00
e0b32404be refactor: Implement better error handling on create server stage
Replace try-catch hell with APIGenericResult chain
NaiJi added 1 commit 2022-12-02 21:07:17 +02:00
inex approved these changes 2022-12-08 18:18:24 +02:00
NaiJi merged commit 51ca8bce27 into master 2022-12-09 16:35:52 +02:00
NaiJi deleted branch endpoint-errors 2022-12-09 16:35:52 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: SelfPrivacy/selfprivacy.org.app#149
There is no content yet.