Closed Bug 925945 Opened 11 years ago Closed 10 years ago

[Building Blocks] Update range slider visual design

Categories

(Firefox OS Graveyard :: Gaia, defect)

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: caseyyee.ca, Assigned: joshua-s)

References

Details

(Whiteboard: ux-tracking, visual design, visual-tracking, bokken )

Attachments

(3 files, 2 obsolete files)

Update range slider to new 1.3 visual design.  

note: I noticed that settings app does not utilize BB for this. The design posted here should be copied to anywhere that uses this control.   I propose that we use the BB anywhere we can to maintain consistency wherever the control is deployed.
Flagging VD to post design to bug.
Flags: needinfo?(pabratowski)
Flags: needinfo?(pla)
Flags: needinfo?(pabratowski)
Whiteboard: ux-tracking → ux-tracking, visual design, jian
Priority: -- → P1
This is spec + animation I already emailed to Casey on Monday, but I'm posting it here to make it official.

Casey, ping me if you need to chat about exactly how to implement the animations, and we can discuss if adjustments are needed to make implementation go more smoothly.
Flags: needinfo?(pla)
OS: Mac OS X → Gonk (Firefox OS)
Hardware: x86 → Other
I think the issue in the Settings app should be moved to another bug.  The settings app uses input[type="range"], but the bb uses a completely different (and I must say more hacky) markup.
Taking this!
Assignee: nobody → joshua-smith
Attached file PR on Github (obsolete) —
Attachment #8341318 - Flags: review?
Attachment #8341318 - Flags: feedback?(pla)
Attached image Screenshot after patch (obsolete) —
Here is a screenshot!
Joshua, flag Arnau (arnau@tid.es) for code review one we have the go-ahead from Peter.
Comment on attachment 8341318 [details] [review]
PR on Github

Hi Joshua, thanks for you work on this.
I've tried loading your patch, but once flashed I don't seem to see any changes.

My comments are based on the screen cap you attached.

Can you take a closer look at the specs? I'm finding there's a lot of small tweaks that are needed.

ex)
Colour
Filled bar should be #00AACC
Circle should be #00CAF2
Unfilled line should be #9BA6A8

Also, the line thickness is incorrect with the scrubber:
Unselected state: 1.5px line thickness (with the .5 on the outer part of the circle)

Select State: 4.5px line thickness (with the .5 on the outer part of the circle)

Please flag me for review again when ready.  Let me know if you have any questions. Thanks!
Eric
Attachment #8341318 - Flags: feedback?(pla) → feedback-
Sorry about that, I took the colors directly from the video.  Apparently the video is wrong, and I should have looked at the spec :)
(In reply to Joshua Smith [:joshua-s] from comment #9)
> Sorry about that, I took the colors directly from the video.  Apparently the
> video is wrong, and I should have looked at the spec :)

No problem, sorry for the delay of my reply.  I looked at the screen you sent me, it looks much better.  Can you update your PR so I can flash to to my device and see how it looks in action?  Thanks!
Flags: needinfo?(joshua-smith)
Argh, rebasing made me have to close the previous pull request.  Please use this one instead :)
Attachment #8341318 - Attachment is obsolete: true
Attachment #8341318 - Flags: review?
Flags: needinfo?(joshua-smith)
Attachment #8342550 - Flags: review?
Attachment #8342550 - Flags: feedback?(epang)
Attachment #8341326 - Attachment is obsolete: true
Comment on attachment 8342550 [details] [review]
PR on Github (Version 2)

Clearing the feedback flag.  Joshua, Casey said there is something odd in the code that he is going to look into.  Thanks!
Attachment #8342550 - Flags: review?
Attachment #8342550 - Flags: feedback?(epang)
Whiteboard: ux-tracking, visual design, jian → ux-tracking, visual design, bokken
Blocks: SysFE
No longer blocks: 1.3-visual-refresh
Blocks: 965889
We should aim to have this done for 1.5 (2.0) what is blocking this? Can we get this into the next milestone?
Flags: needinfo?(kyee)
Flags: needinfo?(joshua-smith)
Target Milestone: --- → 1.5 S1 (9may)
I talked to Casey over IRC a week or two ago, and he said that there is a bigger problem underlying this change.  While the current patch addresses the building blocks, there is some other (possibly non-gaia) code that is affecting the styling of the range sliders in various apps.

Should we create a new bug to track that issue, and just land this, or should this patch attempt to fix those problems as well?
Flags: needinfo?(joshua-smith)
Yes, eventually we'll need to land this... either for v.2 with the design attached or v.2.1 with the updated design. So please make any bugs against whatever is blocking this patch. Thanks!
No longer blocks: SysFE, 965885, 965887
Whiteboard: ux-tracking, visual design, bokken → ux-tracking, visual design, visual-tracking, bokken
Priority: P1 → --
Target Milestone: 1.5 S1 (9may) → ---
Moving this work to web component.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(kyee)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: