element-hq / element-hq/element-web

User session/device list does not show all sessions

Open
#14,345 1 comment 1 reaction 0 assignees View on GitHub
T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Description

When I view the details of my own user (in the sidebar), e.g. by clicking on my own username in a room userlist, or at https://riot.im/app/#/user/@matthijs:matrix.org (which is also where the "Verify where you're logged in" popup/toast sends you), I see a list of sessions:

![image](https://user-images.githubusercontent.com/194491/86587940-f1b84980-bf8a-11ea-81c5-b4a40eaa9571.png)

(Here, I already clicked "2 verified sessions" to show the complete session list).

However, it seems this list is incomplete. When looking at the account settings, "Security & Privacy" section, there is a much longer list:

![image](https://user-images.githubusercontent.com/194491/86588349-d39f1900-bf8b-11ea-9455-1f4043ad4296.png)

(this just shows the top half of the list, there's more session below).

I can imagine that the sidebar only shows a limited list of sessions, maybe only recent ones? This is probably sane, but it would be good if there was some indication of this, e.g. by adding "8 more sessions not shown" or so.

### Version information

- **Platform**: Web
- **Browser**: Firefox 78
- **OS**: Ubuntu 19.10.
- **URL**: riot.im/app

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the session lists in the user sidebar and in Account Settings > Security & Privacy, then compare how each view obtains and limits sessions. Done means the sidebar shows all sessions or clearly indicates how many are omitted, with the two views no longer appearing inconsistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.