QA/Fennec/Tab Queue

From MozillaWiki
Jump to navigation Jump to search

Feature Reference

Ownership

Developer contacts: Martyn Haigh

QA contact: Teodora Vermesan, irc: TeoVermesan

Status

Nightly: [ON TRACK] Aurora: NA Beta: NA

Tracking Bugs

Summary

Context

  • Queue links in Firefox instead of switching applications each time
  • Give users the ability to load links, without having to switch apps every time. The idea is to defer that choice to the user.
  • The idea was that Firefox would load all the links in this “list” next time the user opened the app
  • There might be an unpredictable amount of delay between opening and consuming. So, the notifications was introduced — a more subtle way to remind users “those links are waiting for you”.

Implementation

Feature enabled in Settings

  • Enable it from settings
enabling/disabling this feature in Settings





  • After a user presses a link, a feedback notification is displayed
toast feedback





  • There are two options:
    • If there is an amount of delay until switching to that link, a notification is displayed in the android notification bar with the link queued to open it later
toast feedback





    • Tapping the android notification
        • If there is only one link, tapping the notification will load the tab
        • If there is more than one link in queue, tapping the notification will display the tab tray.
      • Tapping the launcher Nightly icon when you have the notification in android notification bar
        • If there is only one link, tapping the notification will load the tab
        • If there is more than one link in queue, tapping the notification will display the tab tray.
    • The user can open the link in Firefox by tapping the notification button "switch

Feature disabled in Settings

A prompt informing users about Tab Queue, appears when you have three external links opened with Nightly and you try to open the fourth. There are 3 options when the prompt appears:

  • "Enable" it by tapping the "Enable button": this will display a green check symbol and the preference is enabled in settings
  • "Not now": will not set the preference to true and the prompt won't show again
  • "Ignore "it by tapping the back button or outside the prompt. The prompt will hide and will appear after another 3 external links are opened again in Nightly. If you ignore it once again, it will show another time, after another 3 links are opened. If you also ignore it now, it will not show again.(It appears only three times)

UI Notification history

16-04-2015

Feedback notification after clicking a link





Tab queue notification





23-04-2015

Feedback notification after clicking a link





Tab queue notification





24-04-2015

Feedback notification after clicking a link





Tab queue notification





Bugzilla

  • Tab Queue (query with status, no, )

ex:

Full Query
ID Summary Priority Status
1112195 Create UX explaining Open in background to users -- RESOLVED
1117921 Expose relevant information in "open-in-background" queue -- RESOLVED
1129433 Show "# tabs opened in background" notification in system tray -- RESOLVED
1129439 Explore UX/UI when a user opens fennec after they opened links in background -- RESOLVED
1129443 Add item in Settings to manage tab queue -- RESOLVED
1130352 Load (and cache) queued links in background -- RESOLVED
1130368 Add toast feedback after a user clicks a link -- VERIFIED
1132185 Put the tab queue behind a build flag -- RESOLVED
1132507 Remove Tab Queue build flags -- RESOLVED
1133755 Final copy for Tab Queue -- VERIFIED
1134148 Decide what to do when a tab queue request is received without a URL -- RESOLVED
1134235 Store Tab Queue urls in file -- RESOLVED
1138409 Write test to cover customize title change when tab queue is enabled -- RESOLVED
1138865 Make the MOZ_ANDROID_TAB_QUEUE app constant rely on the nightly flag -- RESOLVED
1145579 Open tab queue file when fennec starts or resumes -- RESOLVED
1145581 Show tabs when opening fennec from the Tab Queue notification -- VERIFIED
1146325 Convert loaded tab queue data to the required format and send to gecko to open -- RESOLVED
1146589 Ensure that tab opened with "open now" action is selected and visible when fennec loads -- RESOLVED
1148007 Show Queue Tab toast only if Tab Queue preference is enabled -- VERIFIED
1148380 Tab Queue: Optimise code in GeckoApp onNewIntent for ACTION_VIEW when Tabs queued -- RESOLVED
1148431 Create UI to inform users of Tab Queue and allow them to turn on or ignore -- VERIFIED
1149577 Remove history and recents affecting flags from TabQueueDispatcher entry in AndroidManifest -- RESOLVED
1149645 Polish UI of Toast to be same as rest of Fennec -- VERIFIED
1151967 Ensure TabQueueDispatcher has crash reporting enabled -- RESOLVED
1152244 Polish Tab Queue Prompt UI -- RESOLVED
1152250 Refactor animations for tab queue and first run -- RESOLVED
1152256 Decide if enums are better than ints for TabQueuePrompt response codes -- RESOLVED
1152825 Enable Tab Queue on nightly -- RESOLVED
1152873 Get TabQueueDispatcher to use SafeIntent -- RESOLVED
1153908 Move Tab Queue Notification click logic off UI thread -- RESOLVED
1154274 crash in java.lang.IllegalThreadStateException: Expected anything but 1 ("main"), but running there. at org.mozilla.gecko.util.ThreadUtils.assertOnThreadComparison(ThreadUtils.java) -- RESOLVED
1154425 Tapping the same link twice when Tab Queue is enabled should Open Now -- RESOLVED
1154473 Pre-resolve queued URLs -- RESOLVED
1154602 Unable to open .html file via Dropbox Native App -- VERIFIED
1155226 Unify text from feedback toast after tapping a link -- RESOLVED
1155291 See if we can display the Tab Queue toast without the permission bump -- RESOLVED
1155994 TabQueue : Attempt to read from field 'java.lang.String android.content.Intent.mAction' on a null object reference -- RESOLVED
1156093 Make sure service stops when Tab Queue open now button is pressed -- RESOLVED
1156553 Tab queue makes captive portal use annoying -- RESOLVED
1156563 Tab queue displays multiple Nightlies in recent apps -- RESOLVED
1157041 Change tab queue notification text -- VERIFIED
1157528 Add toast to inform user of tabs opened via tabqueue -- RESOLVED
1157733 Tab Queue: Load View action intent normally if not in Nightly -- RESOLVED
1157949 Open tabs panel when opening tab queue when Fx opened via the launcher icon -- VERIFIED

