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

feat: Conversation MLS verification status updating (WPB-3872) #2224

Merged

Conversation

borichellow
Copy link
Contributor

@borichellow borichellow commented Sep 12, 2023

StoryWPB-3872 [Android] Create separate unverified/verified/degraded state machine for MLS/E2EI

What's new in this PR?

In fact just adopting AR to changes from kalium PR
including:
removing usage of GetConversationVerificationStatusUseCase as the observing of conversation verification state is done in ObserveConversationDetailsUseCase

Needs releases with:

@borichellow borichellow added the WIP Work In Progress label Sep 12, 2023
@CLAassistant
Copy link

CLAassistant commented Sep 12, 2023

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 12, 2023

Test Results

622 tests   - 1   621 ✔️  - 1   3m 59s ⏱️ - 5m 16s
  89 suites ±0       1 💤 ±0 
  89 files   ±0       0 ±0 

Results for commit 1fb8030. ± Comparison against base commit 4e7a254.

This pull request removes 1 test.
com.wire.android.ui.home.conversations.info.ConversationInfoViewModelTest ‑ given a not-verified Proteus conversation, then proteusVerificationStatus is not verified()

♻️ This comment has been updated with latest results.

@AndroidBob
Copy link
Collaborator

Build 715 failed.

@AndroidBob
Copy link
Collaborator

Build 727 failed.

@codecov
Copy link

codecov bot commented Sep 12, 2023

Codecov Report

Merging #2224 (1fb8030) into develop (4e7a254) will decrease coverage by 0.02%.
The diff coverage is 71.42%.

@@              Coverage Diff              @@
##             develop    #2224      +/-   ##
=============================================
- Coverage      40.51%   40.49%   -0.02%     
  Complexity      1014     1014              
=============================================
  Files            318      318              
  Lines          11670    11668       -2     
  Branches        1553     1552       -1     
=============================================
- Hits            4728     4725       -3     
- Misses          6497     6498       +1     
  Partials         445      445              
Files Coverage Δ
...me/conversations/info/ConversationInfoViewModel.kt 79.45% <100.00%> (-1.07%) ⬇️
...me/conversations/info/ConversationInfoViewState.kt 100.00% <100.00%> (ø)
...tlin/com/wire/android/migration/MigrationMapper.kt 0.00% <0.00%> (ø)

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 4e7a254...1fb8030. Read the comment docs.

@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 734 succeeded.

The build produced the following APK's:

@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 764 succeeded.

The build produced the following APK's:

@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 767 succeeded.

The build produced the following APK's:

@vitorhugods vitorhugods marked this pull request as draft September 14, 2023 09:45
@vitorhugods
Copy link
Contributor

Just converting to draft while there is no description.

@borichellow borichellow requested review from saleniuk and removed request for saleniuk September 14, 2023 13:32
@@ -194,6 +180,24 @@ private fun ConversationScreenTopAppBarContent(
)
}

@Composable
private fun VerificationIcon(protocolInfo: Conversation.ProtocolInfo?) {
if (protocolInfo?.verificationStatus != Conversation.VerificationStatus.VERIFIED) return
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if (protocolInfo?.verificationStatus != Conversation.VerificationStatus.VERIFIED) return
if (protocolInfo?.verificationStatus == Conversation.VerificationStatus.NOT_VERIFIED) return

Copy link
Contributor Author

Choose a reason for hiding this comment

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

do not agree. If the conversation status is Degraded we shouldn't display any icon just like it's not verified (design )

@AndroidBob
Copy link
Collaborator

Build 913 failed.

@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 937 succeeded.

The build produced the following APK's:

@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 999 succeeded.

The build produced the following APK's:

@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 1025 succeeded.

The build produced the following APK's:

@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 1038 succeeded.

The build produced the following APK's:

@borichellow borichellow added this pull request to the merge queue Sep 28, 2023
@github-actions
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

Merged via the queue into develop with commit 0e96dfb Sep 28, 2023
13 of 15 checks passed
@borichellow borichellow deleted the feat/conversation_mls_verification_status_updating branch September 28, 2023 11:33
@AndroidBob
Copy link
Collaborator

Build 1046 succeeded.

The build produced the following APK's:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants