-
Notifications
You must be signed in to change notification settings - Fork 918
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
Rename report flow param from prompt to reload-three-times-within-20-seconds #5339
base: develop
Are you sure you want to change the base?
Rename report flow param from prompt to reload-three-times-within-20-seconds #5339
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
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, left one question.
@@ -99,7 +99,7 @@ class PrivacyDashboardHybridActivity : DuckDuckGoActivity() { | |||
is BrokenSiteForm -> { | |||
when (params.reportFlow) { | |||
BrokenSiteForm.BrokenSiteFormReportFlow.MENU -> ReportFlow.MENU | |||
BrokenSiteForm.BrokenSiteFormReportFlow.PROMPT -> ReportFlow.PROMPT | |||
BrokenSiteForm.BrokenSiteFormReportFlow.PROMPT -> ReportFlow.RELOAD_THREE_TIMES_WITHIN_20_SECONDS |
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.
Should we also rename BrokenSiteForm.BrokenSiteFormReportFlow.PROMPT
?
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 only important thing is the string, but still, we should rename this for consistency. Done
Task/Issue URL: https://app.asana.com/0/0/1208889990660025/f
Description
Align reportFlow value with the spec. reportFlow -> reload-three-times-within-20-seconds
Steps to test this PR
n/a
UI changes
n/a