44 Total; 0 Open (0%); 35 Resolved (79.55%); 9 Verified (20.45%);


Testing scenarios

Moztrap Test Cases

Scenario testing

19-04-2015

Bug work

Still Issues

[NEW] Bug 1112195 - Create UX explaining Open in background to users
[NEW] Bug 1156553 - Tab queue makes captive portal use annoying
[NEW] Bug 1157733 - Tab Queue: Load View action intent normally if not in Nightly
[NEW] Bug 1155911 - [tab queue] Opening external links can cause two nightly apps in task switcher
[NEW] Bug 1159753 - Add telemetry for Tab Queue
[NEW] Bug 1159770 - Replace check assets with smaller version on Tab Queue Prompt
[NEW] Bug 1159260 - "about:home" should not be displayed when tapping the "Nightly: x tab waiting" notification when Nightly is closed
[NEW] Bug 1159296 - Add toast notification when trying to add the same link to the tabqueue
[NEW] Bug 1159368 - After queueing a tab, I get put into the search activity
[NEW] Bug 1159718 - Remove notification when 'quick open' is activated in Tab Queue
[NEW] Bug 1159752 - Visible & selected tab incorrect when tab queue loaded and Fx isn't loaded

Bug fixed

[RESOLVED FIXED] Bug 1129433 - Show "# tabs opened in background" notification in system tray
[VERIFIED FIXED] Bug 1130368 - Add toast feedback after a user clicks a link

2015-04-28: verified fixed on latest Nightly 40.0a1 (2015-04-28) using Alcatel One Touch (Android 4.1.2)

[RESOLVED FIXED] Bug 1129443 - Add item in Settings to manage tab queue
[RESOLVED FIXED] Bug 1132185 - Put the tab queue behind a build flag
[VERIFIED FIXED] Bug 1133755 - Final copy for Tab Queue

2015-04-28: verified fixed on latest Nightly 40.0a1 (2015-04-28)

[RESOLVED FIXED] Bug 1145579 - Open tab queue file when fennec starts or resumes
[RESOLVED FIXED] Bug 1145581 - Show tabs when opening fennec from the Tab Queue notification

2015-04-28: verified fixed on latest Nightly 40.0a1 (2015-04-28) using Samsung s5 (Android 4.4)

[RESOLVED FIXED] Bug 1148007 - Show Queue Tab toast only if Tab Queue preference is enabled
[RESOLVED FIXED] Bug 1146589 - Ensure that tab opened with "open now" action is selected and visible when fennec loads

2015-03-27: filled Bug 1159752 to track the shown tab not being correct when loading tab queue tabs without Fx being open.

[VERIFIED FIXED] Bug 1148431 - Create UI to inform users of Tab Queue and allow them to turn on or ignore

2015-04-28: verified fixed on latest Nightly 40.0a1 (2015-04-28) using Alcatel One Touch (Android 4.1.2)

[VERIFIED FIXED] Bug 1149645 - Polish UI of Toast to be same as rest of Fennec

2015-04-28: verified fixed on latest Nightly 40.0a1 (2015-04-28) using Alcatel One Touch (Android 4.1.2)

[RESOLVED FIXED] Bug 1151967 - Ensure TabQueueDispatcher has crash reporting enabled
[RESOLVED FIXED] Bug 1152825 - Enable Tab Queue on nightly
[RESOLVED FIXED] Bug 1154425 - Tapping the same link twice when Tab Queue is enabled should Open Now

2015-04-29: filed bug 1159718 to track removing the notification when quick open is activated.
2015-04-29: filled Bug 1159296 suggesting that it would be helpful to inform users with a notification when the same tab is already queued

[VERIFIED FIXED] Bug 1154602 - Unable to open .html file via Dropbox Native App

2015-04-29: verified fixed on latest Nightly 40.0a1 (2015-04-28) using Alcatel One Touch (Android 4.1.2)

[RESOLVED FIXED] Bug 1156093 - Make sure service stops when Tab Queue open now button is pressed
[RESOLVED FIXED] Bug 1155994 - TabQueue : Attempt to read from field 'java.lang.String android.content.Intent.mAction' on a null object reference
[VERIFIED FIXED] Bug 1157041 - Change tab queue notification text

2015-04-29: verified fixed on latest Nightly 40.0a1 (2015-04-29) using Alcatel One Touch (Android 4.1.2)

[RESOLVED FIXED] Bug 1157949 - Open tabs panel when opening tab queue when Fx opened via the launcher icon

2015-04-29: verified fixed on latest Nightly 40.0a1 (2015-04-29) using Alcatel One Touch (Android 4.1.2) and Asus Transformer (Android 4.0.3)

Bug assigned

[ASSIGNED] Bug 1154473 - Pre-resolve queued URLs

To do