Closed Bug 1643419 Opened 4 years ago Closed 4 years ago

Add tooltip when displaying pre-imported top sites on multistage import screen

Categories

(Firefox :: Messaging System, enhancement, P1)

enhancement

Tracking

()

VERIFIED FIXED
Firefox 80
Iteration:
80.1 - June 29 - July 12
Tracking Status
firefox78 --- unaffected
firefox79 + verified
firefox80 + verified

People

(Reporter: pdahiya, Assigned: pdahiya)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 2 obsolete files)

Scope of this bug is to add tooltip when displaying pre-imported top sites on multistage import screen

Priority: -- → P2

NI Aaron to add link to design specs of tooltip on Import screen. Thanks!

Flags: needinfo?(abenson)
Priority: P2 → P1

[Tracking Requested - why for this release]: this is a legal requirement that we want to have before making multistage live

Iteration: --- → 80.1 - June 29 - July 12
Assignee: nobody → pdahiya

(In reply to Punam Dahiya [:pdahiya] from comment #1)

NI Aaron to add link to design specs of tooltip on Import screen. Thanks!

Icon placement can be found here. It's fine to use a system tooltip for this (e.g. no custom modals, etc): https://www.figma.com/proto/KqQZwwLhft9cUIcBtMVmbz/Desktop-First-Run?node-id=1514%3A4536&viewport=-1892%2C385%2C0.522352933883667&scaling=contain

Flags: needinfo?(abenson)
Attached image Screenshot tooltip info icon (obsolete) —
Attached image Screen Shot tooltip (obsolete) —

NI Aaron to help UI review tooltip screenshots attached above. Thanks!

Flags: needinfo?(abenson)

Hey Punam, we changed the design of the tooltip slightly based on UR feedback. Below is the link to the spec. Items to note:

  • No more (i) info icon
  • Provide a hover state for the top sites container (background: #F0F0F4; border-radius: 4px;). Note the container size is a little taller to account for new hover state.
  • The tooltip should be applied for the whole container using a standard tooltip. It looks like you made a custom tooltip box in the screenshot based on the one drawn in the spec. I didn't mean for us to do custom styled tooltips here so it's okay to let it be the default OS style. Sorry I didn't annotate that clearly :/

Spec: https://www.figma.com/file/KqQZwwLhft9cUIcBtMVmbz/Desktop-First-Run?node-id=1636%3A4482

I think that's it. Feel free to ping me with any questions!

Flags: needinfo?(abenson)
Blocks: 1651244

NI Aaron to review screenshot updated with feedback. Thanks!

Attachment #9161778 - Attachment is obsolete: true
Attachment #9161779 - Attachment is obsolete: true
Flags: needinfo?(abenson)

Looks good to me

Flags: needinfo?(abenson)
Pushed by pdahiya@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5116dfac864b
Add Tooltip on pre-importable top sites r=Mardak
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80

I have verified that the tooltip is correctly displayed for the pre-imported top sites on multistage import screen by doing the following:

  • Have data previously imported from Google Chrome.
  • Set the value of the browser.aboutwelcome.overrideContent to : {"id": "multi-stage-welcome-importable-theme","template": "multistage","screens": [{"id": "AW_GET_STARTED","order": 0,"content": {"zap": true,"title": { "string_id": "onboarding-multistage-welcome-header" }, "subtitle": "The fast, safe, and private browser that's backed by a non-profit.", "primary_button": {"label": "Start Setup","action":{"navigate": true}}, "secondary_button": {"text": "Have an account?", "label": "Sign in","position": "top", "action":{"type": "OPEN_URL","addFlowParams": true, "data":{"args": "https://accounts.firefox.com/?service=sync&action=email&context=fx_desktop_v3&entrypoint=activity-stream-firstrun&style=trailhead","where": "current"}}}}},{"id": "AW_IMPORT_SETTINGS","order": 1,"content": {"zap": true,"title": "Import your passwords, bookmarks,\u00a0and more", "subtitle": "Coming from another browser? It's easy to bring everything to Firefox.","tiles": {"type": "topsites", "tooltip": "These sites were found on this device.\u000AFirefox does not save or sync data from\u000Aanother browser unless you choose to\u000Aimport it."}, "primary_button": {"label": "Start Import", "action":{"type": "SHOW_MIGRATION_WIZARD","navigate": true}},"secondary_button": {"label": "Not now","action":{"navigate": true}}}},{"id": "AW_CHOOSE_THEME","order": 2,"content": {"zap": true, "title": "Choose a look","subtitle": "Personalize Firefox with a theme.","tiles": {"type": "theme","action": {"theme": "<event>"}, "data": [{"theme": "light", "label": "Light"}, {"theme": "dark", "label": "Dark"}]}, "primary_button": {"label": "Save Theme", "action":{"navigate": true}},"secondary_button": {"label": "Not now","action":{"theme": "default","navigate": true}}}}]}
  • Restart the browser and navigate to "about:welcome".
  • Click the "Start Setup" button.
  • Hover the "Top Sites" sections and hold the mouse steady for a few seconds.

Verified using the Firefox Nightly 80.0a1 (Build ID: 20200709093347) on Windows 10 x64, macOS 10.15, and Ubuntu Linux 18.04.

Status: RESOLVED → VERIFIED

Comment on attachment 9161777 [details]
Bug 1643419 - Add Tooltip on pre-importable top sites

Beta/Release Uplift Approval Request

  • User impact if declined: Support legal requirement to show tooltip when showing pre-imported topsites to user in onboarding flow
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: https://bugzilla.mozilla.org/show_bug.cgi?id=1643419#c14
  • List of other uplifts needed: No
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): This feature is behind pref and not exposed to user by default
  • String changes made/needed: None
Attachment #9161777 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

NI Ryan to help approve beta uplift request above. Thanks!

Flags: needinfo?(ryanvm)

Comment on attachment 9161777 [details]
Bug 1643419 - Add Tooltip on pre-importable top sites

Approved for 79.0b8.

Flags: needinfo?(ryanvm)
Attachment #9161777 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

I have verified that the tooltip is correctly displayed for the pre-imported top sites on multistage import screen by following the steps in comment 14 using Firefox Beta 79.0b9 (Build ID: 2020071700151) on Windows 10, macOS 10.15, and Ubuntu Linux 18.04.

I have also verified that the tooltip is not displayed for the pre-imported top sites on multistage import screen by opening a clean profile with Firefox Beta 80.0b4 (Build ID: 20200804180257) and navigating to the "Import" slide on Windows 10, macOS 10.15, and Ubuntu Linux 18.04. However, for this build, the tooltip was changed to a string containing the same message as the tooltip.

Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: