Closed
Bug 984404
Opened 11 years ago
Closed 11 years ago
[FTE] Wrong step indicator
Categories
(Firefox OS Graveyard :: Gaia::First Time Experience, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: fcampo, Assigned: mihai)
References
Details
Attachments
(4 files)
When we go through all the steps on the First Time Experience, the step indicator shows incorrect positions:
- The last step [About B2G OS (2)] is signalled on the step indicator as the previous-to-last
- Jump from [Import Contacts] to [About B2G OS (1)] is quite bigger than the rest of the step
Reporter | ||
Comment 1•11 years ago
|
||
Check the position of the marker before the jump
Reporter | ||
Comment 2•11 years ago
|
||
Now the indicator has moved way more than one step space
Reporter | ||
Comment 3•11 years ago
|
||
There's still space for another step, but we are on the last one
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mihai
Assignee | ||
Comment 4•11 years ago
|
||
Some refactoring was required to properly account for skipping steps in the FTU. Let me know if it looks good (added tests as well).
Attachment #8399097 -
Flags: review?(fernando.campo)
Reporter | ||
Comment 5•11 years ago
|
||
Comment on attachment 8399097 [details] [review]
Pull Request #17783 - [FTU] Update navigation progress bar logic
Code looks good Mihai, thanks for taking care of it. Just some comments on github, we can merge after fixing those (merely readability and improve tests).
I tested it on device and works good, but I need to test if on a Fugu to see that it doesn't break any DSDS behaviour (I don't think it will, judging from the code, but I'd rather not risk it).
Also, I'm r+ this because is a quicker patch than waiting for the full refactor from bug 916826 (hopefully we'll fix the current navigation mess in there)
Attachment #8399097 -
Flags: review?(fernando.campo) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 8399097 [details] [review]
Pull Request #17783 - [FTU] Update navigation progress bar logic
Thanks for the review Fernando! I updated the tests in the PR, let me know if it is good to merge.
Attachment #8399097 -
Flags: review+ → review?(fernando.campo)
Reporter | ||
Comment 7•11 years ago
|
||
Comment on attachment 8399097 [details] [review]
Pull Request #17783 - [FTU] Update navigation progress bar logic
Hi Mihai, Even if code seems ok at first, I have to r- it after testing it on device. Basically, if you try without a SIM card inserted, we don't show the cellular data screen (ok), but the step indicator clearly jumps one position (not ok).
The idea is that the length of the step indicator varies depending on the total number of steps, so we don't have this kind of jumps (see bug 826623 comment 6).
Attachment #8399097 -
Flags: review?(fernando.campo) → review-
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 8399097 [details] [review]
Pull Request #17783 - [FTU] Update navigation progress bar logic
Thanks for the input Fernando, I had the impression that the respective step jump should be intentional... The PR is now updated to meet the requirements (did a refactor of my previous approach, this one should be cleaner).
Let me know if it is good to go.
Attachment #8399097 -
Flags: review- → review?(fernando.campo)
Updated•11 years ago
|
Reporter | ||
Comment 9•11 years ago
|
||
Comment on attachment 8399097 [details] [review]
Pull Request #17783 - [FTU] Update navigation progress bar logic
Thanks Mihai,
code looks good, and works fine on the device.
Attachment #8399097 -
Flags: review?(fernando.campo) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Thanks for the review, Fernando!
Landed on master:
https://github.com/mozilla-b2g/gaia/commit/6638a589bb0ba7e7e8f6acd3e07f668cfb4cfc11
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•