CS342 / 2023-Utah

The CS342 2023 U-STEP Project
MIT License
0 stars 3 forks source link

Add survey timestamps to Firebase #98

Closed jenlmoore closed 1 year ago

jenlmoore commented 1 year ago

Add survey timestamps to Firebase

:recycle: Current situation & Problem

We don't store the timestamp of when the last survey was taken. Need it for the trends page.

:bulb: Proposed solution

Store the timestamp.

:gear: Release Notes

:heavy_plus_sign: Additional Information

It is under the 'dateCompleted' field.

Related PRs

Reviewer Nudging

Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

codecov[bot] commented 1 year ago

Codecov Report

Merging #98 (9297646) into main (f5789bc) will increase coverage by 3.38%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #98      +/-   ##
==========================================
+ Coverage   82.38%   85.76%   +3.38%     
==========================================
  Files          62       62              
  Lines        2394     2393       -1     
==========================================
+ Hits         1972     2052      +80     
+ Misses        422      341      -81     
Impacted Files Coverage Δ
...tahSchedule/Edmonton/EdmontonViewCoordinator.swift 0.00% <ø> (ø)
...es/UtahSchedule/VEINES/VEINESViewCoordinator.swift 0.00% <ø> (ø)
.../Sources/UtahSchedule/WIQ/WIQViewCoordinator.swift 85.72% <ø> (ø)
UtahUITests/OnboardingTests.swift 97.12% <100.00%> (+15.22%) :arrow_up:
...es/Sources/UtahOnboardingFlow/OnboardingFlow.swift 96.16% <0.00%> (+7.70%) :arrow_up:
...Sources/UtahOnboardingFlow/ConditionQuestion.swift 91.67% <0.00%> (+20.84%) :arrow_up:
...es/Sources/UtahOnboardingFlow/TaskScheduling.swift 24.18% <0.00%> (+24.18%) :arrow_up:
...rces/UtahOnboardingFlow/HealthKitPermissions.swift 88.58% <0.00%> (+88.58%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 801630d...9297646. Read the comment docs.