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: enabling QR codes for users (WPB-12115) 🍒 #3622

Merged
merged 3 commits into from
Nov 13, 2024

Conversation

yamilmedina
Copy link
Contributor

@yamilmedina yamilmedina commented Nov 12, 2024

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

and the one with conflicts

Original PR description:


TaskWPB-12115 [Android] : QR code opens up deeplinks which links directly to the app rather than going to the web


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

Previously we had to disable the QR code feature, to assess some last moment requirements. #3569
Now everything is sorted out, definitions done, so we need to modify the code and re-enable.

Solutions

This PR:

  • Enables QR code by feature flag
  • Implement deeplink according to new specs (direct deeplink, instead of accounts)
  • Handles the same error dialog for other user profiles, as in iOS and Web

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@echoes-hq echoes-hq bot added the echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. label Nov 12, 2024
@yamilmedina yamilmedina requested review from saleniuk, borichellow, MohamadJaara, Garzas and ohassine and removed request for saleniuk November 12, 2024 16:34
@codecov-commenter
Copy link

codecov-commenter commented Nov 12, 2024

Codecov Report

Attention: Patch coverage is 41.17647% with 10 lines in your changes missing coverage. Please review.

Project coverage is 46.00%. Comparing base (fcb871e) to head (293375a).

Files with missing lines Patch % Lines
...erprofile/other/OtherUserProfileScreenViewModel.kt 0.00% 6 Missing ⚠️
...roid/ui/userprofile/other/OtherUserProfileState.kt 50.00% 2 Missing ⚠️
...om/wire/android/util/deeplink/DeepLinkProcessor.kt 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3622   +/-   ##
========================================
  Coverage    45.99%   46.00%           
========================================
  Files          473      473           
  Lines        16064    16074   +10     
  Branches      2659     2660    +1     
========================================
+ Hits          7389     7395    +6     
- Misses        7896     7898    +2     
- Partials       779      781    +2     
Files with missing lines Coverage Δ
.../wire/android/ui/userprofile/qr/SelfQRCodeState.kt 100.00% <100.00%> (ø)
...e/android/ui/userprofile/qr/SelfQRCodeViewModel.kt 53.65% <100.00%> (+1.15%) ⬆️
.../wire/android/util/debug/FeatureVisibilityFlags.kt 0.00% <ø> (ø)
...roid/ui/userprofile/other/OtherUserProfileState.kt 74.00% <50.00%> (-2.60%) ⬇️
...om/wire/android/util/deeplink/DeepLinkProcessor.kt 76.33% <33.33%> (+1.72%) ⬆️
...erprofile/other/OtherUserProfileScreenViewModel.kt 58.58% <0.00%> (-1.21%) ⬇️

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 fcb871e...293375a. Read the comment docs.

Copy link
Contributor

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

Copy link
Contributor

Built wire-android-dev-debug-pr-3622.apk is available for download

Copy link

Copy link
Contributor

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

Copy link
Contributor

Built wire-android-dev-debug-pr-3622.apk is available for download

@yamilmedina yamilmedina added this pull request to the merge queue Nov 13, 2024
Merged via the queue into develop with commit 85753f4 Nov 13, 2024
11 of 12 checks passed
@yamilmedina yamilmedina deleted the feat/finalize-qr-m1-cherry-pick branch November 13, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants