Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notifications pane shows mxids rather than display names #5692

Closed
pafcu opened this issue Nov 26, 2017 · 5 comments · Fixed by matrix-org/matrix-js-sdk#1765
Closed

Notifications pane shows mxids rather than display names #5692

pafcu opened this issue Nov 26, 2017 · 5 comments · Fixed by matrix-org/matrix-js-sdk#1765
Assignees
Labels
A-File-Panel A-Notif-Panel P2 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect

Comments

@pafcu
Copy link
Contributor

pafcu commented Nov 26, 2017

Description

The notifications pane (opened by the bell icon in right sidebar) shows the mdxid of a sender rather than their display name. This is not consistent with the rest of the UI where the display name is shown when possible (and may be confusing to users as they may not actually know the mxid of some people).

image showing mxid instead of display name

Version information

Riot web c28d9e5-react-c002d3ff9967-js-36ff0ad0193e on FF57

@turt2live
Copy link
Member

I see this more often when I scroll up in the notifications list, but many look like this:
image

@lampholder lampholder added T-Defect X-Cannot-Reproduce S-Major Severely degrades major functionality or product features, with no satisfactory workaround P2 ui/ux and removed X-Cannot-Reproduce labels Dec 1, 2017
@lampholder
Copy link
Member

Having incidentally just refreshed my local riot instance, I see nothing but mxids in the notification panel. I wonder if there's a difference between historic and received-in-this-browser-session notifications as regards resolution of mxids to display names?

@jryans jryans removed the Z-UI/UX label Mar 9, 2021
@SimonBrandner
Copy link
Contributor

As far as I can tell, mxids are shown for events that were not loaded to the timeline. For those events EventTimeline::setEventMetadata (the function that sets event.sender) was not run, it seems

@SimonBrandner
Copy link
Contributor

This issue seems to have the same cause as the fact that if you try to open some images from the right panel the new Image View doesn't work. This is because the new Image View also tries to load event.sender for the avatar but fails because it doesn't exist

@t3chguy
Copy link
Member

t3chguy commented Apr 20, 2021

For those events EventTimeline::setEventMetadata (the function that sets event.sender) was not run, it seems

Yeah looks like the js-sdk will only run it for the live unfiltered timeline and never else, not sure if we want to consciously make it run for the notifications & files timelines or not or just have the fallback in the react-sdk after all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-File-Panel A-Notif-Panel P2 S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants