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

fix: Remove Reset Session for MLS conversations [WPB-10426] 🍒 #3304

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 9, 2024

BugWPB-10426 [Android] Hide Reset session button in MLS conversations

This PR was automatically cherry-picked based on the following PR:

Original PR description:


What's new in this PR?

Issues

When we receive decryption errors in an MLS conversation, we show a “reset session” button.
But this button does not help to reset the session and is useless.

Therefore, we should hide it and not show it to the user.

Causes (Optional)

Nobody think about differences in MLS conversations :)

Solutions

Think about it and remove "Reset Session" btn and text "Try resetting the session ..." text

  • small refactoring in Compose MessageItem to make it bit more readable

@pull-request-size pull-request-size bot added size/M and removed size/S labels Aug 12, 2024
Copy link

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 92.30769% with 1 line in your changes missing coverage. Please review.

Project coverage is 44.57%. Comparing base (76ac9b6) to head (4516b33).

Files Patch % Lines
...me/conversations/info/ConversationInfoViewModel.kt 80.00% 1 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##           release/candidate    #3304      +/-   ##
=====================================================
+ Coverage              44.55%   44.57%   +0.02%     
=====================================================
  Files                    453      453              
  Lines                  15322    15328       +6     
  Branches                2557     2557              
=====================================================
+ Hits                    6827     6833       +6     
  Misses                  7778     7778              
  Partials                 717      717              
Files Coverage Δ
...me/conversations/info/ConversationInfoViewState.kt 100.00% <100.00%> (ø)
...nversations/messages/item/MessageItemComponents.kt 0.00% <ø> (ø)
...conversations/messages/item/MessageTypesPreview.kt 0.00% <ø> (ø)
.../conversations/messages/item/RegularMessageItem.kt 0.00% <ø> (ø)
...me/conversations/info/ConversationInfoViewModel.kt 81.94% <80.00%> (+0.78%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 76ac9b6...4516b33. Read the comment docs.

Copy link
Contributor Author

Built wire-android-staging-compat-pr-3304.apk is available for download

Copy link
Contributor Author

Built wire-android-internal-compat-pr-3304.apk is available for download

@borichellow borichellow changed the title fix: Remove Reset Session for MLS conversations 🍒 fix: Remove Reset Session for MLS conversations [WPB-10426] 🍒 Aug 12, 2024
@borichellow borichellow added this pull request to the merge queue Aug 12, 2024
Merged via the queue into release/candidate with commit 1d13995 Aug 12, 2024
12 of 14 checks passed
@borichellow borichellow deleted the fix/remove_reset_session_for_mls_conversations-cherry-pick branch August 12, 2024 11:56
@echoes-hq echoes-hq bot added echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. echoes: technical-roadmap/throughput More specific category, to highlight task aiming at improving the development velocity and effici... labels Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. echoes: technical-roadmap/throughput More specific category, to highlight task aiming at improving the development velocity and effici... size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants