Closed Bug 1215750 Opened 9 years ago Closed 9 years ago

Add telemetry to know when SearchEngineBar label is pressed

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox44 fixed, firefox45 fixed, b2g-v2.5 fixed, fennec44+)

RESOLVED FIXED
Firefox 45
Tracking Status
firefox44 --- fixed
firefox45 --- fixed
b2g-v2.5 --- fixed
fennec 44+ ---

People

(Reporter: mcomella, Assigned: tynn, Mentored)

References

Details

Attachments

(1 file, 1 obsolete file)

In bug 1172083, we make the label in the search engine bar open the search engine settings screen.

Anthony, do you think it'd be useful to know when the users click this button?i
Flags: needinfo?(alam)
Mentor: michael.l.comella
(In reply to Michael Comella (:mcomella) from comment #0)
> In bug 1172083, we make the label in the search engine bar open the search
> engine settings screen.
> 
> Anthony, do you think it'd be useful to know when the users click this
> button?

YES! If they don't press the button, it might as well not exist!
Flags: needinfo?(alam)
I can't help but think we should have used something more discoverable than the magnifying glass. The 3-dot menu image is at least recognizable as tappable.
(In reply to Michael Comella (:mcomella) from comment #0)
> In bug 1172083, we make the label in the search engine bar open the search
> engine settings screen.
> 
> Anthony, do you think it'd be useful to know when the users click this
> button?i

Sure, data wouldn't hurt. Data could help determine if this visual hint is even necessary, as well as if making it a "button" is useful.

(In reply to Mark Finkle (:mfinkle) from comment #2)
> I can't help but think we should have used something more discoverable than
> the magnifying glass. The 3-dot menu image is at least recognizable as
> tappable.

It was in bug 1172071 where we decided to add this as a "visual cue" since feedback suggested it might be helpful.

"Why are there icons in this bar?" was the question we were looking to answer rather than ACTUALLY provide a shortcut through to Settings.

I just thought it would be a nice little addition if we also made this a short cut to Settings > Customize > Search. I'm not too concerned if our users don't know about it. But, for those poking around, I do think a moment of "aha!" is nice here.

That said, I think a 3-dot overflow icon might be better too. But only if the focus/question we're trying to answer is now different - "how can we show that customize settings page to more users?" rather than "Why are there icons in this bar?" :)
(In reply to Anthony Lam (:antlam) from comment #3)

> I just thought it would be a nice little addition if we also made this a
> short cut to Settings > Customize > Search. I'm not too concerned if our
> users don't know about it. But, for those poking around, I do think a moment
> of "aha!" is nice here.

We need to be careful about doing work like this. Adding any functionality means we are adding code that needs to be tested and maintained. If no one uses it, we should remove it. If we feel it's useful as a flow to get people to update their search provider, then we should make it work well.
Christian, let me know if you need help figuring out how to add a telemetry probe.
Assignee: nobody → tynn.dev
Mentor: margaret.leibovic
Attached patch bug1215750.patch (obsolete) — Splinter Review
I used the event, method and "searchenginebar-settings" extra like proposed via IRC
Attachment #8679595 - Flags: review?(margaret.leibovic)
Comment on attachment 8679595 [details] [diff] [review]
bug1215750.patch

Review of attachment 8679595 [details] [diff] [review]:
-----------------------------------------------------------------

I have one small nit, but this looks great, thanks!

::: mobile/android/base/home/SearchEngineBar.java
@@ +132,5 @@
>          if (position == 0) {
>              final Intent settingsIntent = new Intent(getContext(), GeckoPreferences.class);
>              GeckoPreferences.setResourceToOpen(settingsIntent, "preferences_search");
>              getContext().startActivity(settingsIntent);
> +            // Telemetry to know when SearchEngineBar label is pressed

We don't need this comment.
Attachment #8679595 - Flags: review?(margaret.leibovic) → review+
Attached patch bug1215750.patchSplinter Review
Attachment #8679595 - Attachment is obsolete: true
Attachment #8680172 - Flags: review+
Comment on attachment 8680172 [details] [diff] [review]
bug1215750.patch

Merge came early, so we need to uplift...

Approval Request Comment
[Feature/regressing bug #]: bug 1172083

[User impact if declined]: No telemetry data for search settings button in quick search bar.

[Describe test coverage new/current, TreeHerder]: No automated test, just landed on fx-team.

[Risks and why]: Low-risk, adds telemetry probe.

[String/UUID change made/needed]: none
Attachment #8680172 - Flags: approval-mozilla-aurora?
https://hg.mozilla.org/mozilla-central/rev/17cad5502709
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 45
Comment on attachment 8680172 [details] [diff] [review]
bug1215750.patch

The patch looks safe and has been in Nightly for a few days. It seems safe to uplift to Aurora44.
Attachment #8680172 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: