Skip to content

Remove alias from room invite item #4531

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

Merged
merged 2 commits into from
Apr 3, 2025
Merged

Conversation

bmarty
Copy link
Member

@bmarty bmarty commented Apr 3, 2025

Content

Remove alias from room invite item

Motivation and context

Cleaner ui. Room alias is still visible in the invitation detail screen (when user clicks on the invitation itself, not the buttons to accept or reject)

Screenshots / GIFs

See recorded one

Tests

  • Step 1
  • Step 2
  • Step ...

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

  • Changes have been tested on an Android device or Android emulator with API 24
  • UI change has been tested on both light and dark themes
  • Accessibility has been taken into account. See https://github.com/element-hq/element-x-android/blob/develop/CONTRIBUTING.md#accessibility
  • Pull request is based on the develop branch
  • Pull request title will be used in the release note, it clearly define what will change for the user
  • Pull request includes screenshots or videos if containing UI changes
  • You've made a self review of your PR

@bmarty bmarty requested a review from a team as a code owner April 3, 2025 12:56
@bmarty bmarty requested review from jmartinesp and removed request for a team April 3, 2025 12:56
Copy link
Contributor

github-actions bot commented Apr 3, 2025

📱 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/rJLFda

Copy link

sonarqubecloud bot commented Apr 3, 2025

Copy link

codecov bot commented Apr 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.14%. Comparing base (a045b3f) to head (6ef9df9).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4531   +/-   ##
========================================
  Coverage    80.14%   80.14%           
========================================
  Files         2083     2083           
  Lines        54902    54902           
  Branches      6849     6848    -1     
========================================
  Hits         43999    43999           
  Misses        8543     8543           
  Partials      2360     2360           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@@ -232,13 +231,12 @@ private fun NameAndTimestampRow(
private fun InviteSubtitle(
isDm: Boolean,
inviteSender: InviteSender?,
canonicalAlias: RoomAlias?,
modifier: Modifier = Modifier
) {
val subtitle = if (isDm) {
inviteSender?.userId?.value
Copy link
Member

Choose a reason for hiding this comment

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

Could be inviteSender?.userId?.value?.takeIf { isDm }, maybe.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I was expecting this remark :)

@bmarty bmarty merged commit c09ff58 into develop Apr 3, 2025
32 checks passed
@bmarty bmarty deleted the feature/bma/roomInviteAlias branch April 3, 2025 15:11
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.

3 participants