~bouncepaw/betula#126: 
Sort sessions

Sort sessions by time, but remain the current session at the top.

It is probably just an ‘order by’ in SQL query.

Status
REPORTED
Submitter
~danilax86
Assigned to
No-one
Submitted
10 months ago
Updated
10 months ago
Labels
Easy Sometime

~bouncepaw 10 months ago

Maybe on the bottom, closer to the Delete all sessions, but the current one. part?

~danilax86 10 months ago*

Maybe on the bottom, closer to the Delete all sessions, but the current one. part?

I guess the current session still will remain at the top, because it is the first place where a user looks at. And this is how it works in other session managers in other apps. It will be unpredicted if a current session appears at the bottom.

But maybe… Maybe move current session away from the list in a separate div block?

Current session is: blah-blah.
Other sessions:

Anyway this ticket is more about sorting than placing the current session, but it was good to think about it.

~danilax86 10 months ago

But maybe… Maybe move current session away from the list in a separate div block?

And remove a ‘delete’ button, because you never want to stop current session here, you just log out instead.

What do you think?

~bouncepaw 10 months ago*

Thinking about this structure:

  • Sessions
  • Current session
    • Safari on macOS 2 days ago
      • Link to the log out page
    • [ ] Delete all sessions, but the current one.
    • Delete all button
  • Other sessions (sorted)
    • Chrome on Android 2 days ago
      • Delete button
    • ...
Register here or Log in to comment, or comment via email.