nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.7k stars 4k forks source link

🎨 Improve design and process of adding clients using qr code #44603

Open jospoortvliet opened 5 months ago

jospoortvliet commented 5 months ago

A recent improvement to app token management in https://github.com/nextcloud/server/pull/42334 triggered me to create an issue.

We should make the QR code that can be used to log in with an app more visible. The mobile apps show a nice scan-qr logo on their login page, and all the user has to do is...

  1. Open a Nextcloud mobile app and notice the QR code icon. Clicking it just gives you the camera, so now you have to...
  2. go to Nextcloud, go to settings/user/security (note: this is NOT explained on your phone - it should be)
  3. scroll all the way down
  4. enter a name like 'my phone'
  5. choose "show QR code for mobile apps"
  6. scan the QR code

Users who go to, for example, /settings/user/sync-clients will have to search a little longer, as they won't find anything.

Now I propose two solutions.

  1. We simplify the process and
  2. We explain the process.

Simplification

The first, simplification, is for the server. We can do a few things:

Explanation

Second, the explanation. I suggest that the mobile client don't immediately open the camera when the QR code is clicked, but either show the camera feed in the bottom-half of the screen and a description of how to get the QR code to show in the top half, or first show how to get the QR code full-screen and then, after the user clicks OK, show the camera.

REF https://github.com/nextcloud/server/pull/42334 and the comments there.

tempestrock commented 1 month ago

I very much second this. Just found this entry because I had no clue what to do when the camera opened on my phone.