fenix icon indicating copy to clipboard operation
fenix copied to clipboard

[Library] Deleting is inconsistent between history/bookmarks

Open AmyYLee opened this issue 6 years ago • 12 comments

  1. Deleting one bookmark has different strings than group deleting bookmarks in the snackbar
  2. Deleting all of history has confirmation pop-up and no snackbar
  3. Deleting individual history items has no confirmation pop-up or snackbar
  4. Deleting individual bookmark from edit menu has confirmation pop-up and snackbar (location is too high on the screen)
  5. Deleting a folder doesn't show confirmation pop-up, shows snackbar

@betsymi for strings @topotropic to confirm expected behaviour

┆Issue is synchronized with this Jira Task

AmyYLee avatar Feb 21 '20 17:02 AmyYLee

@AmyYLee Can you help me track down these strings? Any screenshots available?

betsymi avatar Mar 02 '20 19:03 betsymi

@AmyYLee Can you help me track down these strings? Any screenshots available?

AmyYLee avatar Mar 04 '20 19:03 AmyYLee

  1. Deleting bookmarks snackbars 1 bookmark deleted: Deleted [bookmark url] UNDO 2+ bookmarks deleted: Bookmarks deleted UNDO

  2. Deleting all history snackbar Browsing data deleted

  3. Deleting individual history item Deleted [url]

  4. N/A for strings, keep as-is

  5. Deleting a folder Are you sure you want to delete this folder? CANCEL DELETE

betsymi avatar Mar 05 '20 23:03 betsymi

Hello @betsymi, @AmyYLee. I have two questions regarding this issue:

  1. Adding a confirmation pop-up for deleting individual history items will create a discrepancy since deleting individual browsing items (except folders) does not require a confirmation from the user. Should I still go ahead and add the confirmation pop-up or should this additional step be kept for more “impactful” actions such as deleting a bookmark folder or for deleting all the history?
  2. What should the string message be for the snackbar when the user deletes multiple history items?

I also want to mention that while working on this issue I have also come across some other possible discrepancies which are listed in this new ticket: #9949 .

BMEduard avatar Apr 15 '20 09:04 BMEduard

Hello @betsymi, @AmyYLee. I have two questions regarding this issue:

1. Adding a confirmation pop-up for deleting individual history items will create a discrepancy since deleting individual browsing items (except folders) does not require a confirmation from the user.
   Should I still go ahead and add the confirmation pop-up or should this additional step be kept for more “impactful” actions such as deleting a bookmark folder or for deleting all the history?

2. What should the string message be for the snackbar when the user deletes multiple history items?

I also want to mention that while working on this issue I have also come across some other possible discrepancies which are listed in this new ticket: #9949 .

Hi @topotropic can you provide some guidance on the above? Thanks

AmyYLee avatar Apr 15 '20 16:04 AmyYLee

@BMEduard Could you clarify what you mean by confirmation pop-up? We have snackbars (appear after) and confirmations dialogs (appear BEFORE the action is completed).

I believe this conversation is about snackbars, but wanted to clarify before I make the recommendation so that we are using the same nomenclature.

betsymi avatar Apr 16 '20 14:04 betsymi

@betsymi By confirmation pop-up I mean the confirmation dialog that, as you said, appears before the action is completed.

BMEduard avatar Apr 16 '20 15:04 BMEduard

@betsymi By confirmation pop-up I mean the confirmation dialog that, as you said, appears before the action is completed.

Ah, glad I asked! No, we would not want a confirmation dialog if a user deletes an individual item in their history. Agree with your point, that an additional step be kept for more “impactful” actions such as deleting a bookmark folder or for deleting all the history.

What should the string message be for the snackbar when the user deletes multiple history items?

History deleted

betsymi avatar Apr 16 '20 16:04 betsymi

Reopening for QA to verify the changes

ekager avatar Apr 29 '20 16:04 ekager

Hi, I can confirm that those notification are now correctly displayed as in this comment.

Build:

  • Firefox Preview Nightly 5/4 #21251804.

Devices:

  • Google Pixel 3 (Android 10);
  • Samsung Galaxy Note 8 (Android 9);
  • LG G7 fit (Android 8.1).

sv-sdeiac avatar May 05 '20 08:05 sv-sdeiac

Can we close this issue?

vesta0 avatar May 12 '20 02:05 vesta0

Yes! Closing

ekager avatar May 12 '20 02:05 ekager