focus-android icon indicating copy to clipboard operation
focus-android copied to clipboard

Create initial UI for home screen tips

Open sblatz opened this issue 8 years ago • 27 comments

Why/User Benefit/User Problem

Home screen tips can help users learn about features of the app they may not be familiar with.

What / Requirements

Display a Toast-like message embedded in the home screen that will show different tips each time the user launches the app.

Acceptance Criteria (how do I know when I’m done?)

  • Tips UI is shown on home screen with a new tip each launch
  • Tips UI Is built in an abstract way so that it can read from a server-side list in the future. (updating server side is outside the scope of this ticket)
  • Telemetry pings are included to know if users are being viewed / clicked.
  • Don't display tips users already demonstrate a knowledge of using
  • Deep link if possible

Follow #2816 for more discussion about tips.

sblatz avatar Aug 01 '18 16:08 sblatz

@sblatz thanks for splitting this from the bigger ticket. I think this needs to be answered as part of this work: https://github.com/mozilla-mobile/focus-android/issues/2816#issuecomment-409320473

Also, your acceptance criteria should contain telemetry to track a certain tip being viewed and clicked.

Sdaswani avatar Aug 01 '18 19:08 Sdaswani

See comment below; this is outdated

@brampitoyo Here is a current demo of the functionality. We were wanting to add "deep linking" to the labels so that users don't have to read the instructions. Do you have any suggestions on how this should look visually to make it apparent to the users that they are tappable, while also not being annoying / too in the face of users?

We will also need an option to disable these tips in the settings. Could I get a string that explains to users the "disable homescreen tips" setting? @brampitoyo @BrianNJones? I'm also unsure where this setting should exist within the menu, Bram.

sblatz avatar Aug 02 '18 17:08 sblatz

Demo

I was able to add deep linking to several of the tips. When the user taps on the tip, it sends them to one of two places:

  1. If it is a setting they can toggle / modify, it opens that settings fragment
  2. Otherwise, they are sent to a sumo page detailing how to use the feature

