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

Refactor scan screen to support all certificates (EXPOSUREAPP-7686) #3478

Merged
merged 39 commits into from
Jun 17, 2021

Conversation

chiljamgossow
Copy link
Contributor

@chiljamgossow chiljamgossow commented Jun 16, 2021

Adds navigation, new permission api

test and recovery are incomplete due missing screen/ repo extension
vaccination works

merge after #3444

# Conflicts:
#	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/recovery/core/certificate/RecoveryDccV1.kt
# Conflicts:
#	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/recovery/core/certificate/RecoveryDccV1.kt
#	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/recovery/core/storage/RecoveryCertificateContainer.kt
# Conflicts:
#	Corona-Warn-App/src/test/java/de/rki/coronawarnapp/covidcertificate/vaccination/core/repository/VaccinationRepositoryTest.kt
@chiljamgossow chiljamgossow requested a review from a team June 16, 2021 15:52
@chiljamgossow chiljamgossow added the maintainers Tag pull requests created by maintainers label Jun 16, 2021
@chiljamgossow chiljamgossow added this to the 2.5.0 milestone Jun 16, 2021
@chiljamgossow chiljamgossow marked this pull request as draft June 17, 2021 06:05
@chiljamgossow chiljamgossow marked this pull request as ready for review June 17, 2021 09:17
Base automatically changed from feature/7676-recovery-extractor to release/2.5.x June 17, 2021 11:44
@mtwalli mtwalli requested a review from a team June 17, 2021 11:44
@mtwalli mtwalli self-assigned this Jun 17, 2021
Copy link
Contributor

@NataliaLemmerth NataliaLemmerth left a comment

Choose a reason for hiding this comment

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

UA approved

# Conflicts:
#	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/common/certificate/DccV1Parser.kt
#	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/test/core/TestCertificateRepository.kt
#	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/vaccination/ui/scan/VaccinationQrCodeScanViewModel.kt
# Conflicts:
#	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/test/core/TestCertificateRepository.kt
# Conflicts:
#	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/covidcertificate/person/ui/overview/PersonOverviewFragment.kt
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.

Looks nice, just small comments


private val binding: FragmentScanQrCodeBinding by viewBinding()
private var showsPermissionDialog = false

val requestPermissionLauncher =
Copy link
Contributor

Choose a reason for hiding this comment

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

can be private ?

).show()
ScanQrCode -> doNavigate(
PersonOverviewFragmentDirections.actionPersonOverviewFragmentToDccQrCodeScanFragment()
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we apply the same transition as in CheckInsFragment ?

Copy link
Member

@d4rken d4rken left a comment

Choose a reason for hiding this comment

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

lgtm

@d4rken d4rken self-assigned this Jun 17, 2021
@sonarcloud
Copy link

sonarcloud bot commented Jun 17, 2021

Kudos, SonarCloud Quality Gate passed!

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

0.0% 0.0% Coverage
0.0% 0.0% 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.

@mtwalli mtwalli merged commit ad1bea6 into release/2.5.x Jun 17, 2021
@mtwalli mtwalli deleted the feature/7686-cert-scan branch June 17, 2021 14:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
maintainers Tag pull requests created by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants