From 107ea244519bfbc292b5cc7b65310c9e32de46c0 Mon Sep 17 00:00:00 2001 From: Adam Crabtree Date: Thu, 23 May 2019 22:33:15 +0000 Subject: [PATCH] Merged PR 15362: [GraphNotificationsSample][iOS][UI change]Change to make dismiss work correctly What's Changed: 1. Dismiss button now grays out and disables correctly once the Notification is dismissed. 2. The read button now grays out and dissabled correctly once the Notification is read. 3. The notification list now updates notification's in place instead of sending updated notifications (read, dismissed, etc) to the front of the listview. 4. Main menu improvements to center login and label button across all iOS devices. Now displays correctly. 5. Fixed login and logout scenarios for MSA. The new UI updates properly depending on the status of whether you're logged in or not. ---------------------- How verified: 1. Clicked dismiss and saw the notification update correctly in place. 2. Clicked read and saw the notification update correctly in place. 3. Ran the application on both iPhone and iPad to make sure it displayed correctly on both. 4. Logged in with MSA, observed UI update correctly. Logged out of MSA, observed UI update correctly. Logged back in and saw the UI update correctly. Screenshots of UI running on iPad. https://microsoft-my.sharepoint.com/:i:/p/adcrabtr/EV5rE1zE2lhDicbM56araegBx7H7TXKGQ1eM92oDFiZVPA?e=xmhDbS https://microsoft-my.sharepoint.com/:i:/p/adcrabtr/EfklkqSwrzhCkjw1t2z_t5UB5-uB4WHwTIWR9ZRQBe71Xg?e=zRXzbE --- .../Base.lproj/Main.storyboard | 49 +++++++++------- .../LoginViewController.m | 16 ++++-- .../NotificationsManager.m | 6 +- .../NotificationsViewController.m | 16 ++++-- .../SDKSample/iOSSample/main.storyboard | 56 +++++++++---------- iOS/samples/SignInHelpers/src/MSAAccount.m | 4 +- 6 files changed, 84 insertions(+), 63 deletions(-) diff --git a/iOS/samples/GraphNotifications/GraphNotificationsSample/Base.lproj/Main.storyboard b/iOS/samples/GraphNotifications/GraphNotificationsSample/Base.lproj/Main.storyboard index 3ba7b08..af95e06 100644 --- a/iOS/samples/GraphNotifications/GraphNotificationsSample/Base.lproj/Main.storyboard +++ b/iOS/samples/GraphNotifications/GraphNotificationsSample/Base.lproj/Main.storyboard @@ -1,11 +1,11 @@ - + - + @@ -33,9 +33,8 @@ - - - + + + + + + + + + + @@ -173,6 +179,11 @@ + + + + +