Commit Graph

67 Commits

Author SHA1 Message Date
harry
87c149589d Bug 1685734 - Add telemetry for tab-to-search result impressions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D103075
2021-02-04 19:53:40 +00:00
harry
a767458341 Bug 1686330 - Add telemetry for tab-to-search result impressions, per-engine. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D103074
2021-02-04 19:53:37 +00:00
Narcis Beleuzu
731564fc32 Backed out 2 changesets (bug 1686330, bug 1685734) for bc failures on browser_urlbar_telemetry_tabtosearch.js
Backed out changeset 50a8c2a5f4e8 (bug 1685734)
Backed out changeset b129d712e3bc (bug 1686330)
2021-02-01 17:52:34 +02:00
harry
68d45df6dc Bug 1685734 - Add telemetry for tab-to-search result impressions. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D103075
2021-01-28 15:44:22 +00:00
harry
9cc4dd2296 Bug 1686330 - Add telemetry for tab-to-search result impressions, per-engine. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D103074
2021-01-27 17:23:35 +00:00
Drew Willcoxon
9342e54c41 Bug 1647878 - Add in-tree documentation for dynamic result types. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D102681
2021-01-25 22:58:48 +00:00
Mark Banner
b3e05a4f51 Bug 1664847 - Log the search access point for searches with ads and ad clicks. r=daleharvey
Depends on D102441

Differential Revision: https://phabricator.services.mozilla.com/D102443
2021-01-22 10:45:26 +00:00
amy churchwell
de63a13a51 Bug 1665066 - Remove payload.keywordOffer in favor of payload.providesSearchMode. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D101414
2021-01-14 18:45:25 +00:00
Drew Willcoxon
6944af4675 Bug 1579964 - Update the urlbar experiments doc for the new experimental API development model. r=harry
I focused this on fixing what the bug describes: updating the doc for our new
development model where we create experimental APIs inside each extension
instead of landing APIs in mozilla-central. There are a number of other changes
I want to make to this doc but didn't here in order to keep it scoped. I filed
bug 1684069 for those other changes. I can imagine that some of the changes that
this patch makes will be overidden or updated by that bug.

This also fixes a broken link or two.

Differential Revision: https://phabricator.services.mozilla.com/D100417
2021-01-12 19:44:58 +00:00
Harry Twyford
5f7ac1cd89 Bug 1676250 - Stop overcounting urlbar.tips.tabtosearch_onboard-shown. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D97494
2020-11-19 21:55:02 +00:00
Harry Twyford
5e4e26305d 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
ceea80e19c 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
99d09afd48 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
a22e862b82 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
fba4982207 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
30347630e5 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
e9caa9b762 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
fed372c0c0 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
e14df73555 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
66e10340f5 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
a8c41e4018 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
444ea50445 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
34821e90ae 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
74974760b5 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
e0c0c73321 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
1b40a6a92d 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
bc64a5340e 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
4bea39a08e 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
8f0b17a753 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
7c8430cbdd 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
5eb2c44695 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
f9e7eac91d 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
1c6ead450e Backed out changeset f13d74051cc3 (bug 1643490) as requested. CLOSED TREE 2020-06-09 19:26:05 +03:00
Harry Twyford
bffafb2b65 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
b2e5795fb1 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
03881f56fa 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
f369e0990b 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
7eceff0300 Bug 555694 - Address bar should not suggest switching to the current tab. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D65408
2020-03-05 09:12:44 +00:00
Marco Bonardo
c908679c12 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
2020-02-27 18:02:42 +00:00
Drew Willcoxon
50c057d1f8 Bug 1616284 - Update telemetry docs for tips r=mak
Differential Revision: https://phabricator.services.mozilla.com/D63596
2020-02-21 22:46:34 +00:00
Marco Bonardo
d76ab25be2 Bug 1612496 - Use data-l10n-id to localize Tips and Interventions. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D61486
2020-02-04 11:10:59 +00:00
Drew Willcoxon
d3e9856501 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
2020-01-17 20:50:45 +00:00
Cosmin Sabou
e9fcd0f800 Backed out changeset c516b5d716f1 (bug 1608597) for browser chrome failures on browser_search_tips. 2020-01-17 20:10:21 +02:00
Drew Willcoxon
a5f48fa02d 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
2020-01-17 16:11:31 +00:00
Marco Bonardo
b57adbdaed Bug 1608631 - Perma Beta test failure in browser_urlbar_event_telemetry.js. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D60025
2020-01-16 10:09:12 +00:00
Shane Caraveo
5c299eb50e 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
2020-01-15 21:38:40 +00:00
Marco Bonardo
9b71525554 Bug 1601362 - Add more specific retained results telemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D58043
2020-01-10 09:24:09 +00:00
Marco Bonardo
c3efb61049 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
2019-12-20 09:56:06 +00:00
Marco Bonardo
2f5fc21d52 Bug 1603757 - Add in-source documentation about urlbar telemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D57112
2019-12-16 20:29:08 +00:00
Dão Gottwald
670b42f1fd Bug 1603437 - Make UrlbarInput::trimValue private. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D56946
2019-12-13 12:49:07 +00:00