-
Notifications
You must be signed in to change notification settings - Fork 801
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
Fix two factor authentication notification #4967
Conversation
/backport to stable-3.6 |
1 similar comment
/backport to stable-3.6 |
@camilasan nice! :) Do you mind posting a screenshot for a much quicker design review? Thank you! |
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.
If it’s the screenshot from #4841 (comment), looks good! :)
The message does mention "Approve or deny" but the buttons are only "Approve" or "Cancel", so maybe they should be named accordingly?
Yes, the message mentions it but the button in the response from the server do not have these names. It is Approve and Cancel. |
Yes, that is the screenshot. |
9a18128
to
c22632c
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #4967 +/- ##
==========================================
+ Coverage 56.98% 57.00% +0.02%
==========================================
Files 138 138
Lines 17232 17232
==========================================
+ Hits 9819 9823 +4
+ Misses 7413 7409 -4
|
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.
A couple of small details
@camilasan It seems to work great for most notifications except missed call notifications, where we now have two primary buttons: I am guessing this is not intentional? |
c22632c
to
1f223b0
Compare
Turns out 'call back' is a primary action but we also initially wanted 'Reply' to look like that. 'Reply' it is a desktop client only action, does not come from the server... wdyt @jancborchardt @nimishavijay? |
1f223b0
to
0dfd213
Compare
At some point, "Reply" would also be good to have in call notifications for server. cc @nickvergessen In the case of call notifications, "Call back" would be primary, "Reply" secondary. |
|
I will do this in another PR. @claucambra could you just check this PR one last time? Then I will clean up the git commit history. |
looks good now |
0dfd213
to
9b58de2
Compare
/rebase |
Signed-off-by: Camila <[email protected]>
The server app returns a 202 code when the request succeeded, which was not taken into account. Signed-off-by: Camila <[email protected]>
9b58de2
to
348c9ea
Compare
AppImage file: nextcloud-PR-4967-348c9ea91552cdbed2ef2505b7309dade5e3c833-x86_64.AppImage |
Kudos, SonarCloud Quality Gate passed! |
Fix for #4841