Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

PPA onboarding screen (EXPOSUREAPP-4815) #2299

Merged
merged 24 commits into from
Feb 10, 2021

Conversation

AlexanderAlferov
Copy link
Contributor

@AlexanderAlferov AlexanderAlferov commented Feb 5, 2021

Onboarding screen for PPA.

Vuzix View_20210205_174918_174

How to test:

  1. Fresh install/Reset app
  2. Check the last onboarding screen
  3. Turn on Screen reader accessibility feature and play around the screen

@AlexanderAlferov AlexanderAlferov added maintainers Tag pull requests created by maintainers do not merge text change PRs with text changes. labels Feb 5, 2021
@AlexanderAlferov AlexanderAlferov added this to the 1.13.0 milestone Feb 5, 2021
@harambasicluka harambasicluka added prio PRs to review first. enhancement Improvement of an existing feature labels Feb 9, 2021
@mtwalli
Copy link
Contributor

mtwalli commented Feb 9, 2021

Scroll state is not kept, User has to scroll again to where he was

device-2021-02-09-123134.mp4

fun onDisableClick() {
settings.userInfoAgeGroup.update { PpaData.PPAAgeGroup.AGE_GROUP_UNSPECIFIED }
settings.userInfoFederalState.update { PpaData.PPAFederalState.FEDERAL_STATE_UNSPECIFIED }
settings.userInfoDistrict.update { 0 }
Copy link
Contributor

@mtwalli mtwalli Feb 9, 2021

Choose a reason for hiding this comment

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

Could we create a constant in District -> District.UNSPECIFIED_DIRSTRICT
and use it here instead of 0

@mtwalli mtwalli self-assigned this Feb 9, 2021
@@ -49,4 +49,17 @@
<string name="contact_diary_onboarding_privacy_information_second_section_body_one">Bitte prüfen Sie genau, mit wem und auf welche Weise Sie die in Ihrem Kontakt-Tagebuch erfassten Informationen teilen. Die Informationen sollen Ihnen als Gedächtnisstütze dienen - sie sind nicht für Dritte bestimmt. Wenn das Gesundheitsamt Sie im Rahmen der Kontaktnachverfolgung um Ihre Mithilfe bittet, ist die Weitergabe von Einträgen sachgerecht.</string>
<!-- XTXT: Body for the contact diary onboarding privacy information second section -->
<string name="contact_diary_onboarding_privacy_information_second_section_body_two">Private Personen oder Unternehmen dürfen von Ihnen nicht die Weitergabe der von Ihnen erfassten Informationen verlangen. Bitte respektieren Sie, wenn jemand nicht im Kontakt-Tagebuch erfasst werden möchte.</string>

<!-- XTXT: Body for Privacy-preserving Analytics -->
Copy link
Contributor

Choose a reason for hiding this comment

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

Discussed with @janetback please also add the legal headlines here.

AlexanderAlferov and others added 2 commits February 9, 2021 15:51
…5-ppa-onboarding

# Conflicts:
#	Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/menu/ui/TestMenuFragmentViewModel.kt
#	Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/ui/main/MainActivityTestModule.kt
#	Corona-Warn-App/src/deviceForTesters/res/navigation/test_nav_graph.xml
#	Corona-Warn-App/src/main/res/values-de/strings.xml
#	Corona-Warn-App/src/main/res/values/strings.xml
…2309

Co-authored-by: Ralf Gehrer <ralfgehrer@users.noreply.github.com>
janetback and others added 10 commits February 9, 2021 14:12
…UREAPP-4975) #2305

Co-authored-by: Ralf Gehrer <ralfgehrer@users.noreply.github.com>
use toolbar

Co-authored-by: Ralf Gehrer <ralfgehrer@users.noreply.github.com>
…ure/4815-ppa-onboarding

# Conflicts:
#	Corona-Warn-App/src/deviceForTesters/res/navigation/test_nav_graph.xml
#	Corona-Warn-App/src/main/res/values-de/strings.xml
#	Corona-Warn-App/src/main/res/values/strings.xml
@AlexanderAlferov AlexanderAlferov marked this pull request as ready for review February 9, 2021 18:36
@AlexanderAlferov AlexanderAlferov requested review from a team February 9, 2021 18:36
Copy link
Contributor

@kolyaopahle kolyaopahle left a comment

Choose a reason for hiding this comment

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

Existing stuff looks good to me, is there any kind of delta onboarding when a user is not starting the app initially?

@AlexanderAlferov
Copy link
Contributor Author

Existing stuff looks good to me, is there any kind of delta onboarding when a user is not starting the app initially?

Yes, delta onboarding is also in place. Screen should appear right after "whats new screen".

@sonarcloud
Copy link

sonarcloud bot commented Feb 10, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

4.6% 4.6% Coverage
13.3% 13.3% Duplication

Copy link
Contributor

@mtwalli mtwalli left a comment

Choose a reason for hiding this comment

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

Thanks, Tested on Samsung S8. Both cases in fresh onboarding and delta onboarding.

@kolyaopahle kolyaopahle merged commit d3c3537 into feature/4321-ppa-main Feb 10, 2021
@kolyaopahle kolyaopahle deleted the feature/4815-ppa-onboarding branch February 10, 2021 12:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Improvement of an existing feature maintainers Tag pull requests created by maintainers prio PRs to review first. text change PRs with text changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants