Closed
Bug 625229
Opened 15 years ago
Closed 14 years ago
Make side panes easier to discover on first-run
Categories
(Firefox for Android Graveyard :: General, enhancement, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 6
People
(Reporter: tarend, Assigned: wesj)
References
Details
(Keywords: uiwanted, ux-userfeedback)
Attachments
(2 files, 3 obsolete files)
694.01 KB,
video/ogg
|
Details | |
8.97 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Situation:
Users don't discover side panes easily, so they can't figure out how to navigate, access tabs, an change settings
Reporter | ||
Comment 1•15 years ago
|
||
And idea we discussed was to show the side panes on first-run and then zoom in / hide the size panes. Alternative: show a good visual hint on firstrun or start page (something like tabs <--- ---> settings)
Madhava: please feel free to add color and detail. Thanks!
Keywords: ux-feedback
Comment 2•15 years ago
|
||
I remeber one idea we had was to use a simple animation on the firstrun page. First, show the sidebars, then animate them moving offscreen. Finally, the normal firstrun content would be shown.
Updated•15 years ago
|
Severity: normal → enhancement
Priority: -- → P3
Updated•15 years ago
|
Priority: P3 → P1
Comment 3•15 years ago
|
||
why is this severity P1? its an enhancement request
Reporter | ||
Comment 4•15 years ago
|
||
See http://bit.ly/bugprio
Priority = how many people are affected (P1 = everyone uses side panes)
Severity = impact of the issue or feature (here: enhancement)
Comment 5•15 years ago
|
||
(In reply to comment #4)
> See http://bit.ly/bugprio
> Priority = how many people are affected (P1 = everyone uses side panes)
> Severity = impact of the issue or feature (here: enhancement)
ah, thanks thomas. As long as we have an understanding on what this means to those working on bugs, and a clear way to expose this to set expectations.
Comment 6•14 years ago
|
||
Design work proceeding on the feature page: https://wiki.mozilla.org/Fennec/Features/disc
Keywords: uiwanted
Summary: Feature Request: Make side panes easier to discover → Make side panes easier to discover on first-run
Assignee | ||
Comment 7•14 years ago
|
||
This works, but might need a little tweaking. I'll try to get a video recorded sometime this weekend.
Assignee: nobody → wjohnston
Assignee | ||
Comment 8•14 years ago
|
||
Here is a video of how this looks.
Comment 9•14 years ago
|
||
From a technically viewpoint, it doesn't look to bad. The sliding looks fluid. From a UX viewpoint, it also looks good. We can discuss whether both sidebars should slide out together or we alternate, as in the video. Either way, it's a great start.
Now, we need to run the same on Android and see how fluid it is.
Assignee | ||
Comment 10•14 years ago
|
||
Just to convince finkle the performance isn't worthless, horrible webcam video ahoy:
http://www.youtube.com/watch?v=CyYG_RxESqI
Comment 11•14 years ago
|
||
(In reply to comment #10)
> Just to convince finkle the performance isn't worthless, horrible webcam video
> ahoy:
>
> http://www.youtube.com/watch?v=CyYG_RxESqI
finkle is satisfied! looks pretty good, thanks
Assignee | ||
Comment 12•14 years ago
|
||
This does the sidebar demo for us using CSS3 Animations. It will run every time about:firstrun is loaded (which for most people is only on firstrun). I'm not sure if we care enough to hide that behind an additional firstrun pref?
There are a few gotchas that I'm not sure how important they are to us. If you pan the sidebars open during or before the video, things will look bit funky. In addition, I'm not disabling clicking on the sidebars during the demo either.
Attachment #529243 -
Attachment is obsolete: true
Assignee | ||
Comment 13•14 years ago
|
||
Slightly smarter. This disables commands via a broadcaster, and disables the demo if the user starts panning.
Attachment #529795 -
Attachment is obsolete: true
Attachment #529833 -
Flags: review?(mark.finkle)
Comment 14•14 years ago
|
||
Be good to understand the overall first-run flow, including this and the language picker.
Comment 15•14 years ago
|
||
Is there also a plan (perhaps encompassing of the enhanced discoverability as a whole?) to additionally dictate the approach towards using swipe events to access the panes (perhaps an arrow with a dialog or what have you)?
Comment 16•14 years ago
|
||
Comment on attachment 529833 [details] [diff] [review]
Patch
># HG changeset patch
># Parent 6caf1fca1192ce44e38fef447d5c600f6cd0e17e
>
>diff --git a/mobile/chrome/content/browser-ui.js b/mobile/chrome/content/browser-ui.js
>--- a/mobile/chrome/content/browser-ui.js
>+++ b/mobile/chrome/content/browser-ui.js
>@@ -1097,18 +1097,20 @@ var BrowserUI = {
> default:
> isSupported = false;
> break;
> }
> return isSupported;
> },
>
> isCommandEnabled : function(cmd) {
>+ let broadcaster = document.getElementById("bcast_demoMode");
I don't like "demoMode" -> "bcast_uidiscovery"
>- if (elem && (elem.getAttribute("disabled") == "true"))
>+ if ((broadcaster && (broadcaster.getAttribute("mode") == "demo")) ||
>+ (elem && (elem.getAttribute("disabled") == "true")))
"demo" -> "discovery"
You could have each <command> observe the broadcaster, but I guess we don't really need to be that specific yet.
Break these into 2 "if" statments. I think it woul be more clear. Add a comment above the broadcaster "if" statement so we know why it's here
>- <vbox class="panel-dark">
>+ <vbox id="tabs-sidebar" class="sidebar" observes="bcast_demoMode">
is this actually required? OK - I see this is used in the CSS
>- <box id="toolbar-moveable-container">
>+ <box id="toolbar-moveable-container" observes="bcast_demoMode">
same? OK - don't you need the class="sidebar" for this to be used in the CSS?
>- <vbox class="panel-dark">
>+ <vbox id="controls-sidebar" class="sidebar" observes="bcast_demoMode">
same? OK - I see this is used in the CSS
>diff --git a/mobile/chrome/content/firstrun/firstrun.xhtml b/mobile/chrome/content/firstrun/firstrun.xhtml
>- <div id="content">
>+ <div id="content" hidden="true">
not sure it needs to be hidden during the discovery phase, but we'll get more feedback
> function init() {
> setupLinks();
>+ demoUI();
demoUI -> startDiscovery
>+ function endDemo() {
stopDiscovery
>+ function showContent() {
>+ let doc = getChromeWin().document;
>+ let winElt = doc.documentElement;
> }
what exactly is happening here?
>diff --git a/mobile/themes/core/browser.css b/mobile/themes/core/browser.css
>+#toolbar-moveable-container,
> #toolbar-moveable-container[top="0"] {
this seems redundant. you should only need one of these lines
>+/* Sidebar peeking */
>+.sidebar[mode="demo"] {
>+ -moz-animation-delay: 1s;
>+ -moz-animation-duration: 5s;
>+ -moz-animation-name: demosidebars;
mode="demo" -> mode="discovery"
demosidebars -> uidiscovery
r- cause I want to see the next patch before checkin, but this looks good
Attachment #529833 -
Flags: review?(mark.finkle) → review-
Assignee | ||
Comment 17•14 years ago
|
||
> Don't you need the class="sidebar" for this to be used in the CSS?
Whoops. We need to lock the urlbar during the demo so that the sidebars are "attached to it. Typo on my part.
> what exactly is happening here?
Cruft :( Pulled it out now.
Attachment #529833 -
Attachment is obsolete: true
Attachment #530344 -
Flags: review?(mark.finkle)
Comment 18•14 years ago
|
||
Comment on attachment 530344 [details] [diff] [review]
Updated to nits
We might want to add a pref to only show the discovery on the real firstrun and not everytime the page loads. We'll deal with that in a followup.
Attachment #530344 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 19•14 years ago
|
||
Assignee | ||
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Doesn't seem to work after uninstalling and reinstalling the app.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Mozilla/5.0 (Android; Linux armv71; rv6.0a1) Gecko/20110506 Firefox/6.0a1 Fennec/6.0a1
Device: Thunderbolt
OS: Android 2.2
Comment 22•14 years ago
|
||
(In reply to comment #21)
> Mozilla/5.0 (Android; Linux armv71; rv6.0a1) Gecko/20110506 Firefox/6.0a1
> Fennec/6.0a1
This change just landed today, so it is not in the 20110506 nightly build.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
oh oops. Matt's right. Going to test tomorrow.
Comment 24•14 years ago
|
||
Verified Fixed
Device: Nexus One
Mozilla/5.0 (Android; Linux armv7l; rv6.0a1) Gecko/20110508 Firefox/6.0a1 Fennec/6.0a1
Question, is there any expectation that these CSS transforms (albeit very basic usage here) will cause any performance hit on older devices?
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 25•14 years ago
|
||
There has been some concern. Getting some broad(er) device testing was part of reason to check this in now.
Updated•14 years ago
|
Target Milestone: --- → Firefox 6
Comment 26•14 years ago
|
||
Flags: in-litmus+
You need to log in
before you can comment on or make changes to this bug.
Description
•