Due to this implementation we need to consider the following:

  1. We should likely update the SUMO articles to have the redesign so users are not confused by an outdated article.
  2. Tips need to indicate that a user can tap on them, but remain subtle so as not to distract unnecessarily.
  3. Tips should be reworded to forgo explaining the steps to use them, and should instead give a brief overview of the feature.
  4. We may want certain tips to have a "higher priority" (i.e. make default browser shows up more frequently than any other tip).
  5. We need a settings toggle to disable the tips (I'm unsure what subheading this should fall under and what strings I should use for this). Perhaps we should even make a tip that lets people disable the tips so we don't annoy users.

@BrianNJones I'll need your help getting these strings updated (as mentioned in item 3 and 5).

@brampitoyo If you could help with the redesign and settings menu (items 2 and 5) that'd be great!

@Sdaswani We should potentially loop SUMO in on this (item 1). Also curious about your thoughts on item 4.

sblatz avatar Aug 06 '18 17:08 sblatz

@sblatz I will loop in SUMO for item 1 cc @jonisavage .

As for item 4, I think when we build 'server side control' into this system, we can have the priority set on the server side. For now, I think round robin is fine - the important thing is to instrument everything so we can test which tips work better than others.

Sdaswani avatar Aug 06 '18 17:08 Sdaswani

@sblatz how can @jonisavage get a build to update the SUMO article?

Sdaswani avatar Aug 06 '18 23:08 Sdaswani

@sblatz I agree to all your points:

  1. Since we have the ability to link directly to SUMO, we need to think when it’s right to link to them, and when it’s right to just explain the steps. SUMO is more explanatory, but will consume bandwidth.

  2. While making links look clickable is fairly simple, coming up with strings that have the right level of explanation will be important. If it links to SUMO, it can say “Learn more”. If it performs an action, it can say “Set default browser”.

  3. Would it be possible to hide a tip when we know that the user has used (tapped on) the feature in the past? This is important, because if we only show tips that are relevant and useful, there won’t be a need to have a toggle to disable tips (or a tip to disable tips).

brampitoyo avatar Aug 07 '18 04:08 brampitoyo

Thanks @brampitoyo . On point 3, I know @sblatz has disabled tip that are already clearly known to the user (he can describe this more).

As for the tips, when can we expect you and @BrianNJones to finalize the copy of the tips?

Sdaswani avatar Aug 07 '18 05:08 Sdaswani

I’m meeting @BrianNJones tomorrow to talk about this. Hopefully, this means that we can finalise the copy this week.

brampitoyo avatar Aug 07 '18 05:08 brampitoyo

I sent an APK to @jonisavage and detailed the SUMO articles we need updated.

@brampitoyo I like point 2, "Learn more" seems like a nice way to give some brief info while linking to a more detailed SUMO article. On point 3: yes. Currently if a user has a feature enabled or has used it in the past (based on a global flag) they will not be presented the tip anymore.

sblatz avatar Aug 07 '18 14:08 sblatz

@brampitoyo @sblatz

Proposed strings for 6 features. (@sblatz I'm not clear on why we'd want to bounce user to SUMO if we can provide clear instructions for use; see below)

Tracking Protection (deep link to Settings) Site behaving unexpectedly? Try turning off Tracking Protection

Add to Home screen (explain usage) Get one-tap access to sites you use most Menu > Add to Home screen

Set as default browser (deep link to Settings) Open every link in Firefox Focus Set Focus as default browser

Add to autocomplete (explain usage) Autocomplete URLs for sites you use most Long-press any URL in the address bar

Open link in new tab (explain usage) Open a link in a new tab Long-press any link on a page

Desktop site (explain usage) Rather see the full desktop site? Menu > Request desktop site

?s/etc; happy to talk.

BrianNJones avatar Aug 09 '18 18:08 BrianNJones

@BrianNJones I agree we would rather explain the usage in the tip but for consistency it seems all tips will be clickable so if the tip isn’t clear we may as well load the SUMO page? This would cover the case where despite our attempt to explain in the tip they can get the full schpeal.

Sdaswani avatar Aug 09 '18 19:08 Sdaswani

So am I to understand we want to explain the tip as well as link to the SUMO page? i.e. have a "learn more" button or something similar? Perhaps this is a question for @brampitoyo when he returns.

Based on these strings, we still need item 2 from @brampitoyo here for this to be finalized, as I'm not sure how to show this to the users in a "clearly clickable" fashion.

sblatz avatar Aug 09 '18 20:08 sblatz

@sblatz I remember @brampitoyo saying they link / deep link should be underlined, like any other hyperlink. So I would use all of @BrianNJones copy I would just make the last line underlined and clickable into the Settings page or SUMO. Try to get that committed before tomorrow and we can make changes later.

Sdaswani avatar Aug 09 '18 20:08 Sdaswani

@jonisavage do we have a SUMO article for long pressing on the URL bar to add to autcomplete? I found this one, but it only mentions using the settings menu.

I'm going to link to this one for now, but ideally that explanation should also be added to the SUMO article (along with updating it for the redesign).

sblatz avatar Aug 09 '18 21:08 sblatz

@Sdaswani @sblatz, totally get what you're saying Susheel, but do think we need to consider the "odd interruptive" quality of inviting users to bounce to a SUMO article, directly from the home screen, after they've opened/erased, presumably to complete a task. There's an element of "you said you want to do this, but how about THIS" that's jarring.

BrianNJones avatar Aug 10 '18 15:08 BrianNJones

@BrianNJones:

  1. I open Focus or erase my session.
  2. I see the tip and I find it interesting, and it has a familiar link.
  3. I click the link and I get more info about the tip (or I’m taken to the settings screen to act on the tip).

I see intent in steps 2 and 3 so I’m confused about taking them away from their intention?

Sdaswani avatar Aug 10 '18 16:08 Sdaswani

@Sdaswani, agree that's one use case, but think this one is more likely. (And I'm not falling on sword about this one; but do believe we need to think hard about content that is potentially interruptive. Where I keep getting hung up is here: Focus is a fast, light tool for browsing. But at the point where the tool actually enables the thing it's designed to do, we're inviting user to take an off-ramp to somewhere that likely has zero to do with the reason they've opened the app. Not suggesting it's a deal-breaker, but we're in slippery slope territory.)

  1. I open Focus or erase my session TO COMPLETE A SEARCH
  2. I see the tip and find it interesting, and it has a familiar link
  3. I complete my original search (original intent)
  4. I see the tip again in later session (?)

BrianNJones avatar Aug 10 '18 16:08 BrianNJones

@BrianNJones A few points here. First, tips can easily be disabled by users in the settings, so if you find them distracting you can turn them off (in fact, I think this should be one of our tips). Second, while I agree it's possible I get distracted by a tip, if I have a quick search to make, it's very easy to ignore a slightly faded text.

IIRC, @mcomella had similar concerns about it potentially "getting in the way," as users would expect it to just say "Browse. Erase. Repeat."

Perhaps this should be something we very gently roll out to users to see the initial feedback since it could result in a negative reaction?

sblatz avatar Aug 10 '18 16:08 sblatz

@colintheshots can advise on putting this behind a flag on fretboard, but for this PR, I suggest you push it to master. Please create another ticket about 'A/B testing tips' that will get into triage next week @sblatz .

Sdaswani avatar Aug 10 '18 17:08 Sdaswani

Here is the current design I have right now.

sblatz avatar Aug 10 '18 17:08 sblatz