Closed Bug 1226652 Opened 9 years ago Closed 9 years ago

Add ability to remove multiple (or all) logins from Login Manager

Categories

(Firefox for iOS :: General, defect)

All
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 2.0+ ---

People

(Reporter: rnewman, Assigned: sleroux)

References

Details

(Whiteboard: [needstrings])

Attachments

(4 files)

… prompting that these will be removed from synced devices (Bug 1225224).
Blocks: 1226654
Blocks: 1210103
Linked bug to Logins Management feature meta.

I guess we'll need some UI modifications to the current logins manager to facilitate this?
Flags: needinfo?(randersen)
We just removed the ability to clear logins from the device without uninstalling the app. 

In the absence of this feature, or warnings and functionality when linking accounts, this can lead to leaking passwords between FxAs, amongst other things. 

Steph, please make sure this doesn't fall off your radar.
Flags: needinfo?(sleroux)
(In reply to Stephan Leroux [:sleroux] from comment #1)
> Linked bug to Logins Management feature meta.
> 
> I guess we'll need some UI modifications to the current logins manager to
> facilitate this?

Yes, I've started on those with options of clearing one/any/all, but now that I see Richard's comment I'm wondering if it was more intentional to leave it out altogether or simply provide a 'less easy' way to wipe all.
Flags: needinfo?(randersen)
Flags: needinfo?(rnewman)
(In reply to Robin Andersen [:tecgirl] from comment #3)

> Yes, I've started on those with options of clearing one/any/all, but now
> that I see Richard's comment I'm wondering if it was more intentional to
> leave it out altogether or simply provide a 'less easy' way to wipe all.

Sorry, I was unclear. It's not at all intentional to have no way to delete all logins.

I was referring to Bug 1226654 landing before this one -- it means that getting this done is now a little more urgent, because there's currently no way to, e.g., switch FxAs without unexpectedly merging your passwords. It was accidentally shitty doing that through Clear Private Data, but at least a user could figure out how to do it. Now -- between 1.3 and whenever this bug reaches release -- they can't.

My perception of the appropriate level of less-easy:

Edit mode, select all, Remove Selected, with a confirmation prompt like the one we'll still show for CPD ("this will delete the selected logins from your synced devices" or "this will permanently delete the selected logins", depending on whether you're signed in).

I trust your judgment!
Flags: needinfo?(rnewman)
So the removal of 'Clear Passwords' is uplifted for 1.3 release and the login manager won't be complete until 2.0. Are we okay with shipping 1.3 with no way to clear passwords or do we need a temporary 'less-easy' way of clearing passwords?
Flags: needinfo?(rnewman)
It's not ideal, but I don't think we should hold the release. We just need to be aware that we have to recommend uninstalling then reinstalling to some users, and we shouldn't miss the next release.
Flags: needinfo?(rnewman)
Flags: needinfo?(sleroux)
Whiteboard: [needstrings]
See Bug 1233281 for inspiration.
Do you have the assets for the checkmark/empty circle when selecting the logins?
Flags: needinfo?(randersen)
Assignee: nobody → sleroux
Status: NEW → ASSIGNED
Attached file loginSelection.zip
:sleroux sure do, here you go!
Flags: needinfo?(randersen)
Attachment #8701598 - Flags: ui-review?(randersen)
Attachment #8701598 - Flags: review?(rnewman)
Attachment #8701598 - Flags: review?(bnicholson)
Comment on attachment 8701598 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1384

r- on two of the storage parts. I skimmed the rest; bnicholson can do a more thorough job!
Attachment #8701598 - Flags: review?(rnewman) → review-
:sleroux, it looks like the assets you're using are a bit off. The check looks to be from the UIKit, which is a bit off and the fox is larger and lighter, so I assume you're reusing the one we use on the Settings screen.

I'll attach a comparison of the mock to the current build and the default favicon fox.
Attachment #8701598 - Flags: ui-review?(randersen) → ui-review-
Comment on attachment 8701598 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1384

rnewman's and tecgirl's comments aside, I think everything else looks good.
Attachment #8701598 - Flags: review?(bnicholson) → review+
Comment on attachment 8701598 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1384

Reflagging bug for UI review with new checkmark and fox icon.
Attachment #8701598 - Flags: ui-review- → ui-review?
Attachment #8701598 - Flags: ui-review? → ui-review?(randersen)
Comment on attachment 8701598 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1384

Assets look good, one nit though…

When choosing to "Select All" the button label should change state to "Deselect All" and perform the action accordingly.
I couldn't reproduce the issue you were seeing with 'Select All' not selecting all and not updating the title of the button. How were you able to cause this?
I'm going to go ahead and land this and if there are any bugs we find we can file follow up issues.
master a39e055f41293abfe1ed1db35fc916a01dd8f3d2
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Attachment #8701598 - Flags: ui-review?(randersen) → ui-review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: