-
-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wire up revision 'thanking' #3318
Conversation
has sub-title label and slightly different theme colors
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I had some trouble getting a thank to go through on labs, had some token issues but that should all work once we move to prod, for now I faked a success to test the UI. I do think we'll need to remember that this revision was thanked for a selected state when we return to this screen. I'll look into that & fixing the up / down arrow disabled state edge cases tomorrow.
} | ||
guard WMFAuthenticationManager.sharedInstance.isLoggedIn else { | ||
wmf_showLoginOrCreateAccountToThankRevisionAuthorPanel(theme: theme, dismissHandler: nil, loginSuccessCompletion: { | ||
self.apply(theme: self.theme) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why apply the theme here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do think we'll need to remember that this revision was thanked for a selected state when we return to this screen.
iirc josh said that was a nice-to-have but not necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cant remember why the theme is applied there 😂
https://phabricator.wikimedia.org/T228790
Based on #3295
Before merging update
base
todevelop
(after #3295 is merged)