Open
Bug 988151
Opened 11 years ago
Updated 2 years ago
getConfiguration("availableTargets") should take visibility and/or position into account
Categories
(Firefox :: Tours, defect)
Firefox
Tours
Tracking
()
NEW
People
(Reporter: MattN, Unassigned)
References
Details
I guess we need to define better what "available" means or perhaps include a boolean value indicating visibility.
Use cases:
A1) Page wants to know that if the addons button is in a the *hidden* bookmarks toolbar.
A2) Page wants to know if "accountStatus" is actually visible in the menu panel or if its hidden. (It can currently use getConfigutation("sync") but it's still somewhat weird to say the target is available when the (widget of the) target is @hidden=true (see the panel cavest below).
B) The page is handling showing and hiding the menu itself (perhaps because it wants to show the menu in a tour step before annotating anything inside). The page needs to know if the target is in the panel menu or not in order to know whether hideMenu should be called.
I have been wondering if getTarget or the target's query function could handle some of this itself.
The menu panel is somewhat special since the items aren't visible before the panel is first constructed and the panel will automatically open to make it visible. We can check the scrollWidth/scrollHeight to take display: none of a parent element into account or handle it in the target's query function before it looks at the anonymous children?
We should probably address these issues in some way or the menu panel is going to end up open more than necessary in the tour once users start customizing (e.g. opening the tour from the Help menu).
Comment 1•11 years ago
|
||
Matt, is there any scope to get this done in time for 29? Even if we don't use it in the tour for release, it would be a nice-to-have should we get breakage over time.
I understand if this is not possible in the time we have left, but thought I'd ask!
Updated•11 years ago
|
Flags: needinfo?(MattN+bmo)
Reporter | ||
Comment 2•10 years ago
|
||
It's very unlikely to make 29 since today was the last day for speculative fixes and there are still quite a few bugs marked with higher priority.
I've nominated this for our teams backlog so maybe someone else can pick it up sooner. We can try aim for 30 since we'll still be running the welcome (firstrun) tour.
tracking-firefox30:
--- → ?
Flags: needinfo?(MattN+bmo) → firefox-backlog?
Whiteboard: [Australis:P4] → [Australis:P4+]
Comment 3•10 years ago
|
||
Ok understood thanks, Matt!
Updated•10 years ago
|
Flags: firefox-backlog? → firefox-backlog+
Comment 4•10 years ago
|
||
I see it in the backlog and also as 'nice to have' - but there's no obvious reason why this should be a tracking issue. If there's a speculative fix that's Beta-safe in the next two weeks, please nominate for uplift and we can try it out on the larger population to make sure there aren't any obvious regressions. No need to drive on this bug though as it's an enhancement more than a regression fix.
Comment 5•10 years ago
|
||
It's worth noting here: by the time this bug gets worked on we will likely be using the current implementation in production. Whatever alterations are made, we need to try and avoid introducing breaking changes if at all possible.
Comment 6•10 years ago
|
||
Getting this on the radar for the /whatsnew tour deploying in 36. It's in our current wireframes to highlight the icon for users who have it in their toolbar.
Blocks: 1113400
status-firefox36:
--- → affected
Updated•10 years ago
|
Comment 7•10 years ago
|
||
Removing this as a blocker for 36 as our wireframes work without it.
No longer blocks: fx-UITour-hello-36
Updated•9 years ago
|
Whiteboard: [Australis:P4+] → [Australis:P4+] [fxprivacy]
Updated•9 years ago
|
Flags: qe-verify?
Priority: -- → P1
Updated•9 years ago
|
Priority: P1 → P3
Updated•9 years ago
|
No longer blocks: 1216897
Flags: qe-verify?
Flags: firefox-backlog+
Priority: P3 → --
Whiteboard: [Australis:P4+] [fxprivacy] → [Australis:P4+]
Comment 8•9 years ago
|
||
Discussed during the team's Release 45 Planning meeting.
Updated•8 years ago
|
Component: General → Tours
Whiteboard: [Australis:P4+]
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•