Bug 1112185 (tab-queue)

[meta] Tab Queue

RESOLVED FIXED

Status

()

Firefox for Android
General
RESOLVED FIXED
3 years ago
7 months ago

People

(Reporter: mhaigh, Unassigned)

Tracking

(Blocks: 1 bug, {relnote})

37 Branch
All
Android
relnote
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(relnote-firefox 42+)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Create functionality to allow users to open URLs from external applications in Firefox without leaving the application.
(Reporter)

Comment 1

3 years ago
Because of current limitations, we're going to have to cut back on some functionality: notably we can't actually start loading the page whilst Fennec isn't in the foreground; for v1 we're looking to collect a list of URLs which we can then act upon at next launch.
(Reporter)

Updated

3 years ago
Depends on: 1112195
(Reporter)

Updated

3 years ago
Alias: open-in-background

Updated

3 years ago
Depends on: 1117921
Created attachment 8545471 [details]
mob_oib_flow1.png

Here's a quick diagram of the flow I'm thinking for V1. As discussed, we should leverage as much system UI as we can for this version and iterate on that for V2.

We could probably offer more functionality like managing that queue list, surfacing more info in that list (bug above ^), etc for V2.
Flags: needinfo?(mhaigh)
Talked to Martyn about this a bit more, we have some ideas for the final steps.

First, leveraging the notification tray as a more persistent UI than said toast/super toast to indicate and "switch to" tabs opened in background.

Second, explore the idea of allowing users to open said queued tabs on another device (probably a V2).

Third, explore UX of final stage (in the diagram).

Will file bugs for things I mentioned above.
(In reply to Anthony Lam (:antlam) from comment #3)

> First, leveraging the notification tray as a more persistent UI than said
> toast/super toast to indicate and "switch to" tabs opened in background.

I'm not sold on needing to go to the System Notification area to switch to Firefox. I mean it might be useful to add something to Notfications for persistence, but it is "flow dependent". If I tap a link in Twitter which opens in the background in Firefox, having a toast used as confirmation that it worked + allow me to switch, seems like the fastest UX.

If I have been collecting URLs in the background for a few minutes, then decide "OK, time to go to Firefox", a Notifications item might be an easy way to get to Firefox.

The Notification could also tell you how many URLs you have queued, which is handy.

I just don't think the Notification replaces the Toast.

Updated

2 years ago
Blocks: 1129433

Updated

2 years ago
Depends on: 1129439

Updated

2 years ago
No longer blocks: 1129433
Depends on: 1129433

Updated

2 years ago
Depends on: 1129443

Updated

2 years ago
Blocks: 1130352
(Reporter)

Comment 5

2 years ago
Initial pass at functionality: https://dl.dropboxusercontent.com/u/7163922/bug-1112185-1.apk
Flags: needinfo?(mhaigh)
Depends on: 1130368
(Reporter)

Updated

2 years ago
Depends on: 1132185
(Reporter)

Updated

2 years ago
Depends on: 1132507
(Reporter)

Updated

2 years ago
Alias: open-in-background → tab-queue
(Reporter)

Updated

2 years ago
Depends on: 1133755
(Reporter)

Updated

2 years ago
Blocks: 1134235
(Reporter)

Updated

2 years ago
Depends on: 1134148
(Reporter)

Updated

2 years ago
No longer blocks: 1130352
Depends on: 1130352
(Reporter)

Updated

2 years ago
No longer blocks: 1134235
Depends on: 1134235
(Reporter)

Comment 6

2 years ago
Working build : https://dl.dropboxusercontent.com/u/7163922/1112185-190215.apk
Flags: needinfo?(alam)
I've installed the APK on LG Nexus 4 (Android 4.4)
Scenario:
-Go to twitter.com and tap on some  links
-Complete action using "Fennec martyn" 
-After a while, a pop-up opens "Want to open this later?" with two buttons: "Not now" and "Try it": http://i.imgur.com/0Nakaii.png
-Tap "Try it", a notification appears with 2 buttons "Open later | Open now"  => http://i.imgur.com/YRwLZ6D.png (I think the text size must be the same)
-Choose "Open now" will load a tab with that link
-Choose "Open later" and a notification will be displayed in the android notification bar: "Tabs Queued- x tabs queued" http://i.imgur.com/1OiDWO8.png
-Tap the notification and x tabs will be opened
Did we ever determine the logic for reappearing the dialog if user presses "not now"? I thought it was 3 more times but I'm having trouble triggering it again.

Also, the slide in animation is looking quite janky.. we should improve that and/or add a delay so it's less jarring on that first impression.

Thoughts?
Flags: needinfo?(alam) → needinfo?(mhaigh)
Also, did we talk about opening Fennec in Tabs Tray view? (better overview of tabs queued)
QA Contact: teodora.vermesan
(Reporter)

Updated

2 years ago
Depends on: 1138409
(Reporter)

Comment 10

2 years ago
(In reply to Anthony Lam (:antlam) from comment #8)
> Did we ever determine the logic for reappearing the dialog if user presses
> "not now"? I thought it was 3 more times but I'm having trouble triggering
> it again.

Behaviour for this is:
- After the 3rd time the app has been opened via an external link it'll show.
- if the user takes action (presses either the yes or no button) they'll never see the notification again.
- if the user dismisses (by pressing the back button or touching anything other than the yes or no buttons) it'll hide the notification and wait 3 more times before showing again
- the notification will be shown a maximum of three times

> Also, the slide in animation is looking quite janky.. we should improve that
> and/or add a delay so it's less jarring on that first impression.

I've not noticed this but will look at perf once the notification bug is being worked on.

> Also, did we talk about opening Fennec in Tabs Tray view? (better overview of tabs queued)

We did, but this will only happen when tapping the notification to open fennec.
Flags: needinfo?(mhaigh)
(In reply to Martyn Haigh (:mhaigh) from comment #10)
> > Also, the slide in animation is looking quite janky.. we should improve that
> > and/or add a delay so it's less jarring on that first impression.
> 
> I've not noticed this but will look at perf once the notification bug is
> being worked on.

I've noticed that the share overlay has similar issues (though I always figured this was related to accessing synced accounts during the animation) - CC me on any work you do here, please (and I'll CC you for the same!).
(In reply to Martyn Haigh (:mhaigh) from comment #10)
> > Also, did we talk about opening Fennec in Tabs Tray view? (better overview of tabs queued)
> 
> We did, but this will only happen when tapping the notification to open
> fennec.

Notification as in Toast, or the System one's that appear in the status bar?

I think we want to try this for all other ways of switching to Firefox as well, like from the "Recents" view. Is this possible?
Flags: needinfo?(mhaigh)
(Reporter)

Updated

2 years ago
Depends on: 1138865
(Reporter)

Updated

2 years ago
Depends on: 1145579
(Reporter)

Updated

2 years ago
Depends on: 1145581
(Reporter)

Updated

2 years ago
Depends on: 1146325
(Reporter)

Updated

2 years ago
Flags: needinfo?(mhaigh)
Summary: Open URL in background → Tab Queue
(Reporter)

Updated

2 years ago
Depends on: 1146589
(Reporter)

Updated

2 years ago
Depends on: 1148007
(Reporter)

Updated

2 years ago
Depends on: 1148380
(Reporter)

Updated

2 years ago
Depends on: 1148431
(Reporter)

Updated

2 years ago
Depends on: 1149577

Updated

2 years ago
Depends on: 1149645
(Reporter)

Updated

2 years ago
Depends on: 1151967
(Reporter)

Updated

2 years ago
Depends on: 1152244
(Reporter)

Updated

2 years ago
Depends on: 1152250
(Reporter)

Updated

2 years ago
Depends on: 1152256
(Reporter)

Updated

2 years ago
Depends on: 1152825
(Reporter)

Updated

2 years ago
Depends on: 1152873
(Reporter)

Updated

2 years ago
Depends on: 1153908

Updated

2 years ago
Depends on: 1154274

Updated

2 years ago
Depends on: 1154425
Depends on: 1154473
Depends on: 1154602
Depends on: 1155226
(Reporter)

Updated

2 years ago
Depends on: 1155291

Comment 13

2 years ago
Mmm... high. Sorry about the noise, but I couldn't find a better place to say this. This is the most relevant page that Googling "firefox android queued tab" brings up. Anyway, all I wanted to say is that I noticed this feature in Nightly on my Android phone and I LOVE IT. Thanks for doing this.
(Reporter)

Updated

2 years ago
Depends on: 1155994
(Reporter)

Updated

2 years ago
Depends on: 1156093
Depends on: 1156553

Updated

2 years ago
Depends on: 1156563
(Reporter)

Updated

2 years ago
Depends on: 1157041
(Reporter)

Updated

2 years ago
Depends on: 1157528
(Reporter)

Updated

2 years ago
Depends on: 1157733
(Reporter)

Updated

2 years ago
Depends on: 1157949

Updated

2 years ago
Depends on: 1158260

Updated

2 years ago
No longer depends on: 1129439

Updated

2 years ago
No longer depends on: 1157528

Updated

2 years ago
No longer depends on: 1117921
(Reporter)

Updated

2 years ago
No longer depends on: 1132507
(Reporter)

Updated

2 years ago
No longer depends on: 1138409
(Reporter)

Updated

2 years ago
No longer depends on: 1148380
(Reporter)

Updated

2 years ago
No longer depends on: 1152244
(Reporter)

Updated

2 years ago
No longer depends on: 1152250
(Reporter)

Updated

2 years ago
No longer depends on: 1152256

Updated

2 years ago
Blocks: 1158260
No longer depends on: 1158260
Depends on: 1159260
Depends on: 1159296
(Reporter)

Updated

2 years ago
Depends on: 1159718
(Reporter)

Updated

2 years ago
Depends on: 1159752
(Reporter)

Updated

2 years ago
Depends on: 1159753
(Reporter)

Updated

2 years ago
Depends on: 1159770
Depends on: 1159368
Depends on: 1161667

Updated

2 years ago
No longer depends on: 1156553
(Reporter)

Updated

2 years ago
No longer depends on: 1154473
(Reporter)

Updated

2 years ago
No longer depends on: 1159260
(Reporter)

Updated

2 years ago
Depends on: 1155911

Updated

2 years ago
Depends on: 1164452
Depends on: 1164938

Updated

2 years ago
Depends on: 1166062
Depends on: 1165856
No longer depends on: 1166062

Updated

2 years ago
Depends on: 1171860

Updated

2 years ago
Depends on: 1178509
Depends on: 1177414
Release Note Request (optional, but appreciated)
[Why is this notable]: Open URLs in background without changing context
[Suggested wording]: Open external URLs from Android apps in the background
[Links (documentation, blog post, etc)]:
relnote-firefox: --- → 41+

Updated

2 years ago
Depends on: 1181187

Updated

2 years ago
Depends on: 1182918

Updated

2 years ago
Depends on: 1188951
I changed the rel-note flag to 42, since that's the release vehicle
relnote-firefox: 41+ → 42+
Keywords: relnote
Depends on: 1206055
(Reporter)

Updated

2 years ago
Assignee: mhaigh → s.kaspari
Depends on: 1216333
Depends on: 1215262
Assignee: s.kaspari → nobody
Summary: Tab Queue → [meta] Tab Queue
No longer depends on: 1159296
No longer depends on: 1161667
No longer depends on: 1171860
No longer depends on: 1215262
No longer depends on: 1177414
We can probably close this bug right?
Flags: needinfo?(s.kaspari)
Aye
Status: NEW → RESOLVED
Last Resolved: 7 months ago
Flags: needinfo?(s.kaspari)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.