Fenix: FNX2-13604 ⁃ [Bug] collection deletion inconsistent behaviour

Created on 19 Jun 2020  ·  7Comments  ·  Source: mozilla-mobile/fenix

Steps to reproduce

Add a website to the collection
Remove the website using the cross button it will delete the collection.
However if you try to delete the collection instead of the website it shows a confirmation prompt as shown in the screenshot.

Expected behavior

When there is just one website in a collection, while deleting it should show a confirmation that deleting it will delete the collection too

Actual behavior

Removing the only website in a collection does not show any confirmation while deleting the collection it shows a confirmation prompt

Device information

  • Android device: ? A10
  • Fenix version: ? Latest nightly

ScreenshotUNITO-UNDERSCORE!20200619-171039!

ScreenshotUNITO-UNDERSCORE!20200619-171021!

engverified 🐞 bug

Most helpful comment

If deleting the last tab in a collection deletes the collection itself, yes we can have a dialog with the following copy. We can revisit that behavior at a future date if we want to.

Please note there is a headline and body copy, which we don't have in many of our dialogs just yet. We are slowly updating our dialogs to improve them.

Delete collection %1$s?

Deleting this tab will delete the entire collection. You can create new collections at any time.

CANCEL | DELETE

Two reasons why I'm recommending this particular copy:

  • "Are you sure" assumes the user intended to do this action, and they may not have. They may not have known deleting this tab would delete the collection itself. A more neutral tone is recommended.
  • Incorporating a headline ('Delete collection %1$s?') makes clear what will happen if indeed this behavior is unexpected. The body copy explains why. Users don't necessarily need to read the body copy to make a decision, but we offer the explanation there if they are curious as to why.

Could you post a screenshot here when this has been implemented so I can have for my documentation purposes? Thank you!

All 7 comments

@topotropic and @betsymi for review - Should there be a warning if you delete the last tab in a collection which automatically removes the collection...which brings another interesting point to consider. Should we be removing the collection if the user deletes the last tab in it?

My opinion is that we should show a confirmation dialog ("Are you sure you want to delete Collection 1") when we remove the last tab from that collection.

If deleting the last tab in a collection deletes the collection itself, yes we can have a dialog with the following copy. We can revisit that behavior at a future date if we want to.

Please note there is a headline and body copy, which we don't have in many of our dialogs just yet. We are slowly updating our dialogs to improve them.

Delete collection %1$s?

Deleting this tab will delete the entire collection. You can create new collections at any time.

CANCEL | DELETE

Two reasons why I'm recommending this particular copy:

  • "Are you sure" assumes the user intended to do this action, and they may not have. They may not have known deleting this tab would delete the collection itself. A more neutral tone is recommended.
  • Incorporating a headline ('Delete collection %1$s?') makes clear what will happen if indeed this behavior is unexpected. The body copy explains why. Users don't necessarily need to read the body copy to make a decision, but we offer the explanation there if they are curious as to why.

Could you post a screenshot here when this has been implemented so I can have for my documentation purposes? Thank you!

@betsymi Hi! In comment https://github.com/mozilla-mobile/fenix/issues/11763#issuecomment-648908113, the wording "Are you sure" is used.
I had tested this issue on Nightly 200707 GV 80, from 7/7 with Google Pixel 2 (Android 9) and the dialog does not have this wording.
Also, in case the collection is called "Colection x", then the word "collection" is duplicated in the question's dialog.

Can you please confirm if this is the desired text for the dialog? Screenshot:
Screenshot_20200707-111628
Thanks!
I will remove the qa:needed label for now.

@ebalazs-sv I think @betsymi said that "Are you sure" is not ok to use and "A more neutral tone is recommended". This is why she recommended the following strings:

"Delete collection %1$s?

Deleting this tab will delete the entire collection. You can create new collections at any time.

CANCEL | DELETE"

@ValentinTimisica Thanks! Since this is the required string, I will mark this issue as verified.
For the duplicated "collection" word, when the collection is called "Collection x", I filed a new issue: https://github.com/mozilla-mobile/fenix/issues/12339

@betsymi Hi! In comment #11763 (comment), the wording "Are you sure" is used.
I had tested this issue on Nightly 200707 GV 80, from 7/7 with Google Pixel 2 (Android 9) and the dialog does not have this wording.
Also, in case the collection is called "Colection x", then the word "collection" is duplicated in the question's dialog.

Can you please confirm if this is the desired text for the dialog? Screenshot:
Screenshot_20200707-111628
Thanks!
I will remove the qa:needed label for now.

Good eye @ebalazs-sv! We are slowly updating some of our dialogs to this new pattern.

I did make a mistake with the duplicated word, so thank you for filing a new issue to update that.

Was this page helpful?
0 / 5 - 0 ratings