Skip to content
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

UI for autofill breakage reports #4741

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

CDRussell
Copy link
Member

@CDRussell CDRussell commented Jul 9, 2024

Task/Issue URL: https://app.asana.com/0/608920331025315/1207767049586685/f

Description

Adds the UI for showing the option to send an autofill breakage report.

Note, this branch doesn't actually submit the report or suppress the prompt from showing again.

Steps to test this PR

ℹ️ Local hack to enable feature: In AutofillSiteBreakageReportingFeature, set default value to true


Verifying it doesn't show unexpectedly

  • Fresh install
  • Tap on overflow->Passwords; verify you do not see the "report a problem" view
  • Manually add a password for fill.dev, and press back after saving. verify you do not see the "report a problem" view
  • Return to browser and visit a different site, e.g., example.com
  • Tap on overflow->Passwords; verify you do not see the "report a problem" view
  • Visit fill.dev. This time, access passwords from Settings (not directly from the overflow.) verify you do not see the "report a problem" view

Verifying it does show when it should

  • With a password saved for fill.dev already, visit fill.dev
  • Tap on overflow->Passwords; verify you do see the "report a problem" view

Verifying it behaves when tapped on

  • Tap on "Report a problem with autofill"
  • Verify prompt looks good against designs
  • Tap Send Report and verify confirmation snackbar looks good

Verifying feature flag works

  • Remove your local hack so that the feature defaults to false (and remote config isn't yet set up for it anyway)
  • With a password saved for fill.dev already, visit fill.dev
  • Tap on overflow->Passwords; verify you do not see the "report a problem" view

output

@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_feature_flag branch from 3dc3d78 to 88109c2 Compare July 15, 2024 12:44
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch from 858a026 to 718d41b Compare July 15, 2024 12:44
@CDRussell CDRussell mentioned this pull request Jul 15, 2024
6 tasks
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_feature_flag branch from 88109c2 to 2ed96d2 Compare July 15, 2024 13:14
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch from 718d41b to 36d9304 Compare July 15, 2024 13:14
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_feature_flag branch from 2ed96d2 to d46e489 Compare July 16, 2024 11:35
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch from 36d9304 to 23416a6 Compare July 16, 2024 11:35
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch from 23416a6 to 76bff44 Compare July 16, 2024 12:21
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_feature_flag branch from d46e489 to 674ec35 Compare July 17, 2024 14:14
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch 3 times, most recently from f423d38 to 858780a Compare July 17, 2024 16:03
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_feature_flag branch from 674ec35 to adc3a00 Compare July 17, 2024 16:12
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch from 858780a to f0c83d6 Compare July 17, 2024 16:13
@CDRussell CDRussell marked this pull request as ready for review July 17, 2024 16:16
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_feature_flag branch from adc3a00 to 65682e8 Compare July 17, 2024 16:23
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch from f0c83d6 to cf8540b Compare July 17, 2024 16:23
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_feature_flag branch from 65682e8 to 6c2277e Compare July 18, 2024 15:52
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch 2 times, most recently from 581d166 to 0aadda2 Compare July 19, 2024 12:23
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_feature_flag branch from 6c2277e to 5be0408 Compare July 19, 2024 14:12
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch from 0aadda2 to 705ce45 Compare July 19, 2024 14:12
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch from 705ce45 to eb7d771 Compare July 23, 2024 08:41
Copy link
Contributor

@cmonfortep cmonfortep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_feature_flag branch from 5be0408 to 8dde33f Compare July 24, 2024 09:55
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch from eb7d771 to 26e5a1d Compare July 24, 2024 09:55
Copy link
Member Author

CDRussell commented Jul 24, 2024

Merge activity

  • Jul 24, 5:55 PM EDT: @CDRussell started a stack merge that includes this pull request via Graphite.
  • Jul 24, 5:56 PM EDT: Graphite rebased this pull request as part of a merge.
  • Jul 24, 6:11 PM EDT: @CDRussell merged this pull request with Graphite.

Base automatically changed from feature/craig/autofill_failure_reporting_feature_flag to develop July 24, 2024 21:55
@CDRussell CDRussell force-pushed the feature/craig/autofill_failure_reporting_ui branch from 26e5a1d to 34589e0 Compare July 24, 2024 21:56
@CDRussell CDRussell merged commit 4b0ead2 into develop Jul 24, 2024
5 checks passed
@CDRussell CDRussell deleted the feature/craig/autofill_failure_reporting_ui branch July 24, 2024 22:11
laghee pushed a commit that referenced this pull request Aug 3, 2024
Task/Issue URL: https://app.asana.com/0/608920331025315/1207767049586685/f 

### Description
Adds the UI for showing the option to send an autofill breakage report.

Note, this branch doesn't actually submit the report or suppress the prompt from showing again.

### Steps to test this PR

ℹ️  Local hack to enable feature: In `AutofillSiteBreakageReportingFeature`, set default value to `true`

---

**Verifying it doesn't show unexpectedly**
- [ ] Fresh install
- [ ] Tap on overflow->Passwords; verify you do **not** see the "report a problem" view
- [ ] Manually add a password for `fill.dev`, and press back after saving. verify you do **not** see the "report a problem" view
- [ ] Return to browser and visit a different site, e.g., `example.com`
- [ ] Tap on overflow->Passwords; verify you do **not** see the "report a problem" view
- [ ] Visit `fill.dev`. This time, access passwords from `Settings` (not directly from the overflow.) verify you do **not** see the "report a problem" view

**Verifying it does show when it should**
- [ ] With a password saved for `fill.dev` already, visit `fill.dev`
- [ ] Tap on overflow->Passwords; verify you **do** see the "report a problem" view

**Verifying it behaves when tapped on**
- [ ] Tap on "Report a problem with autofill"
- [ ] Verify prompt looks good against designs
- [ ] Tap `Send Report` and verify confirmation snackbar looks good

**Verifying feature flag works**
- [ ] Remove your local hack so that the feature defaults to `false` (and remote config isn't yet set up for it anyway)
- [ ] With a password saved for `fill.dev` already, visit `fill.dev`
- [ ] Tap on overflow->Passwords; verify you do **not** see the "report a problem" view


![output](https://github.com/user-attachments/assets/6ae3326b-81dc-4f61-a762-7f57ddaaca32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants