Closed Bug 1052481 Opened 10 years ago Closed 10 years ago

[Search] Visual Refinements for Rocket Bar

Categories

(Firefox OS Graveyard :: Gaia::System::Browser Chrome, defect)

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED FIXED
2.1 S3 (29aug)
tracking-b2g backlog

People

(Reporter: epang, Assigned: kgrandon)

References

Details

(Keywords: polish, Whiteboard: [systemsfe])

User Story

Criteria:

1. Input field width and height needs to be updated to spec
2. Input text should be italic (also check colour) 
3. The ellipses are too close to the edge of the input field, can we add 1rem padding to the right?

From bug 1052492:

1. Input Text should be italic (also check the colour and size)
2. Div line should be #000000 at 5% opacity
3. The input field should have a light and right padding (inside) of 1.6 rem

Adding a few more items to check:
1. Height of the Rocket bar - should be 3.4 rem (HVGA) and 5.1 (Flame)
2. The back/forward buttons are vertically aligned with the RB


Collapsed spec: https://mozilla.app.box.com/s/y6ubtn3364pvcmoxgis7
Expanded spec: https://mozilla.app.box.com/s/oedme1y7u6m3s6lxvk0a

Attachments

(1 file)

Hi,

The collapsed rocket bar needs some visual refinements.

1. Input field width and height needs to be updated to spec
2. Input text should be italic (also check colour) 
3. The ellipses are too close to the edge of the input field, can we add 5rem padding to the right?

Link to spec: https://mozilla.box.com/s/y6ubtn3364pvcmoxgis7

Thanks!
(In reply to Eric Pang [:epang] from comment #0)
> Hi,
> 
> The collapsed rocket bar needs some visual refinements.
> 
> 1. Input field width and height needs to be updated to spec
> 2. Input text should be italic (also check colour) 
> 3. The ellipses are too close to the edge of the input field, can we add
> 5rem padding to the right?
> 
> Link to spec: https://mozilla.box.com/s/y6ubtn3364pvcmoxgis7
> 
> Thanks!

correction to # 3 The ellipses are too close to the edge of the input field, can we add 5rem padding to the right?

It should be 1 rem, not 5 (there should be 1 rem on both sides of the input box)
Blocks: rocketbar-search-mvp
No longer blocks: browser-chrome-mvp
Component: Gaia::Search → Gaia::System::Browser Chrome
Blocks: 941182
No longer blocks: browser-chrome-mvp
blocking-b2g: --- → backlog
No longer blocks: browser-chrome-mvp
Blocks: browser-chrome-mvp
No longer blocks: 941182
Keywords: polish
Due to the animated nature of the rocketbar, it's going to be very difficult to consider these modifications along with the ones from bug 1052492 separately. Due to this, I'm going to combine them into this bug, and try to get a single set of requirements for the rocketbar. We may have to compromise here a bit in order to keep the nice animation.
User Story: (updated)
Summary: [Search] Visual Refinements for Rocket Bar (collapsed state) → [Search] Visual Refinements for Rocket Bar
User Story: (updated)
Assignee: nobody → kgrandon
Target Milestone: --- → 2.1 S3 (29aug)
> 2. Div line should be #000000 at 5% opacity

This was implemented already, but I've modified it to fit the spec'd position and size.

> 3. The ellipses are too close to the edge of the input field, can we add 1rem padding to the right?

Implemented in patch.

> 2. Input text should be italic (also check colour) 

Implemented already.


This leaves the following remaining items:

Collapsed:
1. Input field width and height needs to be updated to spec

Expanded:
1. The input field should have a light and right padding (inside) of 1.6 rem
2. Height of the Rocket bar - should be 3.4 rem (HVGA) and 5.1 (Flame)
3. The back/forward buttons are vertically aligned with the RB
Attached file Github pull request
> 3. The back/forward buttons are vertically aligned with the RB

This is implemented in the latest patch.
This leaves the following remaining items:

Collapsed:
1. Input field width and height needs to be updated to spec

Expanded:
1. The input field should have a light and right padding (inside) of 1.6 rem
2. Height of the Rocket bar - should be 3.4 rem (HVGA) and 5.1 (Flame)
Comment on attachment 8479440 [details] [review]
Github pull request

Eric - could you give this an initial pass and see what the biggest issues are with the rocketbar? Most of the colors and layout should be correct now, but the width and height will take some iteration. This is tricky because in order to have a smooth collapsing animation we are a bit limited on what we can currently do to the rocketbar dimensions. 

We have bug 1054778 filed to make it so we can fine-tune the rocketbar sizing and animation. If we can get all of the other visual aspects covered here, I'd like to close this and use bug 1054778 to handle the sizing issues.
Attachment #8479440 - Flags: ui-review?(epang)
Comment on attachment 8479440 [details] [review]
Github pull request

Hey Chris - would you be available for a quick visual review of this? Thanks!
Attachment #8479440 - Flags: review?(chrislord.net)
(In reply to Kevin Grandon :kgrandon from comment #9)
> Comment on attachment 8479440 [details] [review]
> Github pull request
> 
> Hey Chris - would you be available for a quick visual review of this? Thanks!

Something I've noticed which is a bit odd, the active state of the back button is bigger than the normal state. This isn't weird by itself, but the forward button doesn't match this, so I guess one of these is a mistake? Similarly, the refresh button active state is bigger than the normal state, as is the stop button and overflow menu button, so I guess the forward button is the mistake? This may be a pre-existing bug, I've never looked closely before.

(Another?) pre-existing bug, the network indicator and battery icons shift slightly in the collapsed state vs. the expanded state.

The text gets ellipsised correctly in this pull request, which I guess is the major change.
Comment on attachment 8479440 [details] [review]
Github pull request

This is an improvement and I don't immediately spot any regressions testing it out.
Attachment #8479440 - Flags: review?(chrislord.net) → review+
(In reply to Chris Lord [:cwiiis] from comment #10)
> Something I've noticed which is a bit odd, the active state of the back
> button is bigger than the normal state. This isn't weird by itself, but the
> forward button doesn't match this, so I guess one of these is a mistake?
> Similarly, the refresh button active state is bigger than the normal state,
> as is the stop button and overflow menu button, so I guess the forward
> button is the mistake? This may be a pre-existing bug, I've never looked
> closely before.

I think it's pre-existing, but I will check and make a fix if it's trivial, thanks.
Status: NEW → ASSIGNED
(In reply to Kevin Grandon :kgrandon from comment #12)
> (In reply to Chris Lord [:cwiiis] from comment #10)
> > Something I've noticed which is a bit odd, the active state of the back
> > button is bigger than the normal state. This isn't weird by itself, but the
> > forward button doesn't match this, so I guess one of these is a mistake?
> > Similarly, the refresh button active state is bigger than the normal state,
> > as is the stop button and overflow menu button, so I guess the forward
> > button is the mistake? This may be a pre-existing bug, I've never looked
> > closely before.

I tried to reproduce this, but was unable to see it on a device. Maybe file a new bug and we'll track this for after FL polish if it's an issue?
Comment on attachment 8479440 [details] [review]
Github pull request

Hey Kevin, this looks good as long as the sizing changes are still addressed in the other bug.  There's a few visual dependencies on the sizing such as the icon prioritization and ambient notification indicator. Thanks!
Attachment #8479440 - Flags: ui-review?(epang) → ui-review+
Master: https://github.com/mozilla-b2g/gaia/commit/4185f79e5798b5ef5d553a2c9d71197980a6370c
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
blocking-b2g: backlog → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: