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

Conversation

30mar
Copy link
Contributor

@30mar 30mar commented Mar 15, 2023

Description

make sure home screen is updated by subscribing to notification didBecomeActive
Note we are now reloading the whole table view because we are refreshing almost all the sections not just one or 2 like the past.

Link to Jira

https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-14950

##Video
https://user-images.githubusercontent.com/15270737/225344504-94bb80f8-bd97-49a6-acc8-63c1ff5f0472.MP4

@30mar 30mar added the bug Something isn't working label Mar 15, 2023
@30mar 30mar added this to the v3.2.0 milestone Mar 15, 2023
@30mar 30mar requested a review from a team March 15, 2023 14:36
Copy link
Contributor

@flxschmidt flxschmidt left a comment

Choose a reason for hiding this comment

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

Good approach! let's clarify the open questions. Please still add the PR Title prefix from the ticket.

@@ -102,28 +102,6 @@ class HomeTableViewController: UITableViewController, NavigationBarOpacityDelega
)
}
.store(in: &subscriptions)

viewModel.cclService.shouldShowNoticeTile
Copy link
Contributor

Choose a reason for hiding this comment

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

With this deletion we would ignore the CCL config for App Closure Notice. I know it makes sense, because we show either the notice or the thank-you tile. But is it aligned with the Tech Spec?

@@ -366,7 +365,7 @@ class HomeTableViewModel {
return 1
}
#endif
if shouldShowAppClosureNotice, !isHibernationState {
Copy link
Contributor

Choose a reason for hiding this comment

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

As mentioned above, that's a static decision, without CCL config.

@30mar 30mar changed the base branch from story/14427-ramp-down-cwa to release/ramp-down.x March 16, 2023 09:10
@30mar 30mar requested a review from a team March 16, 2023 09:10
30mar and others added 5 commits March 16, 2023 10:10
…actualized-in-background-after-switching-to-hibernation-state
…fter-switching-to-hibernation-state' of github.com:corona-warn-app/cwa-app-ios into fix/14950-Home-screen-is-not-actualized-in-background-after-switching-to-hibernation-state
@naveeddotio naveeddotio changed the title update homescreen when app becomes active Update homescreen when app becomes active Mar 16, 2023
…actualized-in-background-after-switching-to-hibernation-state
@30mar 30mar merged commit 2bb1761 into release/ramp-down.x Mar 16, 2023
@30mar 30mar deleted the fix/14950-Home-screen-is-not-actualized-in-background-after-switching-to-hibernation-state branch March 16, 2023 16:32
@naveeddotio naveeddotio changed the title Update homescreen when app becomes active Fix/14950 Update homescreen when app becomes active Mar 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants