You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update dismiss limiter logic for breakage reporting prompts (#5825)
Task/Issue URL: https://app.asana.com/0/0/1209712075249436/f
### Description
We'd like to alter the logic for refresh breakage prompts to match iOS
in the hopes that this will increase volume similarly.
### Steps to test this PR
Notes:
Apply patch:
https://app.asana.com/app/asana/-/get_asset?asset_id=1209824280082698
Testing values are 7 seconds (between prompts — normally 7 days) and 30
seconds after 3 dismissals (instead of 30 days), so the 3 dismissals in
a row need to happen within those 30 seconds.
_Between-Prompt Cooldown + Max Dismiss Cooldown Logic_
- [x] Load a site
- [x] Refresh 3 times
- [x] Accept the prompt
- [x] Refresh another 3 times immediately
- [x] Verify no prompt (still in cooldown after acceptance)
- [x] Refresh 3 more times after 7-second cooldown has passed
- [x] Verify prompt shows
- [x] Dismiss the prompt
- [x] Refresh another 3 times immediately
- [x] Verify no prompt (still in cooldown after dismissal)
- [x] Refresh 3 more times after 7-second cooldown has passed
- [x] Verify prompt shows
- [x] Dismiss the prompt
- [x] Refresh another 3 times after 7-second cooldown has passed
- [x] Verify prompt shows
- [x] Dismiss the prompt
- [x] After less than 30 seconds refresh another 3 times
- [x] Verify no prompt (still in cooldown)
- [x] Wait out the rest of the cooldown and refresh 3 more times
- [x] Verify prompt shows again
0 commit comments