Closed Bug 1186013 Opened 9 years ago Closed 7 years ago

[meta] Offer to open URLs on the clipboard when entering Firefox

Categories

(Firefox for iOS :: General, defect)

All
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios + ---

People

(Reporter: rnewman, Assigned: bmunar, Mentored)

References

Details

(Whiteboard: [good next bug][lang=swift])

Attachments

(2 files, 1 obsolete file)

Pocket does this: a bar pops up at the bottom of the screen.

This makes it easy to get pages into the browser, which is one of our pain points. And if you're the kind of user who copies and pastes links, it's actually kinda discoverable.

Nuances:

* Not if it's already open in a tab.
* Not if we already offered for this URL last time you opened the browser.
* Not if it's an app URL (or not http?)?
Assignee: nobody → randersen
We aren't looking at v1 for this, are we?
No. Maybe 1.1.
Status: NEW → ASSIGNED
Whiteboard: [nicetohave]
Robin do we have anything for this (mockups, strings) or will this slip to 2.0+?
Flags: needinfo?(randersen)
Attached image openURLs-1.png
Example 1, where the toast appears over the top sites panel.
Flags: needinfo?(randersen)
Attached image openURLs-2.png (obsolete) —
Example 2, where the toast appears over a restored state.
The toast would persist until the user either taps the 'Go' button or engages with the viewport, where it would fade away after 2 seconds.

UI spec to follow.
Comment on attachment 8663024 [details]
openURLs-1.png

What if I want to type in an address or search?
Generally, a bit concerned with blocking such critical UI with this toast. What if it was at the bottom of the screen? Also, I've seen some apps show it as the first row in the awesomebar results (so once I've clicked on the URL bar, its #1 with a "From your clipboard" icon/label)... thoughts?
:darrin, I was hesitant to put it at the bottom because if you just actively copied a URL, you most likely would want to just tap Go when you open the app (or use the View Later extension!). We could also add it to the awesomebar results so you could retrieve after you have dismissed this.

I'll update openURLs-2 to show you what it could look like above the nav bar.
Attached image openURLs-2.png
Attachment #8663025 - Attachment is obsolete: true
Landed strings in a28941a in case we get around to this by 1.1.
I propose adding a preference to disable this feature, just in case it annoys people. Me, I can't wait for it -- I was just about to file a bug suggesting it when I found this one. But I bet there are people who don't want the interruption, too.
Mentor: sleroux, randersen
Whiteboard: [nicetohave] → [good next bug][lang=swift]
Confirming placement will be above the nav bar (attachment 8663146 [details].)
(In reply to Eric Shepherd [:sheppy] from comment #12)
> I propose adding a preference to disable this feature, just in case it
> annoys people. Me, I can't wait for it -- I was just about to file a bug
> suggesting it when I found this one. But I bet there are people who don't
> want the interruption, too.

A great suggestion, filed: bug 1223660
Assignee: randersen → nobody
Status: ASSIGNED → NEW
Summary: Offer to open URLs on the clipboard when entering Firefox → [meta] Offer to open URLs on the clipboard when entering Firefox
Depends on: 1228087
Depends on: 1228089
Depends on: 1228091
Depends on: 1228094
No longer blocks: 1223660
Depends on: 1223660
Per contributor suggestion, let's update the string to 'Paste and Go' and allow the user to paste whatever is on their clipboard.
Rank: 2
Assignee: nobody → bmunar
Update update, string should be "Go to copied link" (to match what we're doing with the Today widget).

Bryan, where are you at with this?
Flags: needinfo?(bmunar)
for sure! And, I've finished the custom view, just need to iron out the interaction kinks in the app
Flags: needinfo?(bmunar)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: