Skip to content
Snippets Groups Projects
Unverified Commit e3810adb authored by BMItter's avatar BMItter Committed by GitHub
Browse files

Contact Journal Risk Extension - Risk details contact overview logic &...

Contact Journal Risk Extension - Risk details contact overview logic & peristance (EXPOSUREAPP-4577) (#2142)

* Added AggregatedRiskPerDateResult to AggregatedRisk, Added AggregatedRiskPerDateResult to riskresult database

* Added list of AggregatedRiskPerDateResult to AggregatedRisk, Added AggregatedRiskPerDateResult to riskresult db

* Save aggregated risk per date results

* Override aggregatedRiskPerDateResults

* Delete risk level per date which are older than 2 weeks

* Prepared logic to show risk level per date in contact diary overview

* Test day mapping for risk result

* Added tests for AggregatedRiskPerDateResultDao

* Fixed layouts in contact diary overview

* Show risk in overview

* click adjustments

* Moved logic into view model

* adjusted ListItem

* Added clearing of obsolete aggregated risk per date results, cleaned tests

* detekt & klint clean

* Added test for clearing aggregated risk per date results

* avoid main thread

* Performance up lift by avoiding string templates

* missleading comment

* adjusted filter method

* We dislike flaky tests

* Added testability for migration

* Adjusted day count for journal

* fixed test

* ktlint & detekt

* adjusten retention

* ktlint, detekt

* adjusted ContactDiaryCleanTaskTest

* Add tests for aggregated risk per date result table

Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
parent f8de1560
No related branches found
No related tags found
No related merge requests found
Showing
with 685 additions and 94 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment