CFR Trigger: When a password is updated via the doorhanger
Categories
(Firefox :: Messaging System, enhancement, P2)
Tracking
()
People
(Reporter: MattN, Assigned: MattN)
References
Details
(Whiteboard: [passwords:capture-UI])
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
Bug 1570372 added the newSavedLogin
CFR trigger for when a new password is saved via a doorhanger. Now we want a similar trigger but for when a user updates a password via the doorhanger. This will also handle usernames additions after pwgen auto-saving.
We should be able to add a new LoginStats:LoginUpdateSaved
observer notification in an else
here and listen for it like we did in bug 1570372. We should add a test as well.
trigger.id: updatedSavedLogin
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Reminder to add the following to the save and update recipes on the server:
icon_class: "cfr-doorhanger-large-icon",
https://phabricator.services.mozilla.com/D65034#inline-392559
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Pushed by aoprea@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c256f63b05ef Trigger Sync CFR when a non-FxA user updates a saved password from doorhanger r=andreio
Comment 4•4 years ago
|
||
bugherder |
Assignee | ||
Comment 5•4 years ago
|
||
Comment on attachment 9130296 [details]
Bug 1615685 - Trigger Sync CFR when a non-FxA user updates a saved password from doorhanger r=andreio
Beta/Release Uplift Approval Request
- User impact if declined: Users won't be offered Sync after updating a password (which includes after password generation). We are promoting password manager improvements in Fx76 so this aligns with that push.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): New trigger for CFR that can be remotely enabled or disabled and re-uses a lot of existing code for the login save CFR
- String changes made/needed: None
Comment 6•4 years ago
|
||
I have verified that the “SAVE_LOGIN_72” CFR message is successfully displayed after a password was updated from the doorhanger.
Verified using the latest Firefox Nightly (77.0a1 Build ID - 20200408033650) installed on Windows 10 x64, Mac 10.15.4 and Ubuntu 18.04 x64.
Comment 7•4 years ago
|
||
Comment on attachment 9130296 [details]
Bug 1615685 - Trigger Sync CFR when a non-FxA user updates a saved password from doorhanger r=andreio
Approved for 76.0b3.
Assignee | ||
Comment 8•4 years ago
|
||
(In reply to Marius Coman [:mcoman], Ecosystem QA from comment #6)
I have verified that the “SAVE_LOGIN_72” CFR message is successfully displayed after a password was updated from the doorhanger.
I'm not sure if the verification was correct since SAVE_LOGIN_72
is for the login save doorhanger and this bug was about adding a new UPDATE_LOGIN
CFR for the login update doorhanger. That new CFR was deployed in bug 1615690.
Comment 9•4 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Updated•4 years ago
|
Comment 10•4 years ago
|
||
(In reply to Matthew N. [:MattN] (PM me if request are blocking you) from comment #8)
(In reply to Marius Coman [:mcoman], Ecosystem QA from comment #6)
I have verified that the “SAVE_LOGIN_72” CFR message is successfully displayed after a password was updated from the doorhanger.
I'm not sure if the verification was correct since
SAVE_LOGIN_72
is for the login save doorhanger and this bug was about adding a newUPDATE_LOGIN
CFR for the login update doorhanger. That new CFR was deployed in bug 1615690.
I have retested din issue using the following steps:
[Prerequisites]:
- Have a login saved for any website (E.G. https://www.facebook.com/).
[Steps to Reproduce]:
- Open the browser with the profile from prerequisites.
- Access the websites from the prerequisites.
- Go to the password field and enter a different password from the one from the prerequisites.
- Click the “Update” button from the “Update login” doorhanger.
- Observe the right part of the “Address Bar”.
[Actual Results]:
- The CFR Recommendation button is displayed in the right part of the Address Bar.
[Notes]:
- If the “Turn on Sync” button from the CFR door hanger is clicked the “UPDATE_LOGIN” message from the “about:newtab#devtools” page is blocked.
- Tested using the latest Firefox Nightly (77.0a1 Build ID - 20200412214115) and latest Firefox Beta ( 76.0b4 Build ID - 20200412214314) installed on Windows 10 x64, Mac 10.15.4 and Ubuntu 18.04 x64.
Matthew, could you please confirm if the steps from above are correct in order to mark this enhancement as VERIFIED?
Comment 12•4 years ago
|
||
Thanks, Matthew! Based on comment 10 I am changing the status of this enhancement to VERIFIED.
Description
•