-
Notifications
You must be signed in to change notification settings - Fork 781
Remind unverified sessions with a banner once a week (PSG-892) #7694
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
Conversation
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.
LGTM!
<string name="review_logins">Review where you’re logged in</string> | ||
<!-- TODO TO BE REMOVED --> | ||
<string name="verify_other_sessions">Verify all your sessions to ensure your account & messages are safe</string> |
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.
- 🚫 The resource
R.string.review_logins
appears to be unused
<string name="verify_other_sessions">Verify all your sessions to ensure your account & messages are safe</string> | ||
<string name="review_unverified_sessions_title">You have unverified sessions</string> | ||
<string name="review_unverified_sessions_description">Review to ensure your account is safe</string> |
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.
- 🚫 The resource
R.string.verify_other_sessions
appears to be unused
SonarCloud Quality Gate failed. |
Type of change
Content
Currently, we never remind users about their unverified sessions once the alert banner is dismissed. We want to remind users to review unverified sessions in a certain period.
Motivation and context
When we detect a new login on another device, we are showing a "New Login" banner on verified devices. If the user dismisses it we need to show "Review your logins" banners to the user. If the user dismisses this banner too, then we don't show a banner for a while (1 week in current config).
Screenshots / GIFs
Tests
Config.SHOW_UNVERIFIED_SESSIONS_ALERT_AFTER_MILLIS = 60_000
for test purposesTested devices
Checklist