Closed
Bug 1433938
Opened 7 years ago
Closed 7 years ago
Ensure that Synced Tab result appears above History result for the same item
Categories
(Firefox :: Address Bar, enhancement, P1)
Tracking
()
RESOLVED
FIXED
Firefox 60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: rfeeley, Assigned: mak)
References
Details
(Whiteboard: [fxsearch])
Attachments
(1 file)
Currently when you enter in a fragment of a title or URL of a page that exists in history, and is also open on another device, the History item shows first.
We should probably bump up the prominence of the Synced Tab result, as an open tab is likely more relevant than History.
Comment 1•7 years ago
|
||
I've been meaning to file this bug myself! P1 assuming it's a simple weight-bumping change, but we can reconsider if it's more involved than that.
Assignee | ||
Comment 2•7 years ago
|
||
it's not a simple weight bump, because synced tabs come from an alien source that cannot mixed up with frecency. We can decide to present them before or after other results. We currently do that after, moving it before other results would be trivial. Though, I suppose it would be wrong to present this before an adaptive result (that comes from previous user selections), thus what we could do is: adaptive, remote tab, others. This should be easy enough to do.
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → mak77
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Assignee | ||
Comment 4•7 years ago
|
||
I still have to check Try.
It's possible this somehow bitrots with the autofill patch. We can delay this in case.
Assignee | ||
Updated•7 years ago
|
Attachment #8950924 -
Flags: review?(adw)
Comment hidden (mozreview-request) |
Assignee | ||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8950924 [details]
Bug 1433938 - Move Synced Tab matches above general history matches in the Address Bar.
https://reviewboard.mozilla.org/r/220182/#review226996
::: toolkit/components/places/PlacesUtils.jsm:434
(Diff revision 2)
> + parseActionUrl(url) {
> + if (url instanceof Ci.nsIURI)
> + url = url.spec;
> + else if (url instanceof URL)
> + url = url.href;
> + if (!url.startsWith("moz-action:"))
If you're going to add a MOZ_ACTION_REGEX const/getter, then maybe add one for "moz-action:" that you can use here and above in mozActionURI()?
Actually why not just skip this startsWith() here and let the match() handle this case below?
Attachment #8950924 -
Flags: review?(adw) → review+
Assignee | ||
Comment 8•7 years ago
|
||
I'd just expect startsWith being more efficient than a regex. I didn't verify that though.
Comment hidden (mozreview-request) |
Comment 10•7 years ago
|
||
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/6cfa62837419
Move Synced Tab matches above general history matches in the Address Bar. r=adw
Comment 11•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Comment 12•6 years ago
|
||
Can reproduce this issue in Firefox 59.0.3 (20180427210249) on Windows 10x64.
This issue can no longer be reproduced on Firefox 61.0b1 (20180428110614) on Windows 10x64.
[bugday-20180502]
You need to log in
before you can comment on or make changes to this bug.
Description
•