Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Fix/6551 error messages and other bugs #2488

Merged
merged 21 commits into from
Apr 21, 2021

Conversation

nickguendling
Copy link
Contributor

@nickguendling nickguendling commented Apr 20, 2021

Description

Fixes several bugs:

  • Corona test service error messages have their correct localized descriptions
  • Errors on the home screen from loading the test result are shown correctly by loading the test results independently
  • The loading state is left on the Home Screen if updating the test result fails
  • The Home Screen is representing the current state of registered tests (publishers that are not dispatched to the main queue indicate that a value will change, they haven't changed yet!)
  • The warn others reminder is only triggered if the test result screen is shown with a positive, not yet submitted test result
  • Checkins to submit are reset when entering ExposureSubmissionCheckinsViewController so the background submission doesn't submit them if the user stays on the screen
  • Finally we get the original background color back on the Home Screen – white instead of grey. Needs a little creativity in the last footer view to ensure it stays grey even when scrolling.
  • Removes the duplication of warn others view controller initialization in the coordinator

Link to Jira

https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-6525
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-6526
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-6527
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-6550
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-6551
https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-6571

@nickguendling nickguendling added the Fix 2.1 Fix is planned for 2.1 label Apr 20, 2021
@nickguendling nickguendling added this to the v2.1.0 milestone Apr 20, 2021
@nickguendling nickguendling requested a review from a team April 20, 2021 11:32
…cwa-app-ios into fix/6551-error-messages

* 'fix/6551-error-messages' of github.com:corona-warn-app/cwa-app-ios:
  missing variable placeholder
  change of text
  renaming issues
  change in folder
  changes based on feedback
  add logic
  adding strings
  adding tests
…cwa-app-ios into fix/6551-error-messages

* 'fix/6551-error-messages' of github.com:corona-warn-app/cwa-app-ios:
  Remove some unneeded newlines
  Add a comment on why
  Rearrange Backgroundtask
  reset coordinators when showing onboarding
  pass route to home after onboarding
self?.configureLoading()
onUpdate()
if self?.coronaTestService.pcrTest?.finalTestResultReceivedDate == nil {
if testResultIsLoading {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isTestResultLoading ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This way it makes a correct english sentence: "If test result is loading [do x]" I admit being inconsistent with this, but would like to keep it that way.

Copy link
Contributor

@naveeddotio naveeddotio Apr 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's more of a personal style and how you prefer, actually I saw isActivityIndicatorHidden in the next line, so in that context, I found it to be little inconsistent. Anyhow, you have my vote :)

@naveeddotio naveeddotio self-requested a review April 20, 2021 15:48
@nickguendling nickguendling merged commit 687eed4 into release/2.1.x Apr 21, 2021
@nickguendling nickguendling deleted the fix/6551-error-messages branch April 21, 2021 08:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Fix 2.1 Fix is planned for 2.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants