-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: handle connection requests errors (WPB-4418) #15783
Conversation
"modalUserCannotBeAddedHeadline": "Guests cannot be added", | ||
"modalUserCannotConnectLegalHoldHeadline": "Cannot connect to this user", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The localization team requested to change this title for the no-longer-federating case.
We are using the new copy "Connecting not possible" as a title for every case
default: { | ||
PrimaryModal.show(PrimaryModal.type.ACKNOWLEDGE, { | ||
text: { | ||
title: t('modalUserCannotConnectHeadline'), | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this shows a modal with no message, only the title "Connecting not possible" as a fallback for unhandled cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't it Look weird if the modal doesn't have a message?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report
@@ Coverage Diff @@
## dev #15783 +/- ##
==========================================
- Coverage 44.48% 44.47% -0.01%
==========================================
Files 672 672
Lines 22707 22714 +7
Branches 5168 5169 +1
==========================================
+ Hits 10101 10103 +2
- Misses 11317 11321 +4
- Partials 1289 1290 +1 |
Description
We are not currently giving any feedback to the user if there's any error when sending / ignoring / canceling / accepting connection requests.
Other platforms have a generic error message (iOS), a toast for the different cases (android)
The decision (see ticket) was to use Androids error message in a modal
Screenshots/Screencast (for UI changes)
Checklist