This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 492
Event registration (feature-main-branch) (EXPOSURE-5062) #2456
Merged
Conversation
This file contains 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
This was referenced Feb 26, 2021
Question to the community: Top 10 of feature requests / enhancement
corona-warn-app/cwa-wishlist#375
Open
Closed
* Add Base32 wrapper and unit tests for it * Extend base test * Convert into extensions * Added a new variant for ByteString * Include decoding for ByteString only * Add unit testing for ByteString Encoding to String
* Skeleton classes for event registration. * Add trailing commas Co-authored-by: Mohamed Metwalli <Mohamed.Metwalli@sap.com>
# Conflicts: # Corona-Warn-App/src/deviceForTesters/java/de/rki/coronawarnapp/test/menu/ui/TestMenuFragmentViewModel.kt # Corona-Warn-App/src/deviceForTesters/res/navigation/test_nav_graph.xml
* Setup deep-linking to confirmation * Update ConfirmCheckInFragment.kt * Update fragment_confrim_check_in.xml * Create Uri.kt * Add navUri extension * Handle deep-linking in MainActivity * Check event decoding * Add scan check-in qr code fragment * Create viewModel and DI modules * lint * Create ViewModel * Delegate work to view model * use viewmodel * Add unit test for navUri * Adjust data * Add unit tests for deep-linking * lint * Remove + from id references * Add TODO * Add unit tests * Add tests * add ToDo * Fix test * Deep linking for Event Registration (EXPOSUREAPP-5305) (#2502) * Handle deep-linking and shortcuts * lint * Fillin intent in Onboarding * Lint * Delete ConfirmCheckInFragment.kt * Fix test
* Generate QR-Code PDF * lint * Update QrCodeGenerationTestFragmentViewModel.kt * Share internal file * Move qr code under event registration * Reduce size * Refactoring * Remove padding * Fix unresolved reference * Lint * Increase qr-code quality * Merge two actions in Event main screen * klint * Adjust sizes
Co-authored-by: Ralf Gehrer <ralfgehrer@users.noreply.github.com>
* repo for checkins * repo for checkins * renamed param * added more crud methods * added fields from new specs version * fixed ktlint issue * fixed class hierarchy * fixed UnnecessaryAbstractClass * fixed nullable types * renamed to Event* to TraceLocation* to be in sync with spec * moved database one package level up * use app scope for insert * renamed const * convert data between repo and database * removed interface for data class, renaming, housekeeping * entity is no parcel anymore * + update method in checkin repo
Co-authored-by: Ralf Gehrer <ralfgehrer@users.noreply.github.com>
#2551 * Change censoring such that on tester builds it's noticeable whether it worked or not. * Add debug log censors for new diary data fields: Loaction/Person: Email&Phone; Visit/Encounter: Circumstances. Co-authored-by: Ralf Gehrer <ralfgehrer@users.noreply.github.com>
* added new confirmation alert * linting
# Conflicts: # Corona-Warn-App/src/androidTest/java/testhelpers/TestAppComponent.kt # Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/files/FileSharing.kt # Corona-Warn-App/src/main/res/navigation/nav_graph.xml
# Conflicts: # gradle.properties
* Basic setup * Test verification * Update DefaultQRCodeVerifierTest.kt * Invert boolean to reflect method name * Adjustments to prepare for refactoring of "Verificationkeys" class. * Add more tests and modify encoded event data * Update ConfirmCheckInViewModelTest.kt * Consider warning case * Add test cases for warning * Fix test * Show error * Add todo * lint * Move time warnings into result * Update ConfirmCheckInViewModelTest.kt Co-authored-by: Matthias Urhahn <matthias.urhahn@sap.com>
* Refactoring - Add basic setup for attendee and organizer - Renaming and re-packing for already implemented screens * Rename * Add check in tab * lint * Connect scan fragment * Navigate to confirm event * Fix import * lint * Add FAB text * Update MDC version * Catch error * Animate transition * Add space * Connect check-in flow * Parse signed event * Import SingleLiveData * Add test * Clean-up * Delete ConfirmCheckInViewModel.kt * Support new deeplink host and requirements * Validate uri * Update LauncherActivityTest.kt * Renaming * Trace location times are in seconds * Delete redundants * Remove destinations from main graph those destinations are part of attendee graph now * Use hard coded string * Verify uri * Pass QRCodeVerifyResult directly * lint
* Create PrintingAdapter.kt * Update PrintingAdapter.kt * Test printing * Update QrCodeCreationTestViewModel.kt * Remove Charset causing crash only older versions * Log * Add logs and specify media size
…REAPP-5484) (#2549) * Add events card in event registration test fragment * Format * Create empty fragments and implement navigation * Create layout for CreateEventTestFragment.kt * Add spinner for event type * Build event object from input * Create database for event registration and store events in it * Fix date issue * Show stored events in a simple way * Make event list more pretty * Add button to delete all events in ShowStoredEventsTestFragment.kt * Change the functions of HostedEventRepository.kt to regular functions instead of suspend functions * Change text in EventRegistration TestFragment * Fix merge issues * Add parameters from new TechSpec * Change wording from 'hosted Events' to 'TraceLocation' * Delete event registration database on app reset * Fix detect issue 'MaxLineLength' * Remove parcelable from TraceLocationEntity.kt * Map TraceLocationEntity to TraceLocation in TraceLocationRepository * Use the Instant.seconds extension function * Use existing EventRegistrationModule.kt instead of creating a new one * Only delete traceLocations on App reset instead of all tables in TraceLocationRepository.kt * Add named parameters to TraceLocation mapping * Add unit test for TraceLocation Mapper * Add unit tests for EventRegistrationConverters * Add unit tests for TraceLocationEntity mapping * Add events database table to 'TraceLocation' database and remove 'EventRegistration' database * Add database tests for TraceLocations * Fix issue in EventRegistrationModule.kt * Add database tests for checkInDao * Fix detekt maxLineLength issue * Fix inconsistency in TraceLocationEntity.kt * Fix ktlint issues * Inherit from BaseTest or BaseTestInstrumentation in tests * Fix issue in TraceLocationConverters.kt
Kudos, SonarCloud Quality Gate passed! |
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.
WIP