- Feb 16, 2021
-
-
Mohamed authored
* Create annotation for Testing screenshots tests * Fix comment * Revert * Fix test * Update comment Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Feb 10, 2021
-
-
AlexanderAlferov authored
* Strings for onboarding * view and image * View attached to onboarding process * Complete onboarding screen * Tests and screen capture * Accessibility * Reformatting * New screen with additional info * New screen with routing * Small change in legal text * Missing sentence in description of contact journal (EXPOSUREAPP-4941) #2309 Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> * Change statistics overview header to 'bundesweite' Statistiken (EXPOSUREAPP-4975) #2305 Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> * Show normal behavior box when tracing disabled (EXPOSUREAPP-4768) #2306 use toolbar Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> * Delta onboarding analytics screen * Delta onboarding navigation * Strings fix * Comment for Kolya * Layout, nav grav and fragments refactoring * Merge conflicts and formatting * Add missing tools:layout and format the file Co-authored-by:
janetback <68653277+janetback@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com> Co-authored-by:
Chilja Gossow <49635654+chiljamgossow@users.noreply.github.com> Co-authored-by:
Mohamed Metwalli <Mohamed.Metwalli@sap.com>
-
- Feb 03, 2021
-
-
Mohamed Metwalli authored
* Add bottom bar * Fix di * Adjust theme * Align content on top of bottom bar * Enhance findNavController * Adjust Bottom Bar * Remove diary card * Remove up button * lint * Adapt MD theme * Fix ui tests * Delete contact diary , handle onboarding * Remove x button * Show bottom nav only for Home and contact diary destinations * Only contact diary overview screen * Adjust alert dialog theme * update docs * Fix close button issue * Revert close button changes * Rename text resources * Make visibility logic flexible for future additions * Fix typo * Setup main activity tests * Add diary overview screenshot test * lint * Disable unmocking * Update Gemfile.lock * Contact diary onboarding's bottom bar behaviour * Update ContactDiaryOnboardingFragmentTest.kt * Refactor screenshots tests * Update Corona-Warn-App/src/main/res/values/strings.xml Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> * Update contact_diary_overview_fragment.xml * Small refactoring * Remove un required gravity * Use accent colour * Move diary settings into vm * Update tests * Update MainActivityViewModelTest.kt * Fix styling in bottom sheet dialog * Keep default delay * klint * Keep default delay Co-authored-by:
Sabine Loss <44154356+SabineLoss@users.noreply.github.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Jan 27, 2021
-
-
Juraj Kusnier authored
* fix tests * Implement StatisticsExplanationFragmentTest * Implement StatisticsTest * Fix old tests * Rename StatisticsTest > StatisticsCardsTest * Fix marge Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Jan 25, 2021
-
-
Mohamed Metwalli authored
* Migrate to dagger2 assisted injection * bump version * Fix Worker test * Fix failing test * Remove Square AssistedInject from Technical file * Set nav-graph in Ui Thread to prevent crashing * bump dagger to 2.31.2
-
- Jan 15, 2021
-
-
Juraj Kusnier authored
* Make Screenshots from Submission Tests * Fix test crash after language change * Implement missing submission flow screenshot tests * Hide keyboard in SubmissionTanFragmentTest * remove SubmissionQrCodeScanFragmentTest implementation * fix TestApplication implementation * introduce SCREENSHOT_DELAY_TIME * Code refactoring * fix merge error * Implement SubmissionYourConsentFragment screenshots * Implement SubmissionSymptomCalendarFragment screenshots * Implement SubmissionConsentFragmentTest screenshots
-
- Jan 14, 2021
-
-
Mohamed Metwalli authored
-
- Jan 13, 2021
-
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
* Add screenshot test for risk calculation * Update Todo * Add name suffix Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Mohamed Metwalli authored
-
- Jan 12, 2021
-
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
- Jan 07, 2021
-
-
Mohamed Metwalli authored
-
- Jan 06, 2021
-
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
- Jan 05, 2021
-
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
* Add tooling layout tag for better overview * Ignore error for ProtectedPermissions * Add instrumentation tests to capture screenshots in Onboarding flow * Specify java version to avoid assembling APK failure * Define custom annotation for tests * Use fastlane Screengrab * ignore screenshots folder * Remove redundant imports and rules * Add View assertion to make sure Fragment is already displaying its views to avoid capturing blank screenshots * List some configurations for fastlane * Add TODO for locale change * Allow timestamp suffix to have different screenshots names * Scroll and grab another screenshot in OnboardingFragment * Delete import * Filter tests using Screenshot annotation * Add locale change rule in UI tests * Limit screenshots only for DE locale * Enable screenshots for all locales * Enable screenshot test * lint cleaning * Use JavaVersion to specify java version * Add an inline function that defaults to AppTheme * Update dcos for launchFragmentInContainer2 * lint * Define generic apk_path * Support cleaning device status bar before taking screenshot * Correct docs Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
Mohamed Metwalli authored
-
- Jan 04, 2021
-
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
- Dec 30, 2020
-
-
Mohamed Metwalli authored
-
- Dec 29, 2020
-
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
Mohamed Metwalli authored
-
- Dec 16, 2020
-
-
Kolya Opahle authored
-
- Dec 14, 2020
-
-
Matthias Urhahn authored
* implemented dao, entitiy, database, module - wip * Added cross ref classes for joining data * Adjusted daos * - Added ContactDiaryModule to AppComponent - Reduced code a bit * missing interface change * Uniform naming * Defined methods for contact diary repo * added mapper extension * fixed naming, Implement contact diary repo * Added repo to module, Flows shall return lists * Added foreign key constraints - outdated * Clear contact diary database on DataReset, removed unneccessary element * removed singletons * adjustments to new tech spec * Adjusted daos from stash * Added new daos to related classes * Redefined contact diary repo * Implemented contact diary repo * Added mission dao annotations * sorting opportunity * sourcecheck clean * cleanUp, added db schema, removed old stuff * missing call * ForeigenKey must be in entity declaration * Added contact diary db test, removed broken tests * added autogenerate primarykey * Moved data joining from App-Lvl to database * Explicit naming in entities * sourcecheck & ktlint clean Co-authored-by:
BMItter <berndus@gmx.de>
-
- Dec 03, 2020
-
-
Matthias Urhahn authored
* Submission upload, first draft. Storing Symptoms and TEKs. TODO: * Change upload task to use stored data. * Blocking upload task * Tests * Update symptoms on each screen. Integrate permission request and automatic TEK history update. TODO: * Cancel dialog * Blocking upload task * Tests * Add submission on cancel behavior. * LINTs and unit tests. * Hooking up navigation and first break through on TAN based submission. * Hook up navigation for QR Code to test result without consent. * Fix positive result consent given submission: Abort to Main Screen * Restore default environment. * Adjust notification target fragment. * Address LINTs * Clean up symptoms introduction nav actions. * Fix tests
-
- Dec 02, 2020
-
-
AlexanderAlferov authored
* Your test result available screen * Formatting * Lint fix
-
- Nov 30, 2020
-
-
Oliver Zimmerman authored
-
- Nov 29, 2020
-
-
Oliver Zimmerman authored
-
- Oct 30, 2020
-
-
Matthias Urhahn authored
* Initial refactoring on the Submission flow. Trimming down SubmissionViewModel.kt * Refactored submission tan, and began instrumentation tests. Intro, Dispatcher and Tan complete * Adapted instrumentation tests after merge - added ToDos * Completed boilerplate submission instrumentation tests. Verification and screenshots to follow * Fix lints * More lint issues. * Fix instrumentation test dependency missmatch. * Move screenshot related permissions into a debug AndroidManifest.xml, such that they don't get included in production builds. * Added missing new line to manifest Co-authored-by:
Oliver Zimmerman <oezimmerman@gmail.com> Co-authored-by:
Kolya Opahle <k.opahle@sap.com> Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com>
-
- Oct 19, 2020
-
-
Matthias Urhahn authored
* Introduced `TracingCardState` and `TracingDetailsState`. Removed all direct viewmodel/livedata access from all nested layouts for `TracingViewModel`. Removed `FormatterRiskHelper`. Introduced logic to reactively update the UI state if bluetooth, location or tracing state changes. TODO: * Finish tests in TracingCardStateTest.kt and TracingDetailsStateTest.kt * Finish TracingDetailsViewModel.kt and TracingCardViewModel.kt * Remove obsolete dependencies on TracingViewModel.kt and singletons RiskLevelRepository.kt, TracingRepository.kt * Breakthrough, cards update again. * Further cleanup of TracingViewModel.kt, TracingRepository.kt Still not quite there yet, too many calls going into every direction, back and forth, instead of just top->down, but we are getting there. We want data flow from business logic code to the UI, keep the UI KISS. * Update TracingCardState tests to account for changes * More refactoring, TracingViewModel.kt is now finally gone. * Fix risk details card, we reuse the cardviewmodel but need to overwrite the `showDetails` flag depending from where it's used. * Refactored several properties (notification related) out of SettingsViewModel/Repository * Fix injection * Refactoring submission related databinding code on the home fragment * Make TracingRepository.kt injectable and change viewmodel scoping for refresh calls to app scope. * Remove additional formatter calls from submission cards on home screen. * Refactored additional SubmissionViewModel logic into SubmissionRepository on the Homescreen. First UI Test is now passing. Simplified ViewModel instantiation related code. Prepared HomeFragment for smoother UI state changes, less reloading. * Improved home,tracing-details and tracing-settings loading behavior, less flickering. Fixed LiveData value assignment on background-thread. * New reactive provider for Bluetooth and Location status. Cleaned up ConnectivityHelper.kt partially. * Implement remaining tests, batch 1. * Implement remaining tests, batch 2. * Fix lint issues. * Removed a few codesmells and code duplication. Introduced Flow.shareLatest(...) * Removed unused parameters. * LINT fixes. * Fix unit test failing due to missing mocks. * Address PR comments. * Improve UI loading states, remove flickering. * Remove log spam due to polling values, add extra abort condition that checks for cancellation. Co-authored-by:
ralfgehrer <mail@ralfgehrer.com>
-
- Oct 14, 2020
-
-
Alex Paulescu authored
* Added MVVM and DI to OnboardingFragment * Refactored OnboardingFragment to work with MVVM and DI * Refactored OnboardingPrivacyFragment to work with MVVM and DI * Moved navigation functions from OnboardingTracingFragment to VM * Refactored OnboardingTestFragment to work with MVVM and DI * Refactored OnboardingNotificationsFragment to work with MVVM and DI * Added ktlintFormat changes * Added intstrumentation tests skeleton for each fragment in Onboarding flow * Removed unused import * Changed Onboarding fragment top constraint * Removed unnecessary VM declaration from layouts * Added requested changes * Added new lineat end of files Co-authored-by:
harambasicluka <64483219+harambasicluka@users.noreply.github.com> Co-authored-by:
Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by:
Ralf Gehrer <ralfgehrer@users.noreply.github.com>
-
- Oct 07, 2020
-
-
Matthias Urhahn authored
Introduce VM injection for home screen and enable screen testing (EXPOSUREAPP-2946, EXPOSUREAPP-2948) (#1320) * Rename "MainFragment" to "HomeFragment" Add VM injection. Move initial logic into VM. TODO: Move more code, write more tests. * Additional refactoring, moving logic out of the Fragment. Moving code into their own encapsulated routines/components. Use composition to reuse TracingViewModel, SettingsViewModel and SubmissionViewModel * Introduce @AppContext annotation to prevent anyone mistaking it for something else. * Add VM to RiskDetailsFragment * Simplify nested viewmodels, here: TracingViewModel.kt * Add skeletons instrumentation test skeleton for single fragments with injection and mocking. * Address PR comments. * Introduce sealed events class, + some refactoring. * Make the linter happy.
-