This repository was archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 490
Fix navigation after test scanning (EXPOSUREAPP-12985) #5408
Merged
mtwalli
merged 36 commits into
release/2.27.x
from
fix/12985-navigation-after-test-registration
Aug 16, 2022
Merged
Fix navigation after test scanning (EXPOSUREAPP-12985) #5408
mtwalli
merged 36 commits into
release/2.27.x
from
fix/12985-navigation-after-test-registration
Aug 16, 2022
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…registration' into fix/12985-navigation-after-test-registration
...nawarnapp/ui/submission/warnothers/SubmissionResultPositiveOtherWarningNoConsentViewModel.kt
Show resolved
Hide resolved
...java/de/rki/coronawarnapp/ui/submission/deletionwarning/SubmissionDeletionWarningFragment.kt
Outdated
Show resolved
Hide resolved
...ki/coronawarnapp/ui/submission/testresult/positive/SubmissionTestResultKeysSharedFragment.kt
Show resolved
Hide resolved
…registration' into fix/12985-navigation-after-test-registration
I've found the issue and pushed a fix. I've also found a missing dialog which I've added now. |
Co-authored-by: KathrinLuecke <[email protected]>
chiljamgossow
previously approved these changes
Aug 15, 2022
mtwalli
reviewed
Aug 15, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...rn-App/src/main/java/de/rki/coronawarnapp/familytest/ui/consent/FamilyTestConsentFragment.kt
Outdated
Show resolved
Hide resolved
chiljamgossow
previously approved these changes
Aug 16, 2022
mtwalli
approved these changes
Aug 16, 2022
Kudos, SonarCloud Quality Gate passed! |
chiljamgossow
approved these changes
Aug 16, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket
Scan pending/positive/negative pcr/rat test from the certificates/check-in/journal tabs.Go through the submission process and you should land on the same tab from where you opened the universal scanner.
For positive tests, canceling the submission process before it's finished will also land you on the tab from where you opened the universal scanner.
The navigation through the submission flow needed to be changed more extensively to match figma and iOS.
When scanning a test (or registaring it through TAN), every operation throughout the submission flow needs to end where the flow was started with the exception of scanning and TAN registering from the dispatcher screen, in which case, the flow should always end on the home fragment.
What to test:
Scan a new PCR/RAT certificate starting from:
All types of tests must be tested: negative; pending; invalid and positive
For positive tests, canceling the registration, not entering symptoms/warning others and interrupting the flow in general, should always land you on the screen from where the scanning was started.
- also try the os back navigation while registering a positive test
- also try going through the positive test registration with and without giving consent
Try replacing the tests with new ones -> you should go through all/most steps above, especially the positive test registration flow with and without consent.
Try restoring an already deleted test -> again pay attention to positive test registrations, especially ones where the consent was not given and/or others weren't warned.
Try restoring an already deleted test while having a registered test already in the app so that the restored certificate will replace the current one and you have to go through the test deletion screen.
Try registering a test with a TAN.
Try replacing an already registered test by registering a new one with a TAN.
Figma
P.S. I don't know what to do about detekt's
LongParameterList
error. The params are part of the constructor, can we supress this error somehow?