Closed Bug 1378465 Opened 7 years ago Closed 7 years ago

newtab tour items change offset on completion

Categories

(Firefox :: New Tab Page, defect, P1)

56 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 56
Tracking Status
firefox56 --- verified

People

(Reporter: tomer, Assigned: tomer)

References

()

Details

(Whiteboard: [photon-onboarding])

Attachments

(3 files)

Attached image tour animation
When completing a task on the newtab tour, the task title gets a green completion badge. As a side effect, the items below gets down by about a pixel. 

Actual result: Please see attached animation.

Last good revision: 22017d54ba07b285e2c258b3031091f38775a72d
First bad revision: 3a2a088b9465856f4de98847490b5b871476d4bd
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=22017d54ba07b285e2c258b3031091f38775a72d&tochange=3a2a088b9465856f4de98847490b5b871476d4bd
Blocks: 1370459
Component: General → New Tab Page
Whiteboard: [photon-onboarding]
(In reply to Tomer Cohen :tomer from comment #0)
> down by about a pixel. 

Six pixels, to be exact. 

Dimensions of incomplete task: 214px × 45px
Dimensions of completed task:  214px × 51px

I can fix it by adding a float:inline-start rule, but while it looks pretty on RTL, it does overlap the text on LTR.
Flags: qe-verify+
Priority: -- → P2
Target Milestone: --- → Firefox 56
QA Contact: jwilliams
Thanks for helping out!
Assignee: nobody → tomer.moz.bugs
Priority: P2 → P1
Comment on attachment 8883823 [details]
Bug 1378465 - newtab tour items change offset on completion

https://reviewboard.mozilla.org/r/154628/#review159824

thanks for the patch! 1 nit for rtl improvement

::: browser/extensions/onboarding/content/onboarding.css:138
(Diff revision 1)
>  }
>  
>  #onboarding-tour-list > li.onboarding-complete::before {
>    content: url("img/icons_tour-complete.svg");
>    position: relative;
>    left: 6px;

can change `left: 6px` to `offset-inline-start: 3px;` then rtl will works fine as well
Comment on attachment 8883823 [details]
Bug 1378465 - newtab tour items change offset on completion

https://reviewboard.mozilla.org/r/154628/#review160122

LGTM, thanks!
Attachment #8883823 - Flags: review?(gasolin) → review+
Keywords: checkin-needed
need a suitable reviewer still it seems, can you fix this so we can use autoland ? thanks
Flags: needinfo?(tomer.moz.bugs)
Keywords: checkin-needed
Hi tomer, you still need mossop's stamp so the autoland will work
Comment on attachment 8883823 [details]
Bug 1378465 - newtab tour items change offset on completion

https://reviewboard.mozilla.org/r/154628/#review160326
Attachment #8883823 - Flags: review?(dtownsend) → review+
Flags: needinfo?(tomer.moz.bugs)
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/7b5a7ee81d81
newtab tour items change offset on completion r=gasolin,mossop
Keywords: checkin-needed
I have reproduced this bug with nightly 56.0a1 (2017-07-05) on Linux Mint (64 Bit).

The bug's fix is now verified on Latest Nightly 56.0a1

Build ID 	20170714100217
User Agent 	Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
QA Whiteboard: [bugday-20170712]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: