Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Issue #10836: Add Facts for Credit Card Autofill Feature #10837

Merged
merged 2 commits into from
Sep 1, 2021

Conversation

rocketsroger
Copy link
Contributor

Pull Request checklist

  • Quality: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry or does not need one
  • Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features

After merge

  • Milestone: Make sure issues closed by this pull request are added to the milestone of the version currently in development.
  • Breaking Changes: If this is a breaking change, please push a draft PR on Reference Browser to address the breaking issues.

@rocketsroger rocketsroger added work in progress Not ready to land yet. Work in progress (WIP). <autofill> Credit Card, Addresses and Logins autofill functionality labels Aug 18, 2021
@rocketsroger rocketsroger removed the <autofill> Credit Card, Addresses and Logins autofill functionality label Aug 18, 2021
@rocketsroger rocketsroger force-pushed the AC_10836 branch 2 times, most recently from a7804a7 to bcea682 Compare August 18, 2021 19:42
@rocketsroger rocketsroger removed the work in progress Not ready to land yet. Work in progress (WIP). label Aug 19, 2021
@@ -424,6 +425,7 @@ class PromptFeature private constructor(
is File -> filePicker.handleFileRequest(promptRequest)
is Share -> handleShareRequest(promptRequest, session)
is SelectCreditCard -> {
emitSuccessfulCreditCardAutofillFormDetectedFact()
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be inside of if below line 429?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, we still want to emit the fact even if credit card autofill is disabled or there is not credit card stored. The reason is the fact is just to show that we've detected a credit card autofill form.

@rocketsroger rocketsroger added the 🕵️‍♀️ needs review PRs that need to be reviewed label Aug 19, 2021
@rocketsroger rocketsroger added 🛬 needs landing PRs that are ready to land and removed 🕵️‍♀️ needs review PRs that need to be reviewed labels Sep 1, 2021
@mergify mergify bot merged commit 423a735 into mozilla-mobile:main Sep 1, 2021
@rocketsroger rocketsroger deleted the AC_10836 branch March 25, 2022 17:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🛬 needs landing PRs that are ready to land
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants