Commit graph

57 commits

Author SHA1 Message Date
Harry Twyford
087a9c5df4 Bug 1674874 - Record telemetry for results picked in search mode. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95796
2020-11-06 00:13:00 +00:00
Narcis Beleuzu
f4d84dca33 Backed out changeset 1c37a165ba43 (bug 1674874) for bc failure on browser_UsageTelemetry_urlbar_searchmode.js CLOSED TREE 2020-11-06 00:38:24 +02:00
Harry Twyford
caecbc9874 Bug 1674874 - Record telemetry for results picked in search mode. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95796
2020-11-05 20:26:00 +00:00
Harry Twyford
6f560081d3 Bug 1674493 - Record number of tab-to-search onboarding impressions. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D95547
2020-11-05 11:28:47 +00:00
Harry Twyford
a9b4fb88ea Bug 1665048 - Update telemetry.rst with search mode launch version. r=mak DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D96064
2020-11-05 16:06:24 +00:00
Marco Bonardo
5a339a3ea6 Bug 1671508 - Convert some urlbar histograms to scalars. r=harry
This converts FX_URLBAR_SELECTED_RESULT_TYPE_2, FX_URLBAR_SELECTED_RESULT_INDEX
and the correlation between them FX_URLBAR_SELECTED_RESULT_INDEX_BY_TYPE_2 to
keyed scalars, that are nicer to use and analyze.

They are converted to one keyed scalar per result type, tracking the number
of times that type was picked per urlbar index.
The sums (count per type or per index) can still be derived from this structure.

Differential Revision: https://phabricator.services.mozilla.com/D94498
2020-10-27 11:36:15 +00:00
Mark Banner
fd67c74cb7 Bug 1671404 - Add Provider Name to the urlbar engagement telemetry. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D93660
2020-10-16 14:39:50 +00:00
smolnar
bb2cc96565 Backed out 2 changesets (bug 1665938, bug 1671404) for causing browser_urlbar_event_telemetry failures. CLOSED TREE
Backed out changeset ce37b9b99fd6 (bug 1665938)
Backed out changeset fa95a02b2c90 (bug 1671404)
2020-10-16 15:43:47 +03:00
Mark Banner
6de3a96e83 Bug 1671404 - Add Provider Name to the urlbar engagement telemetry. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D93660
2020-10-16 11:17:07 +00:00
Harry Twyford
8dd990259e Bug 1665934 - Part 3 - Add tab-to-search onboarding telemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D93113
2020-10-15 16:29:13 +00:00
Butkovits Atila
e5807896fb Backed out 4 changesets (bug 1665934) as requested by Harry. CLOSED TREE
Backed out changeset 342354dfd594 (bug 1665934)
Backed out changeset 56946d59bf0a (bug 1665934)
Backed out changeset 1b03418a14f6 (bug 1665934)
Backed out changeset 8c1edb639aa6 (bug 1665934)
2020-10-15 15:26:00 +03:00
Harry Twyford
d0e8d7d1b3 Bug 1665934 - Part 3 - Add tab-to-search onboarding telemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D93113
2020-10-15 11:19:17 +00:00
Sylvestre Ledru
9bce072e44 Bug 1588458 - Replace dxr by searchfox in the rst doc r=ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D49140
2020-10-08 08:13:15 +00:00
Harry Twyford
e51e1ee06f Bug 1647923 - Add tab-to-search telemetry. r=adw
This adds tab-to-search telemetry, both for the new tabtosearch search mode entry point and for tabtosearch results in our usual Urlbar result-selection scalars. I also added a subtest in browser_urlbar_event_telemetry, but realized as I was writing it that it was not useful. We don't consider entering search more as the end of an engagement, so tab-to-search results will not appear in event telemetry. We already considered this in bug 1654680 and resolved it by adding detailed urlbar.searchmode.* scalars, so I don't consider it a blocker. I left the new subtest in since it was mostly done anyways and it can't hurt.

Differential Revision: https://phabricator.services.mozilla.com/D91469
2020-09-29 21:21:44 +00:00
Harry Twyford
27650ea6ff Bug 1657414 - Support search mode in the Touch Bar. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D91077
2020-09-25 20:45:48 +00:00
Harry Twyford
4515b74439 Bug 1665076 - Call setSearchMode directly from search(), fix search mode handoff, and introduce new search mode probes. r=adw
This patch calls setSearchMode directly from search(). This sets up a solution for the problem in the bug and also fixes the issue where a call to search() with a restriction token would flicker the token before it was replaced with the search mode indicator. I added new tabmenu and bookmarkmenu entry points to take advantage of this new functionality.

This also fixes the issues with handoff. Besides the problem of search() recording typed for handoff, `handoff` wasn't even registered as a Telemetry probe! That was my mistake. I added a test for handoff telemetry. It was only practical to test it in PBM since it uses a different implementation than about:home that's easier to test. I wrote a lengthy comment above the subtest about why I think this is okay.

Differential Revision: https://phabricator.services.mozilla.com/D91076
2020-09-25 20:45:33 +00:00
Harry Twyford
63344f5398 Bug 1654680 - Add telemetry for search mode. r=adw
Summary of changes:
1. Adds an `entry` property to the searchMode object to tag how search mode was entered.
2. Introduces `urlbar.searchmode.*` scalars.  These scalars are suffixed with an entry point into search mode, for example `urlbar.searchmode.oneoff`, or `urlbar.searchmode.topsites_urlbar`. Those entry points tell us how search mode is entered most often. The keys for these scalars are strings describing what kind of search mode was entered. In most cases, this will be the name of a search engine, like "Google", or "DuckDuckGo". It may also be one of "history", "bookmarks", or "tabs". We only collect the names of engines that are bundled with Firefox. If the user enters search mode with an engine they installed themselves, we record "other" as the key.
3. Adds a urlbar-searchmode SAP to SEARCH_COUNTS.
4. Adds a browser.engagement.navigation.urlbar_searchmode probe.
5. Adds a urlbar_searchmode SAP to the navigation.search event.

Differential Revision: https://phabricator.services.mozilla.com/D87510
2020-09-02 15:08:50 +00:00
Drew Willcoxon
a7e3fab5dc Bug 1661811 - Move obsolete/deprecated sections in telemetry.rst to make it less misleading. r=mak
This adds an Obsolete section to the doc. I overused the word "obsolete" in
order to make it hard for your eyes to skip over just an "Obsolete" section
heading as you're skimming this page for info.

Also, `SELECTED_RESULT_TYPES` by itself wasn't clear, so I changed it to
`UrlbarUtils.SELECTED_RESULT_TYPES` and added a link that shouldn't be broken by
future changes.

Differential Revision: https://phabricator.services.mozilla.com/D88675
2020-09-01 19:44:36 +00:00
Mark Banner
c8578acd2d Bug 1656007 - Move URLBAR_SELECTED_RESULT_TYPES to UrlbarUtils since it is not used in BrowserUsageTelemetry. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D85302
2020-07-30 14:27:50 +00:00
chocos
1f1b95669d Bug 1648959 - Done internal linking in docs in Browser Directory.r=championshuttler
Differential Revision: https://phabricator.services.mozilla.com/D81475
2020-06-28 20:49:34 +00:00
Drew Willcoxon
982c1da337 Bug 1632105 - Implement dynamic result types. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D71921
2020-06-23 19:14:43 +00:00
Harry Twyford
1caaeaae5f Bug 1643490 - Add event telemetry probe to measure the number of words in the input on engagement. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D78396
2020-06-09 16:32:20 +00:00
Razvan Maries
4af6525e90 Backed out changeset f13d74051cc3 (bug 1643490) as requested. CLOSED TREE 2020-06-09 19:26:05 +03:00
Harry Twyford
675de5e9ad Bug 1643490 - Add event telemetry probe to measure the number of words in the input on engagement. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D78396
2020-06-09 13:25:06 +00:00
Harry Twyford
bec092afba Bug 1627989 - Remove the browser.urlbar.openViewOnFocus pref. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D76247
2020-05-27 16:46:43 +00:00
Drew Willcoxon
bde963d702 Bug 1398416 - Part 3: Implement form history results. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D75685
2020-05-21 19:31:27 +00:00
Drew Willcoxon
eeeeea2f96 Bug 1618769 - Increase max chars for search suggestions, and don't fetch suggestions at all when max is reached due to paste. r=mak
* Add a new `allowSearchSuggestions` property to the query context. It defaults to true.
* `UrlbarInput` sets this property when it starts a query. If the event that started the query is a paste event and the pasted string's length is larger than maxChars, then don't allow suggestions. Otherwise do.
* `UrlbarProviderSearchSuggestions.isActive` returns false when `!context.allowSearchSuggestions`.
* `UrlbarProviderSearchSuggestions` doesn't truncate the query anymore.
* Keep the `browser.urlbar.maxCharsForSearchSuggestions` pref but use it only for pastes, and increase it from 20 to 100. I considered making a new pref but this way if a user changed it, then it still applies to pastes at least. I'm not sure it's important though.

Differential Revision: https://phabricator.services.mozilla.com/D70956
2020-04-17 00:42:23 +00:00
Marco Bonardo
a8354f1215 Bug 555694 - Address bar should not suggest switching to the current tab. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D65408

--HG--
extra : moz-landing-system : lando
2020-03-05 09:12:44 +00:00
Marco Bonardo
ba8dcdc6b4 Bug 1617631 - Add a topsite type to the FX_URLBAR_SELECTED_RESULT_(TYPE/INDEX_BY_TYPE) histograms. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D64158

--HG--
extra : moz-landing-system : lando
2020-02-27 18:02:42 +00:00
Drew Willcoxon
1326bdcbe6 Bug 1616284 - Update telemetry docs for tips r=mak
Differential Revision: https://phabricator.services.mozilla.com/D63596

--HG--
extra : moz-landing-system : lando
2020-02-21 22:46:34 +00:00
Marco Bonardo
29429b36f7 Bug 1612496 - Use data-l10n-id to localize Tips and Interventions. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D61486

--HG--
extra : moz-landing-system : lando
2020-02-04 11:10:59 +00:00
Drew Willcoxon
416ccb5261 Bug 1608597 - Quantumbar: Replace restricting providers with a priority system. r=mak
Replace `isRestricting` with `getPriority` -- i.e., replace the binary restricting system with a general priority system. Instead of choosing restricting providers, the providers manager chooses the highest-priority providers.

Differential Revision: https://phabricator.services.mozilla.com/D60093

--HG--
extra : moz-landing-system : lando
2020-01-17 20:50:45 +00:00
Cosmin Sabou
4b24015c8a Backed out changeset c516b5d716f1 (bug 1608597) for browser chrome failures on browser_search_tips. 2020-01-17 20:10:21 +02:00
Drew Willcoxon
e693e42a59 Bug 1608597 - Quantumbar: Replace restricting providers with a priority system. r=mak
Replace `isRestricting` with `getPriority` -- i.e., replace the binary restricting system with a general priority system. Instead of choosing restricting providers, the providers manager chooses the highest-priority providers.

Differential Revision: https://phabricator.services.mozilla.com/D60093

--HG--
extra : moz-landing-system : lando
2020-01-17 16:11:31 +00:00
Marco Bonardo
49bfea3d43 Bug 1608631 - Perma Beta test failure in browser_urlbar_event_telemetry.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D60025

--HG--
extra : moz-landing-system : lando
2020-01-16 10:09:12 +00:00
Shane Caraveo
8351044ded Bug 1524327 remove MOZ_ALLOW_LEGACY_EXTENSIONS and extensions.legacy.enabled r=zombie,aswan
Legacy extensions are no longer loaded, so we can drop the build config for it.  We
still need flags for handling experimental APIs since what we require differs between builds
and distributions.

Differential Revision: https://phabricator.services.mozilla.com/D57413

--HG--
extra : moz-landing-system : lando
2020-01-15 21:38:40 +00:00
Marco Bonardo
1d1d214af9 Bug 1601362 - Add more specific retained results telemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D58043

--HG--
extra : moz-landing-system : lando
2020-01-10 09:24:09 +00:00
Marco Bonardo
2664dce2a5 Bug 1599842 - Restrict to a specific search engine from the QueryContext. r=adw
This is the last part needed to be able to restrict results without an explicit
typed token (either restriction or alias). Note this is all preparatory work,
there isn't a design for a feature using this yet, but we know at a certain
point we want a more usable representation of aliases and restriction tokens
and eventually a mode picker UI (search button).

Differential Revision: https://phabricator.services.mozilla.com/D57781

--HG--
extra : moz-landing-system : lando
2019-12-20 09:56:06 +00:00
Marco Bonardo ext:(%20%3Cmbonardo%40mozilla.com%3E)
c7b8b03a5e Bug 1603757 - Add in-source documentation about urlbar telemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D57112

--HG--
extra : moz-landing-system : lando
2019-12-16 20:29:08 +00:00
Dão Gottwald
9e770a8ee9 Bug 1603437 - Make UrlbarInput::trimValue private. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D56946

--HG--
extra : moz-landing-system : lando
2019-12-13 12:49:07 +00:00
Marco Bonardo
4b9e5194b2 Bug 1599839 - Merge sources and acceptableSources in UrlbarQueryContext. r=adw,mixedpuppy
Rename acceptableSources to just sources, merge it with the existing sources property.

Differential Revision: https://phabricator.services.mozilla.com/D55082

--HG--
extra : moz-landing-system : lando
2019-12-02 17:20:39 +00:00
Sylvestre Ledru
ba488cdc09 Bug 1598971 - codespell: Fix typos in the doc r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,ato
Depends on D54430

Differential Revision: https://phabricator.services.mozilla.com/D54431

--HG--
extra : moz-landing-system : lando
2019-11-25 10:06:12 +00:00
Drew Willcoxon
28db808a5b Bug 1596961 - Fix an inaccuracy in the experiments doc about running unsigned extensions r=harry
As I'm testing the nudges extension, I'm referencing the doc and the section about running an unsigned extension normally (not temporarily) isn't quite right. It's right when it comes to loading the extension, but it's wrong in that the extension is not able to access privileged APIs. There doesn't seem to be a way to let unsigned non-temporary extensions access privileged APIs without modifying the `isPrivileged` getter.

I also spent like five minutes wondering why the extension's logs weren't showing. The section talks about it but only at the very bottom, and it's easy to overlook. I think it still belongs after the main discussion, but I made it an important note so it stands out.

Differential Revision: https://phabricator.services.mozilla.com/D53292

--HG--
extra : moz-landing-system : lando
2019-11-18 13:55:18 +00:00
Drew Willcoxon
2687f37446 Bug 1594622 - Quantumbar: Remove the context.preselected property and rely on result.heuristic instead r=mak
Please see bug 1594622 for a description.

Differential Revision: https://phabricator.services.mozilla.com/D52120

--HG--
extra : moz-landing-system : lando
2019-11-08 18:50:00 +00:00
Dorel Luca
b6eeb7d5d3 Backed out changeset 35d4451f348d (bug 1588458) as requested by the dev 2019-10-15 19:04:22 +03:00
Sylvestre Ledru
0f71aeba53 Bug 1588458 - Replace dxr by searchfox in the doc r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49140

--HG--
extra : moz-landing-system : lando
2019-10-15 15:27:13 +00:00
Marco Bonardo
f10ec767a4 Bug 1580834 - Add a Search in private window entry in the address bar results when only search suggestions are present r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D48082

--HG--
extra : moz-landing-system : lando
2019-10-07 15:51:59 +00:00
Dão Gottwald
d1607b78b7 Bug 1584525 - Remove unused controller option from UrlbarInput constructor. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D47429

--HG--
extra : moz-landing-system : lando
2019-09-30 12:41:43 +00:00
Drew Willcoxon
03d547d224 Bug 1579963 - Quantumbar experiments doc: Fix incorrect statement about hacking the Extension.isPrivileged getter r=harry
I was conflating two different things: loading extensions and giving them access to privileged APIs. I think this does a better job of explaining things.

Differential Revision: https://phabricator.services.mozilla.com/D45931

--HG--
extra : moz-landing-system : lando
2019-09-16 16:41:50 +00:00
Drew Willcoxon
f9936c08e4 Bug 1580259 - Quantumbar experiments doc: Update signing contacts r=harry
Differential Revision: https://phabricator.services.mozilla.com/D45914

--HG--
extra : moz-landing-system : lando
2019-09-16 16:39:59 +00:00