Closed Bug 1177176 Opened 9 years ago Closed 9 years ago

Support opening the Tracking Protection panel via showMenu

Categories

(Firefox :: Tours, defect, P1)

defect
Points:
5

Tracking

()

RESOLVED FIXED
Firefox 42
Iteration:
42.2 - Jul 27
Tracking Status
firefox42 --- fixed

People

(Reporter: MattN, Assigned: MattN)

References

Details

(Whiteboard: [fxprivacy] [campaign])

Attachments

(2 files)

We may want to anchor a tour panel on the Tracking Protection panel for the first run experience so we should be able to open the panel first.
Flags: firefox-backlog+
Blocks: 1175017
Rank: 17
Priority: -- → P1
Flags: qe-verify-
Assignee: nobody → MattN+bmo
Status: NEW → ASSIGNED
Iteration: --- → 42.2 - Jul 27
Bug 1177176 - Support opening the Tracking Protection panel via UITour.showMenu.
Hey agrigas, Should the 3 tour info panels and the control center panel in step 3 be "sticky" (@noautohide) meaning that a click outside the panel won't automatically hide it and the user will have to use the [X] for the most part? The default of panels in Firefox is "no" but because past tours had the tour navigation (back/next step) in the page content, we made the panels sticky so that a click on the arrow in page content to go to the next step doesn't close a panel that may need to be immediately re-opened for the next step. With the current designs, the tour step navigation is in the panel itself so this may not be necessary. Making a panel sticky is more annoying to users since they have to more explicitly close them and they're used to the non-sticky heaviour. Since "sticky" panels are rarely used outside of the tours, they're also more buggy (especially on Linux) and cause unusual operating system-specific bugs in some cases. See the tour from the Firefox Help menu for an example of the sticky behaviour which differs from the behaviour of the control center panel by default. We can try either option but I would lean towards non-sticky (default behaviour) unless you feel strongly about making them sticky.
Flags: needinfo?(agrigas)
Attachment #8635102 - Attachment description: MozReview Request: Bug 1177176 - Support opening the Tracking Protection panel via UITour.showMenu. → MozReview Request: Bug 1177176 - Support opening the Tracking Protection panel via UITour.showMenu. r=bgrins
Attachment #8635102 - Flags: review?(bgrinstead)
Comment on attachment 8635102 [details] MozReview Request: Bug 1177176 - Support opening the Control Center panel via UITour.showMenu. r=bgrins Bug 1177176 - Support opening the Tracking Protection panel via UITour.showMenu. r=bgrins
(In reply to Matthew N. [:MattN] from comment #2) > Hey agrigas, > > Should the 3 tour info panels and the control center panel in step 3 be > "sticky" (@noautohide) meaning that a click outside the panel won't > automatically hide it and the user will have to use the [X] for the most > part? The default of panels in Firefox is "no" but because past tours had > the tour navigation (back/next step) in the page content, we made the panels > sticky so that a click on the arrow in page content to go to the next step > doesn't close a panel that may need to be immediately re-opened for the next > step. With the current designs, the tour step navigation is in the panel > itself so this may not be necessary. > > Making a panel sticky is more annoying to users since they have to more > explicitly close them and they're used to the non-sticky heaviour. Since > "sticky" panels are rarely used outside of the tours, they're also more > buggy (especially on Linux) and cause unusual operating system-specific bugs > in some cases. > > See the tour from the Firefox Help menu for an example of the sticky > behaviour which differs from the behaviour of the control center panel by > default. > > We can try either option but I would lean towards non-sticky (default > behaviour) unless you feel strongly about making them sticky. I would prefer sticky as that is the behavior we have designed for the control panel notifications for 43. For example when asked to accept a permission, we're changing it from unsticky to having the user engage with the notification since the ctr is so low for notifications. I think especially given we want people to finish the tour, that having them explicitly dismissed via an X is important.
Flags: needinfo?(agrigas)
Comment on attachment 8635102 [details] MozReview Request: Bug 1177176 - Support opening the Control Center panel via UITour.showMenu. r=bgrins https://reviewboard.mozilla.org/r/13507/#review12175 Ship It!
Attachment #8635102 - Flags: review?(bgrinstead) → review+
Comment on attachment 8635102 [details] MozReview Request: Bug 1177176 - Support opening the Control Center panel via UITour.showMenu. r=bgrins Bug 1177176 - Support opening the Control Center panel via UITour.showMenu. r=bgrins
Attachment #8635102 - Attachment description: MozReview Request: Bug 1177176 - Support opening the Tracking Protection panel via UITour.showMenu. r=bgrins → MozReview Request: Bug 1177176 - Support opening the Control Center panel via UITour.showMenu. r=bgrins
Attachment #8635102 - Flags: review+ → review?(bgrinstead)
Bug 1177176 - Make the Control Center panel sticky when opened via UITour.showMenu. r=bgrins @noautohide makes the panel sticky like we do for the appMenu and loop.
Attachment #8635609 - Flags: review?(bgrinstead)
Comment on attachment 8635609 [details] MozReview Request: Bug 1177176 - Make the Control Center panel sticky when opened via UITour.showMenu. r=bgrins https://reviewboard.mozilla.org/r/13573/#review12189 ::: browser/components/uitour/UITour.jsm:1577 (Diff revision 1) > + } else { Nit: no need for an else after the early return ::: browser/components/uitour/UITour.jsm:1570 (Diff revision 1) > + popup.setAttribute("noautohide", true); The `this.availableTargetsCache.clear()` call should move up to right below the "noautohide" stuff and outside of the two conditionals
Attachment #8635609 - Flags: review?(bgrinstead)
Comment on attachment 8635609 [details] MozReview Request: Bug 1177176 - Make the Control Center panel sticky when opened via UITour.showMenu. r=bgrins https://reviewboard.mozilla.org/r/13573/#review12191 Ship It!
Attachment #8635609 - Flags: review+
Attachment #8635102 - Flags: review?(bgrinstead) → review+
Comment on attachment 8635102 [details] MozReview Request: Bug 1177176 - Support opening the Control Center panel via UITour.showMenu. r=bgrins https://reviewboard.mozilla.org/r/13507/#review12193 Ship It!
It seems the nsIUrlClassifierDBService.beginUpdate intermittent failure happens also on platforms other than Linux, maybe less frequently, see for example this try run that includes the changesets above: https://treeherder.mozilla.org/#/jobs?repo=try&revision=08c37be952f5
I think you meant that comment for bug 1177162 and I'm not surprised about that but couldn't reproduce on try with my tweaked patch including logging. I think we'll end up dealing with it somehow in a new bug for the intermittent.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 42
Whiteboard: [fxprivacy] → [fxprivacy] [campaign]
Depends on: 1188454
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: