Closed
Bug 1078202
Opened 11 years ago
Closed 11 years ago
[Top sites]Top Sites aren't configured for a mnc/mcc inserting the sim card after completing the FTE with a not configured sim
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:2.1+, b2g-v2.1 fixed, b2g-v2.2 fixed)
People
(Reporter: lolimartinezcr, Assigned: daleharvey)
References
Details
(Keywords: regression, Whiteboard: [systemsfe])
Attachments
(1 file)
|
46 bytes,
text/x-github-pull-request
|
kgrandon
:
review+
albert
:
feedback+
bajaj
:
approval-gaia-v2.1+
|
Details | Review |
Flame
2.2
User
Gecko-9764e19
Gaia-ded41a4
STRs:
1. Completing the FTE with a not configured sim inserted
2. Open browser app -> Default Top sites are inserted and displayed in Top Sites list
3. Turn off the device
4. Insert a configured sim card
5. Turn on the device
6. Open browser app
7. Open top sites tab
Actual result:
Operator Top sites *aren't* inserted and displayed in Top Sites lis
Expected result:
Operator Top sites are inserted and displayed in Top Sites lis
| Reporter | ||
Updated•11 years ago
|
Summary: [Top sited]Top Sites aren't configured for a mnc/mcc inserting the sim card after completing the FTE with a not configured sim → [Top sites]Top Sites aren't configured for a mnc/mcc inserting the sim card after completing the FTE with a not configured sim
| Assignee | ||
Comment 1•11 years ago
|
||
I do not think this is a bug, the top sites are a initial one time configuration that is only visible while the use has no browsing history, once the user has started browsing / opened the browser they are configured and done.
Comment 2•11 years ago
|
||
This is one of the scenarios included in version 2.0, as described in bug 1009633, so it is a regression. The same behavior applies to bookmarks and it is working in version 2.1
Keywords: regression
Updated•11 years ago
|
status-b2g-v2.1:
--- → affected
| Assignee | ||
Comment 3•11 years ago
|
||
The fact that it existed before doesnt mean it is blindly reimplemented, the user story you linked to specifically says
* Replacing or removing SIM card later on will imply no change in configuration of browser top sites
Bookmarks are a different feature, they exist independent of users browsing history, Top Sites are purely a filler the first time the user opens the browser, at that point they are configured and I dont see the value in changing them post configuration.
Comment 4•11 years ago
|
||
The acceptance criteria I am referring to is this one:
* And also preloaded local browser top sites to be configured per MCC/MNC the fist time to insert a SIM card of an operator that is defined in the device
The one you are saying applies the second time to insert a configured SIM.
This is for covering the case of a user inserting a wrong SIM the first time, and then adding the right SIM.
Comment 5•11 years ago
|
||
[Blocking Requested - why for this release]: It was working en 2.0 as described in user story
blocking-b2g: --- → 2.1?
Comment 6•11 years ago
|
||
Peter, can you comment here if this is a blocking issue?
Flags: needinfo?(pdolanjski)
| Assignee | ||
Comment 8•11 years ago
|
||
I recommend not blocking
The top sites are configured at the first time the user sees them, once they are there the behaviour of the top sites should be defined by the user by navigating websites etc, to change them after the user has already seen them is confusing for the user.
If the user completes FTU with the wrong sim and then puts in the correct sim they will still pick up the sim configured top sites, if the user actually sees the top sites, then they should be the top sites and shouldnt be changed under the user.
Comment 9•11 years ago
|
||
We probably should have called this out explicitly before. Since we have this mechanism available to partners today (and it was just introduced not long ago), I'd prefer not to get rid of it.
With the previous implementation, the user's data was not overwritten if they started browsing, so it should only affect the case where they have tiles left.
Dale, what's involved in reimplementing this functionality?
Flags: needinfo?(pdolanjski) → needinfo?(dale)
| Assignee | ||
Comment 10•11 years ago
|
||
Its not a huge amount of work, we can switch the check for configuration to whether the user has any browsing data, I just find it a misfeaure, will reimplement for consistency
Assignee: nobody → dale
Flags: needinfo?(dale)
Comment 11•11 years ago
|
||
(In reply to Dale Harvey (:daleharvey) from comment #10)
> Its not a huge amount of work, we can switch the check for configuration to
> whether the user has any browsing data, I just find it a misfeaure, will
> reimplement for consistency
I hear you. We certainly want to put the user first, (not overwriting anything) but we also want to enable the ecosystem to support and sell to the user base (which is what this is aimed at) to build up further reasons to sell devices with our OS. (even though this is a small one)
blocking-b2g: 2.1? → 2.1+
| Assignee | ||
Comment 12•11 years ago
|
||
I have a working patch for this, however blocked it seems I found a bug in marionette while testing this so marked it blocking
https://github.com/mozilla-b2g/gaia/pull/24848
This will reload the top sites in the browser when opened until the user starts browsing, so if they enter one configured sim, then another, the 2nd will take precedence, Marcelino is that what is expected?
Depends on: 1078739
Flags: needinfo?(marce)
Comment 13•11 years ago
|
||
Not sure if I understood, I will try to explain better what is expected:
- When the user power the device on for the first time with a SIM card that is configured, single variant configuration will not be applied, just postponed until having a configured SIM.
- Later on, when a configured SIM card is inserted for the first time, single variant configuration will be applied, and new top sites will be added: they will have higher frecency than the ones in global configuration (if they were not visited yet by the user) and lower than the ones already visited by the user.
Flags: needinfo?(marce)
| Assignee | ||
Comment 14•11 years ago
|
||
What happens if the user enters 2 configured sims? are the (sim) top sites only applied once or applied for each configured sim that is entered?
Flags: needinfo?(marce)
| Assignee | ||
Comment 15•11 years ago
|
||
Looking at the browser implementation, if you change a sim while the browser app is running, then you wont receive the next top sites, however you will the next time the browser runs, basically every sim changed between browser run will apply new sites.
Comment 16•11 years ago
|
||
The first time to insert a configured SIM card, single variant configuration will be applied. After that, single variant configuration will NOT be applied anymore (except in case of factory reset), even if the user insert a new SIM.
Flags: needinfo?(marce)
Updated•11 years ago
|
Target Milestone: --- → 2.1 S6 (10oct)
| Assignee | ||
Comment 17•11 years ago
|
||
So now the customiser writes to the places directly instead of going via settings, its much cleaner, the places will show up at any time they are written, and the customiser will only run once.
The sim top sites have a -1 frecency, the build ones a -2, so they will always be in the order of user visited -> sim topsites -> build topsites
Attachment #8501641 -
Flags: review?(kgrandon)
Attachment #8501641 -
Flags: feedback?(marce)
Updated•11 years ago
|
Attachment #8501641 -
Flags: feedback?(marce) → feedback?(alberto.crespellperez)
Comment 18•11 years ago
|
||
Redirected feedback to Albert
Comment 19•11 years ago
|
||
Comment on attachment 8501641 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/24848
Nice! Finally we have datastore instead of system setting to pass topsites :)
Attachment #8501641 -
Flags: feedback?(alberto.crespellperez) → feedback+
Comment 20•11 years ago
|
||
Comment on attachment 8501641 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/24848
This looks really nice. Thanks!
Attachment #8501641 -
Flags: review?(kgrandon) → review+
Comment 21•11 years ago
|
||
Failing tests on gaia-try need to be addressed before this lands.
| Assignee | ||
Comment 23•11 years ago
|
||
Finally got a green run after a lot of treeherder issues
https://treeherder.mozilla.org/ui/#/jobs?repo=gaia-try&revision=c78e9435831b (has to retrigger Gij, there were no failures on the previous run, just didnt run properly)
The skipped test needs 1078739 to pass, will enable once that lands.
https://github.com/mozilla-b2g/gaia/commit/29c271e35ded7bf9c6c88934f4e736c53a7fd687
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 24•11 years ago
|
||
Please request Gaia v2.1 approval on this patch when you get a chance.
status-b2g-v2.2:
--- → fixed
Flags: needinfo?(dale)
| Assignee | ||
Comment 25•11 years ago
|
||
Comment on attachment 8501641 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/24848
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): Newly implemented top site customization didnt match original implementation
[User impact] if declined:
[Testing completed]: Unit / Integration tests added
[Risk to taking this patch] (and alternatives if risky): Not a lot of risk
[String changes made]:
Attachment #8501641 -
Flags: approval-gaia-v2.1?
Flags: needinfo?(dale)
Comment 26•11 years ago
|
||
This came with an integration test, marking testsuite+.
Flags: in-testsuite+
| Reporter | ||
Comment 27•11 years ago
|
||
tested and working
2.2
User
Gecko 566339b
Gaia ec355e1
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
Attachment #8501641 -
Flags: approval-gaia-v2.1? → approval-gaia-v2.1+
| Assignee | ||
Comment 28•11 years ago
|
||
Actually this required changes to the integration tests but the functionality itself isnt very well covered in the integration tests
This is a scenario that we are missing functionality for in the integration tests, we cant build a profile with GAIA_DISTRIBUTION_DIR and run integration tests as far as I believe, I filed a bug when we were building with HAIDA=1 in order to run similiar tests, looking for that now, but I think this is something we definitely want to improve with test infrastructure.
Flags: in-testsuite+ → in-testsuite-
Comment 29•11 years ago
|
||
browser_test.js needs some rebasing for uplift.
Flags: needinfo?(dale)
Keywords: branch-patch-needed
| Assignee | ||
Comment 30•11 years ago
|
||
I pushed a branch patch to https://github.com/daleharvey/gaia/commit/f94ca2af8b1faae6af219dedfb5b2c053448547a
I attempted to push it to 2.1 but that failed with a 403
Flags: needinfo?(dale)
Comment 31•11 years ago
|
||
Keywords: branch-patch-needed
Comment 32•10 years ago
|
||
I will verify this issue on latest flame 2.1.
Could you please tell me what does "configured sim" mean?
Flags: needinfo?(lolimartinezcr)
Comment 33•10 years ago
|
||
It means that you have defined a specific single variant configuration for the MCC/MNC of the SIM card inserted in the device. All the details regarding single variant configuration are available in [1].
[1] https://developer.mozilla.org/en-US/Firefox_OS/Developing_Gaia/Market_customizations_guide
| Reporter | ||
Comment 34•10 years ago
|
||
(In reply to Paladin from comment #32)
> I will verify this issue on latest flame 2.1.
> Could you please tell me what does "configured sim" mean?
Marcelino answered this question in comment 33.
Flags: needinfo?(lolimartinezcr)
You need to log in
before you can comment on or make changes to this bug.
Description
•