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

Add FXIOS-9964 - Integrate password generator inside password manager script #22150

Conversation

issammani
Copy link
Collaborator

📜 Tickets

Jira ticket
Github issue

💡 Description

This PR:

  • Integrates initial password generator inside password manager.
  • Fixes typo in CC_Python_Update.py
  • Adds API for swift and JS
    • generatePassword will be called by swift to get a password for the current domain.
    • fillGeneratedPassword will be called by swift to fill a password and confirmation field if it exists.
    • postMessage({ type: "generatePassword"}) will be sent by JS to swift when a new-password field is detected.

📝 Checklist

You have to check all boxes before merging

  • Filled in the above information (tickets numbers and description of your work)
  • Updated the PR name to follow our PR naming guidelines
  • Wrote unit tests and/or ensured the tests suite is passing
  • When working on UI, I checked and implemented accessibility (minimum Dynamic Text and VoiceOver)
  • If needed, I updated documentation / comments for complex code and public methods
  • If needed, added a backport comment (example @Mergifyio backport release/v120)

@issammani issammani requested review from nbhasin2 and a team as code owners September 23, 2024 15:33
@@ -42,20 +42,23 @@
"toolkit/modules/third_party/fathom/fathom.mjs",
"toolkit/components/passwordmgr/shared/LoginFormFactory.sys.mjs",
"toolkit/components/passwordmgr/shared/NewPasswordModel.sys.mjs",
"toolkit/components/passwordmgr/shared/PasswordGenerator.sys.mjs ",
"toolkit/components/passwordmgr/shared/PasswordGenerator.sys.mjs",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Space typo caused this file not be pulled 😅

Copy link
Contributor

@nbhasin2 nbhasin2 left a comment

Choose a reason for hiding this comment

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

some questions / minor nits

@issammani issammani force-pushed the feat/integrate-password-generator-with-logins-helper branch from f96d3bd to 6ce59ca Compare September 23, 2024 16:51
@mobiletest-ci-bot
Copy link

Messages
📖 Edited 3 files
📖 Created 1 files

Generated by 🚫 Danger Swift against 6ce59ca

@issammani issammani merged commit 05f752e into mozilla-mobile:main Sep 23, 2024
11 checks passed
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.

3 participants