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

Display name disambiguation #2221

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Jan 12, 2024

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

Display name disambiguation in the timeline.

Applied to:

  • timeline message
  • detail of timeline message
  • reply preview of timeline message
  • rendering of state Event

Not applied to:

  • room last message
  • room member list (we display the MatrixId here)
  • room member detail page

Motivation and context

Closes #2215

Screenshots / GIFs

From the room Element X Android:

Timeline Message detail Member detail Member list
image image image image

Tests

In a room, give the same display name to 2 different users , and obersve that the Matrix Id is appended to it when they send message.

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

Applied to:
- timeline message
- detail of timeline message
- reply preview of timeline message
- rendering of state Event
Not applied to:
- room last message
- room member list (we display the MatrixId here)
- room member detail page
@bmarty bmarty requested a review from a team as a code owner January 12, 2024 15:04
@bmarty bmarty requested review from ganfra and removed request for a team January 12, 2024 15:04
@bmarty
Copy link
Member Author

bmarty commented Jan 12, 2024

To check: display name in reaction list: OK since we display Matrix Id here:
image

Copy link
Contributor

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/yJMvdN

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@bmarty
Copy link
Member Author

bmarty commented Jan 12, 2024

(waiting for final design)

Copy link

codecov bot commented Jan 12, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (f281c6c) 70.05% compared to head (14d5274) 70.06%.

Files Patch % Lines
...entformatter/impl/DefaultTimelineEventFormatter.kt 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2221      +/-   ##
===========================================
+ Coverage    70.05%   70.06%   +0.01%     
===========================================
  Files         1335     1335              
  Lines        32562    32568       +6     
  Branches      6757     6758       +1     
===========================================
+ Hits         22810    22819       +9     
+ Misses        6481     6479       -2     
+ Partials      3271     3270       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ganfra ganfra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, thanks!

@bmarty
Copy link
Member Author

bmarty commented Jan 19, 2024

Let's merge and iterate later on the design.

@bmarty bmarty merged commit 5e359a4 into develop Jan 19, 2024
15 checks passed
@bmarty bmarty deleted the feature/bma/displayNameAmbiguous branch January 19, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Displayname disambiguation
2 participants