Skip to content
Snippets Groups Projects
  1. Feb 11, 2021
  2. Feb 10, 2021
  3. Feb 05, 2021
    • Chilja Gossow's avatar
      Scrolling issues with back navigation from Statistics Info screen to... · 68955c9d
      Chilja Gossow authored
      Scrolling issues with back navigation from Statistics Info screen to Homescreen (EXPOSUREAPP-4771) #2264
      
      * remove state fetching when submission is done
      
      * keep instance
      
      * test
      
      * rollback
      
      * rollback
      
      * rollback
      
      * rollback
      
      * save state
      
      * clean up
      
      * refactor refreshUiState to not issue unnecessary states
      
      * remove references after usage
      
      * move to home adapter
      
      * remove reference to holder
      
      * adds tests to make sure ui states are still correct
      
      * rename
      
      * Add an adapter module that handles a voluntary ViewHolder state saving mechanism.
      
      * Merge branch 'fix/4771-home-flickering-polish' into fix/4771-home-flickering
      
      # Conflicts:
      #	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/statistics/ui/homecards/StatisticsHomeCard.kt
      #	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/main/home/HomeAdapter.kt
      
      * revert
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      68955c9d
  4. Feb 03, 2021
    • BMItter's avatar
      Survey Event UI Base (EXPOSUREAPP-4807, 4808 ) (#2271) · da192e1f
      BMItter authored
      * tracing survey card implemented - wip
      
      * Added user survey to risk details
      
      * Fixed button noch clickable
      
      * use card as parent, minor adjustments
      
      * new layouts for survey, vectors, fragment, viewmodel - wip
      
      * Moved fragment and viewmodel to correct spot
      
      * Adjusted fragment and vm
      
      * align with package structure
      
      * Added module
      
      * event handling for upcomiing navigation
      
      * Navigation from tracing details to survey consent fragment
      
      * ktlint, detekt
      
      * adjusted res
      
      * Pass type of survey
      
      * klint
      
      * Add click listener for next button, Request url from surveys (example)
      
      * ktlint
      
      * string res cleanup
      
      * Added states
      
      * delete obsolet layout
      
      * empty space removed
      
      * comment- data class added
      
      * addressed reformatting issues
      
      * bigger headline for survey headline
      
      * adjusted view behaviour to match figma
      da192e1f
    • Mohamed Metwalli's avatar
      Add Tab bar (EXPOSUREAPP-4639) (#2235) · bbe46007
      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
      
      * Contact diary onboarding's bottom bar behaviour
      
      * Update ContactDiaryOnboardingFragmentTest.kt
      
      * Update Corona-Warn-App/src/main/res/values/strings.xml
      
      Co-authored-by: default avatarSabine 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 MainActivityViewModelTest.kt
      
      * Fix styling in bottom sheet dialog
      
      Co-authored-by: default avatarSabine Loss <44154356+SabineLoss@users.noreply.github.com>
      Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
      bbe46007
    • Matthias Urhahn's avatar
      PPA UserInput Selection Screens (EXPOSUREAPP-4752) (#2270) · e9391c01
      Matthias Urhahn authored
      * PPA User Input Strings
      
      * Data Donation: PPA User Input.
      First draft.
      
      TODO:
      Districts
      Tests
      
      * Fix interaction with radio button..
      Fix state matching for NRW
      Add district mapping and display.
      Fix "unspecified" element position.
      
      * Test skeletons.
      
      * Finish unit tests.
      
      * Wish the LINTer a nice evening.
      
      * Move extension functions into their own file and make them public to allow label-related code to be reused on the settings screen.
      Additional unit tests that check the federal state short code mapping.
      
      * XML formatting.
      
      * Address additional PR comments.
      
      * Adjust radiobutton accent color.
      e9391c01
  5. Feb 02, 2021
  6. Feb 01, 2021
  7. Jan 27, 2021
  8. Jan 20, 2021
  9. Jan 12, 2021
  10. Jan 07, 2021
    • Matthias Urhahn's avatar
      Add debug log feature for non-tester builds (EXPOSUREAPP-4451) (#2029) · 54ddd11e
      Matthias Urhahn authored
      
      * Initial draft for user accessible debug logs in production.
      
      TODO: Sharing, Tests, Cleanup FileLoggerTree?
      
      * Ready strings for translation.
      
      * Log file compression for sharing (zip).
      
      * Add log sharing
      
      * Change how DebugLogger is initialized to make sure we can record issues that happen very early in the apps lifecycle.
      
      * Add missing toolbar back arrow navigation.
      
      * Fix initial delay for ui state emissions.
      
      * Censor registration token.
      
      * Adjust warning regarding sensitive data in debug logs.
      
      * Use property injection instead of component getters.
      
      * Hide option until greenlit.
      
      * Add test for RegistrationTokenCensor
      
      * Unit tests.
      
      * Make unit test without triggerfile more specific.
      
      * LINTs
      
      * Fix missing injection provider in release mode.
      
      * Fix regtoken censor if condition.
      
      * Fix typos.
      
      * Remove empty manifest specific to deviceForTesters build.
      
      * Wait until log job is canceled before deleting log files.
      Otherwise a race condition could lead to file creation after job cancellation.
      
      * Replace runBlockingTest with runBlocking we don't need scheduler control and runBlockingTest is sometimes unreliable.
      
      * Refactor FileSharing to use compat builder from androidx.
      
      * Handle exceptions on debug log start()
      
      * Print device infos when log is started.
      
      * Text changes requested by UA
      
      Co-authored-by: default avatarralfgehrer <mail@ralfgehrer.com>
      54ddd11e
  11. Jan 05, 2021
    • Mohamed Metwalli's avatar
      Create Instrumentation tests & screenshots for the Onboarding flow (EXPOSUREAPP-4478) #2015 · e2eb813b
      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: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      e2eb813b
  12. Dec 29, 2020
  13. Dec 28, 2020
  14. Dec 22, 2020
    • Matthias Urhahn's avatar
      Refactor home-screen and tracing details fragment (EXPOSUREAPP-4049) (#1912) · 2880971e
      Matthias Urhahn authored
      
      * Refactor home-screen and tracing details fragment.
      * Use recycler view to display list items
      * Remove nested/included layouts and make Android Studio layout previews functional
      * Split list items into independent elements (positive/negative/pending)
      * Layout cleanups & flattening
      * Small padding and alignment fixes
      
      * Clean up tests and fix class names.
      
      * Move UI classes towards "package by feature", each feature has their own ui package.
      
      * LINTs
      
      * Fix log statements.
      
      * Only crash in tester builds.
      
      * Update Corona-Warn-App/src/main/java/de/rki/coronawarnapp/ui/main/home/HomeAdapter.kt
      
      Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>
      
      * Refactor adapter init.
      
      * LINT
      
      * Remove "card" from property name, the "TracingStateProvider" is UI agnostic.
      
      * LINTs
      
      * Don't show the risk card if there is a positive test result.
      
      * Fix crash on init with unknown resource IDs (before data binding is available).
      
      * Fix progress card not being colored in risk details fragment
      
      * LINTs
      
      * Prepare viewholders for payload use.
      
      * Update Corona-Warn-App/src/main/res/layout/home_fragment_layout.xml
      
      Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>
      
      * Improve toolbar and tracing bar behavior, scrollable, fewer nested layouts.
      
      * Adjust popup theme.
      
      * Remove color state list for cards, click behavior is done via `selectableItemBackground`
      
      * Fix visual artifact when expanding toolbar menu.
      
      * Align box coloring in dark mode and click animation.
      
      * Fix flickering Test and FAQ card.
      
      * Fix missing "enable tracing" button in home card.
      
      * Fix risk/tracing details elevation/dividers in light and dark mode
      
      * Resolve merge regressions and include contact diary card via recyclerview.
      
      * Adjust toolbar background color to new mockups (diary mockups have lighter darkmode).
      
      * Update Corona-Warn-App/src/main/res/layout/home_card_container_layout.xml
      
      Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>
      
      * Update Corona-Warn-App/src/main/res/layout/tracing_content_failed_view.xml
      
      Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>
      
      * Tint card background color. Just replacing the background didn't ahve the desired effect.
      
      * Fix possible NPE on last encounter calculation.
      
      * LINTs and typos.
      
      Co-authored-by: default avatarfynngodau <fynngodau@mailbox.org>
      2880971e
  15. Dec 18, 2020
  16. Dec 17, 2020
    • Chilja Gossow's avatar
      Contact diary edit screens (EXPOSUREAPP-4161 EXPOSUREAPP-4162) (#1908) · 063442b6
      Chilja Gossow authored
      * Merge branch 'feature/4152-contact-diary' of https://github.com/corona-warn-app/cwa-app-android into feature/4152-contact-diary
      
      # Conflicts:
      #	Corona-Warn-App/schemas/de.rki.coronawarnapp.contactdiary.storage.ContactDiaryDatabase/1.json
      #	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/util/DataReset.kt
      
      * clean up DI
      
      * add recycler view
      
      * clean up
      
      * new texts
      
      * clean up
      
      * clean up
      
      * background, dialog
      
      * klint
      
      * klint
      
      * klint
      
      * review comments
      
      * review comments
      
      * review comments
      
      * Merge branch 'feature/4152-contact-diary' into feature/4161-4162-edit-person-location
      
      # Conflicts:
      #	Corona-Warn-App/src/main/java/de/rki/coronawarnapp/contactdiary/ui/onboarding/ContactDiaryOnboardingFragment.kt
      063442b6
  17. Dec 16, 2020
  18. Dec 15, 2020
    • BMItter's avatar
      Contact Diary - Overview Screen, Calender (Draft, EXPOSUREAPP-4155) (#1892) · 93c7b176
      BMItter authored
      
      * Added basic layout
      
      * Added translation support
      
      * Added darkmode images
      
      * Included dimens in layout
      
      * Added navigation to onboarding fragment
      
      * Changed AndroidManifest to support new contact diary activity
      
      * Updated translation files
      
      * Added missing image
      Updated text styling
      Changed layout naming
      
      * Added back navigation
      
      * Updated layout
      
      * Added direct link to privacy information
      
      * repair PR commit
      
      * Changed back navigation
      
      * repair
      
      * skeleton for overview / calender view
      
      * Added classes to display the overview fragment
      Connected overview to onboarding fragment
      
      * Added missing classes
      
      * Added basic overview layout
      
      * Added list element
      Added new icons for light and dark mode
      
      * Added missing icons
      
      * Added recycler view adapter
      
      * Added icons for list items
      
      * added layout for nested recycler view
      
      * Replaced leftovers of ContactDiaryElement with ListItem
      
      * Added toolbar menu
      
      * Added back navigation to home screen
      
      * Changed layout to dimens
      
      * Combine data to list items
      
      * Show locations and persons
      
      * sourceCheck & lint clean
      
      * List item data as inner class
      
      * Fixed nested layout
      
      * Created nested recycler view for person and location data
      
      * Added pseudo navigation
      
      * changed inject position to the top
      
      * removed comment from layout
      
      * Added const val for count of days to boost the quality
      
      * Remove unused xml
      removed cast
      removed unused method from ContactDiaryActivity
      
      * Aligned Adapters to avoid confusion overload
      
      * cleaned
      
      * Updated layout
      
      * Added strings
      
      * fixed merge deletion
      
      * fix recycler height
      
      * added little scrollbar to recycler
      
      * little bit more space to top element
      
      * Updated layout
      
      * Created storage module for storage related stuff
      
      * Updated list items
      
      Remove return statement
      
      Co-authored-by: default avatarI502720 <axel.herbstreith@sap.com>
      93c7b176
    • axelherbstreith's avatar
      Contact Diary - Onboarding screen (EXPOSUREAPP-4154) (#1868) · a387257d
      axelherbstreith authored
      
      * Added basic layout
      
      * Added translation support
      
      * Added darkmode images
      
      * Included dimens in layout
      
      * Added navigation to onboarding fragment
      
      * Changed AndroidManifest to support new contact diary activity
      
      * Updated translation files
      
      * Added missing image
      Updated text styling
      Changed layout naming
      
      * Added back navigation
      
      * Updated layout
      
      * Added direct link to privacy information
      
      * repair PR commit
      
      * Changed back navigation
      
      * repair
      
      * Changed information text
      
      * Fixed typo in module
      
      * updated strings
      
      * Aligned back navigation
      
      * Changed margins
      Remove unused back navigation functionality
      
      * Added missing dimens
      
      * Added missing dimens
      Added updated icons
      Added final layout
      Updated strings
      Updated viewmodel
      removed unused code
      
      * Moved contact diary strings
      
      * Moved strings
      Added line breaks
      added dimens to dividers
      
      Co-authored-by: default avatarBMItter <berndus@gmx.de>
      a387257d
  19. Dec 11, 2020
  20. Dec 10, 2020
    • Oliver Zimmerman's avatar
      Implement Card on Homescreen "Ihr Testergebnis liegt vor" (EXPOSUREAPP-4212) (#1852) · e2c6ca3e
      Oliver Zimmerman authored
      
      * Started new card includes.
      
      * Strings added, card layout complete
      
      * Added boolean value for whether or not test result has been seen. Implemented new card.
      
      * Adjusted true / false conditions
      
      * Added navigation for new card and button.
      
      * Added additional case where test result is negative and not seen
      
      * Adjusted navigation, added check for positive card on homescreen to not show unless test result has been seen
      
      * Added doNavigate - whoops.
      
      * Lint fixes
      
      * Adjust existing tests
      
      * More test adjustments.
      
      * More test adjustments
      
      * Nicjed submissionSettings.hasViewedTestResult
      
      * Removed duplicate string value.
      
      * Make risk card visible with new card, regardless of result.
      
      * Added small test for new card.
      
      * Overhaul. Now using LiveData and observing within fragment for true/false value for 'gone' in XML layout
      
      * Unfix the 'fixed' tests
      
      * Lint, trailing comma
      
      * Refix some tests that the unfixing didn't.... fix.
      
      * Reset test related settings.
      
      * Change button to match iOS design and actually make sense...
      
      * Fixed merge regressions and adjusted card states.
      
      * Adjusted tests after refactor
      
      * Changes to not break reminder that was relying on changed function
      
      * Test changes, instance now contains hasResultBeenSeen boolean
      
      * More test adjustments
      
      * Added resetTestRelatedSettings to removeTestFromDevice.
      
      * Set to test related prefs to false within Repository rather than Settings.
      
      Co-authored-by: default avatarMatthias Urhahn <matthias.urhahn@sap.com>
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
    • Matthias Urhahn's avatar
      Fix issues with TEK submission flow (EXPOSUREAPP-4189, EXPOSUREAPP-4215) (#1840) · a29354c0
      Matthias Urhahn authored
      * Draft:
      Split up test result fragment into pending and negative.
      
      * TODO pending fragment needs to forward automatically when the result is available
      * When do we check if tracing is enabled?
      
      * When we receive a non-pending test result while on the pending-result fragment, we forward automatically to the right screen.
      
      * Clean up pending test result layout.
      
      * Extract invalid test result fragment into it's own screen.
      
      * LINTs
      
      * Remove unused problematic API.
      
      * Fix merge regressions.
      
      * Address PR comments: Improve navigation.
      a29354c0
    • Matthias Urhahn's avatar
      Move update check off mainthread (EXPOSUREAPP-4203) (#1857) · 6791829f
      Matthias Urhahn authored
      
      * Don't execute the update checker (and it updating the config) on the main thread.
      
      * LINTs
      
      * Add unit tests for launcher viewmodel and update checker edge cases.
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      6791829f
  21. Dec 08, 2020
  22. Dec 07, 2020
  23. Dec 03, 2020
    • Matthias Urhahn's avatar
      Submission upload (EXPOSUREAPP-3748) (#1794) · 950653c1
      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
    • Rituraj Sambherao's avatar
      Submission flow no consent Thank you screen (EXPOSUREAPP-3751) (#1738) · 77d944ef
      Rituraj Sambherao authored
      
      * initial commit : Views / layouts and string resources created
      
      * ViewModel Created for SubmissionDoneNoConsentFragment
      
      * Removed todo statements to prevent pipeline from breaking
      
      * pipeline fix : unused import
      
      * Thank you screen refinement, nav_graph, text updated
      
      * navigation to home screen and symptom intro screen added
      
      * detekt pipeline issue resolved
      
      * dimension adjusted upon review
      
      * unused import removed , function name changed
      
      * minor changes
      
      * removed include layouts
      changed fun name to more readable
      
      * redundant guideline removed
      
      Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
      77d944ef
  24. Dec 02, 2020
  25. Nov 29, 2020
  26. Nov 26, 2020
  27. Oct 30, 2020
Loading