Closed Bug 988498 Opened 10 years ago Closed 10 years ago

[meta] Calculator Visual Refresh

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S2 (23may)

People

(Reporter: hrpearl01, Assigned: nefzaoui)

References

Details

(Whiteboard: ux-tracking, visual design)

Attachments

(6 files, 3 obsolete files)

User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36
Whiteboard: ux-tracking, visual design
Attached image VSD Mockup: Main Screen (obsolete) —
NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings.

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
[User impact] if declined:
[Testing completed]:
[Risk to taking this patch] (and alternatives if risky):
[String changes made]:
Attachment #8397314 - Flags: ui-review?(epang)
Attachment #8397314 - Flags: feedback?(epang)
Attachment #8397314 - Flags: approval-gaia-v1.4?
Comment on attachment 8397314 [details]
VSD Mockup: Main Screen

Approval gaia v4 doesn't apply to a UX spec.
Attachment #8397314 - Flags: approval-gaia-v1.4?
This design is not approved by UX team or following the visual refresh style, so it should not block the 2.0 metabug.

Thanks.
Attachment #8397314 - Flags: ui-review?(epang)
Attachment #8397314 - Flags: feedback?(epang)
Hi, I'm not the right person for this.  I've added Patryk a Fang to the cc list.
Comment on attachment 8397314 [details]
VSD Mockup: Main Screen

Obsoleting unapproved visual -- new designs are on the way.
Attachment #8397314 - Attachment is obsolete: true
Attached image Calculator20140508.png (obsolete) —
Hi, Attached is a preview for calculator visual refresh. It will only have a few minor changes after, which will not affect any layout or functionality.  The final UI spec will be released soon! Thanks!
Attached image Calculator20140509.png
Attachment #8419172 - Attachment is obsolete: true
Spec attached! Thanks!
I'm willing to take this bug however I have a question, Does the Calculator require additional js coding after restoring it implementing the new design?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Ahmed, I think it should just be styling/layour updates. Note that the image in comment #7 implies a new feature by showing the equation above the result, but that part is not in scope for this bug. You can just follow the specs attached in comment #8.

Nick, is there anything tricky you'd call out with these new visuals?
Flags: needinfo?(nick)
Okay, thanks Oliver.
Fang, how about the app icons?
Assignee: nobody → nefzaoui.ahmed
Flags: needinfo?(fshih)
The calculator does not currently display the previous expression, but it's not too much work to show the previous two operands and operation.  I don't really have spare cycles to implement this right now, though.
Flags: needinfo?(nick)
Attached file WIP Patch - GIthub PR (obsolete) —
Work in progress.
Adding it though for any early feedback from anyone. :)
I thought we weren't adding this into Gaia, that way we can deliver updates to users faster.  @Ahmed, you should fork, then issue a PR against: https://github.com/mozilla/calculator and close your PR against gaia.
Correct, we want to leave this in the mozilla/calculator location as a Marketplace app. Partner and internal builds will pull it from there to include it as a pre-install.
Comment on attachment 8420352 [details] [review]
WIP Patch - GIthub PR

Aha! Okay, sorry for the inconvenience. Had no idea about the plans..
Attachment #8420352 - Attachment is obsolete: true
Attached file PR to Github
It's still a work in progress. Plus few things need to be addressed that I don't see mentioned in the spec PDF.
1) How much margin to keep on the left for Display numbers?
2) Display IMO should have a dynamic height value. e.g. 100% - 30rem. In order to fill the white/empty space in *some* screens.
3) Spec didn't include "previous expression" part.

Fang, or anyone, can you please help me and clarify that for me?

Thanks. :)
Hi Ahmed,
Thanks for the work! For the margin on the display numbers will be 3 rem for both left and right. 
I’ve also attached the spec for dynamic height. And I adjusted the color a little, may need your help to update it, Please refer to the new spec(page2) for both detail.  
And for the spec on "previous expression" part, previously I was informed there will be no functional changes, therefore I removed the previous expression part from spec, however, if developers have time to implement this function, I will be happy to put back to spec, just want to make sure.
For the app icon, Peter is working on it right now, we'll update it soon after. 
Thanks!
Flags: needinfo?(fshih)
Comment on attachment 8420486 [details] [review]
PR to Github

Updated my patch, it's now ready for review, however before r? I'm waiting for icons to be ready to include them. Or we can open a bug for App's icons since this is a meta bug? :)
Attachment #8420486 - Attachment description: WIP - PR to Github → PR to Github
> Or we can open a bug...

No, this cross bugzilla-GH thing is stupid.  I really don't understand why Gaia does it.  Don't worry about attaching your patches here.

I'll close out this bug when I merge your PR, after code review iterations.  Keep up the good work.
Target Milestone: --- → 2.0 S2 (23may)
Comment on attachment 8420486 [details] [review]
PR to Github

I think it's pretty ready for a first review..
Don't know about icons though.. ?
Attachment #8420486 - Flags: review?(nick)
Comment on attachment 8420486 [details] [review]
PR to Github

Active operation highlight functionality broken.  See comments in GH.  Please just mention my username, @nickdesaulniers, on GH rather than flagging me for review here.
Attachment #8420486 - Flags: review?(nick)
Hi,

Attached is the exported Calculator app icon at the following sizes:

@1 > 84 (HVGA)
@1.5 > 126 (WVGA/FWVGA)
@2 > 142 (qHD) - this should actually be called @1.6875x but I'm going with the convention that was already established
@2.25 > 189 (720p)
@3.375 > 284 (full HD)

I've also attached a 256x256 generic size in case you need it.
I should note that the icons sizes for @1, @1.5, @2, @2.25 and @3.375 are for the new Homescreen in 2.0.
Added the new icons
Fixed operation highlight functionality
Fixed values highlighting functionality
Should be ready for a review, mentioned you in the PR. :)
Attached image calc-highlight.png
Fang, we might want to consider a border above the buttons or some differentiation between the background color of the result window and that of the active highlights on the buttons below. When the +-x/ operands are used, they remain highlighted while you enter the next number so it results in this kind of situation where the two run together when multiplying or dividing.
Flags: needinfo?(fshih)
(In reply to Dylan Oliver [:doliver] from comment #26)
> Created attachment 8428259 [details]
> calc-highlight.png
> 
> Fang, we might want to consider a border above the buttons or some
> differentiation between the background color of the result window and that
> of the active highlights on the buttons below. When the +-x/ operands are
> used, they remain highlighted while you enter the next number so it results
> in this kind of situation where the two run together when multiplying or
> dividing.

Hi Dylan, Thank you for pointing out. I agree with you. In this case, I like to change the hightligts color to the dark gray #0f0f0f instead. And I've noticed from the current build. The font weight of the display and key number seen thicker then the original design. Just wanted to make sure it is Fira Sans, Ultralight for both display number and the key number. Thanks!
Flags: needinfo?(fshih)
Actually I added couple of days ago a note in the last comment(*) of my PR that I updated the font weights however this depends on Bug 987872 Which has not landed yet.
Meanwhile,
Changed highlight color to #0f0f0f.
Updated keys font weight from Light to Ultralight

(*) https://github.com/mozilla/calculator/pull/71#issuecomment-44096106

Thanks
Merged.  Thanks Ahmed!  Calculator 2.0 is waiting for review in marketplace, will be available shortly.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Depends on: Calculator
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: