jhass / insporation

Flutter based client for diaspora*
BSD 3-Clause "New" or "Revised" License
30 stars 3 forks source link

Bug/Usability: when opening ‚switch User‘ User is logged out immediately #19

Closed tclaus closed 3 years ago

tclaus commented 3 years ago

When someone is just curious what "switch user" means.. image

There is no way to go back. "Cancel"

But you can just swipe right to go back to the main Ui. But then the current user is logged out. image

Bettler: when opening "switch user" (the login screen) from a logged in instance. Don't clear logged-in status. Until new credentials are entered. Provide a cancel option.

jhass commented 3 years ago

Ah, I don't think I have a way to go back on Android, or at least I never tried... we probably should make sure to clear the navigation stack here.

So I've been thinking, there's no need to clear the session on this just yet. So we could show a list of active sessions on the sign in page that you can just click on to reenter, and possibly have an action button there to delete a session. What do you think?

tclaus commented 3 years ago

Like the idea and would solve the UI-problem. A horizontale line of active accounts, with a X somewhere, and a 'Add Account' button. Maybe ist wise to limit maximum accounts supported. The is the Facebook solution: right beside 'Victor' there is a "Login-panel'. It should be scrollable.

Bildschirmfoto 2020-11-03 um 08 00 08
jhass commented 3 years ago

To keep it simple for starters I would go with just a list, something like:


+---------------------------------+
|                                 |
|                                 |
|                                 |
|                                 |
|                                 |
|                                 |
|                                 |
|                                 |
|                                 |
|        +------------------+     |
|        |   Enter user@pod |     |
|        +------------------+     |
|                                 |
|        +-------------+  X       |
|                                 |
|        +-------------+  X       |
|                                 |
|        +-------------+  X       |
|                                 |
|                                 |
|                                 |
|                                 |
|                                 |
|                                 |
|                                 |
|                                 |
+---------------------------------+

and yeah, limit it to the 5 most recently used entries, also sort by most recently used.

tclaus commented 3 years ago

Absolut - like the simplicity of this.