desktop icon indicating copy to clipboard operation
desktop copied to clipboard

"Sign in via Nextcloud notification" enhancements

Open jancborchardt opened this issue 2 years ago • 5 comments

  • [x] The "Sign in via Nextcloud notification" notification does not have a primary button. "Approve" should be that one. :)
  • [x] When clicking either "Approve" or "Deny", the notification should vanish (be marked as read). Currently it stays there
  • [x] It says "Please approve or deny" but there is no "Deny" option. That should be added between "Approve" and "Mark as read"

Desktop sign in

cc @claucambra

jancborchardt avatar Aug 10 '22 14:08 jancborchardt

My 2 cts :

  • notifications to be "always-on-top". Can't check right now, but when I had sync-errors I had to scroll down past all the errors to get to the notification. Would be easier have that notification "pinned" somehow :thinking:

mbousq avatar Aug 19 '22 17:08 mbousq

  • [x] Since 3.6, you can not click on 'Approve' or 'Cancel'

camilasan avatar Sep 20 '22 13:09 camilasan

  • It says "Please approve or deny" but there is no "Deny" option. That should be added between "Approve" and "Mark as read"

I think it should change on the server then. The actions provided by the api are only 'Approve' and 'Cancel'. There is no 'Deny'.

camilasan avatar Sep 20 '22 17:09 camilasan

[ ] When clicking either "Approve" or "Deny", the notification should vanish (be marked as read). Currently it stays there

~~this has been fixed.~~

No.

camilasan avatar Sep 20 '22 17:09 camilasan

approve approve-hover

camilasan avatar Sep 20 '22 18:09 camilasan

@camilasan btw is there any quite long delay in seeing this message? In practice, the Android app displays this immediately, and the desktop client does not, even after waiting 20-30 seconds.

jancborchardt avatar Jun 12 '23 11:06 jancborchardt

✅ There seems to be no delays on Linux and the message shows up on top. linux 🔴 On mac OS however, there is delay.

However, it seems to be inconsistent. I don't always get the same results in both platforms.

I will fix it in the coming days.

camilasan avatar Nov 15 '23 20:11 camilasan

@camilasan can confirm, with 3.10.1 it is now basically instant on Ubuntu 20.04. Really amazing, this makes it a looooot more seamless to sign in. :)

jancborchardt avatar Nov 16 '23 12:11 jancborchardt

Really amazing, this makes it a looooot more seamless to sign in. :)

Thanks for checking on Ubuntu. Amazing how it is different between platforms, it is beyond me what the difference is 🙈

camilasan avatar Nov 20 '23 09:11 camilasan

I have no progress on this, I was busy with support. I also asked for input from Claudio about how mac OS behaves, about the system notifications: "the system decides when to show the notification unfortunately. We might need to modify our notification system to be less spammy maybe the system is showing it late because it is throttling how many notifications reach the user (the system does this on macOS)"

But it is unknown at the moment why there is a delay to show it in the activities list (which is platform independent).

camilasan avatar Nov 30 '23 09:11 camilasan

When I was testing the 3.11 release on mac OS Ventura, against cloud.nextcloud.com, there was no delay at all 🤔

2fa-approve

2fa-macos

The exact same notification shows up on the server notifications list and when the user has seen the notification, it should then get cleared from the desktop client notification list. I am wondering if there is something wrong with that.

camilasan avatar Dec 14 '23 11:12 camilasan