From ddbc228b5265950d83d1fb0d7f9355e10ea80a7a Mon Sep 17 00:00:00 2001 From: Alan Maynard Date: Tue, 23 Apr 2019 17:48:05 -0400 Subject: [PATCH] SWF-17 More wellness implementation - remove deprecated `PaymentScore` and all related logic to calculate this metric - added classes `AvgUtilization`, `HealthyAccounts`, and `LastPayment` interface controllers to display more metrics and add dynamic reports for users with multiple accounts --- .../Base.lproj/Interface.storyboard | 69 ++++++++++++++----- .../AvgUtilizationInterfaceController.swift | 31 +++++++++ .../ConsistencyInterfaceController.swift | 53 -------------- .../HealthyAccountsInterfaceController.swift | 31 +++++++++ .../LastPaymentInterfaceController.swift | 31 +++++++++ .../WellnessInterfaceController.swift | 42 +++-------- .../project.pbxproj | 26 ++++--- 7 files changed, 168 insertions(+), 115 deletions(-) create mode 100644 SynchronyFinancial/SynchronyFinancial WatchKit Extension/AvgUtilizationInterfaceController.swift delete mode 100644 SynchronyFinancial/SynchronyFinancial WatchKit Extension/ConsistencyInterfaceController.swift create mode 100644 SynchronyFinancial/SynchronyFinancial WatchKit Extension/HealthyAccountsInterfaceController.swift create mode 100644 SynchronyFinancial/SynchronyFinancial WatchKit Extension/LastPaymentInterfaceController.swift diff --git a/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard b/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard index 41191cb..a985c9e 100644 --- a/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard +++ b/SynchronyFinancial/SynchronyFinancial WatchKit App/Base.lproj/Interface.storyboard @@ -1,12 +1,12 @@ - + - - + + @@ -79,8 +79,8 @@ - - + @@ -416,26 +416,63 @@ - - - + + - + - + + + + + + + + + + + +