Closed Bug 1377295 Opened 7 years ago Closed 7 years ago

Migrate or re-use pinned sites from old top-sites panel

Categories

(Firefox for Android Graveyard :: General, enhancement, P1)

All
Android
enhancement

Tracking

(firefox56 fixed)

RESOLVED FIXED
Firefox 56
Tracking Status
firefox56 --- fixed

People

(Reporter: sebastian, Assigned: liuche)

References

Details

(Whiteboard: [MobileAS] 1.26)

Attachments

(1 file)

No description provided.
Priority: -- → P2
Assignee: nobody → liuche
Comment on attachment 8888050 [details] Bug 1377295 - Use old Top Sites pinned sites in AS panel. https://reviewboard.mozilla.org/r/158940/#review164386 liuche said there was another patch coming up but this one looks good. A few notes: * I had a question so here's the answer for future travellers: despite having a constant position, AS sites will always appear in the same order because we order by (postition, url). * I haven't thought too hard about it because it'd only affect our small testing audience for in-between release builds and I'm okay with the behavior, but if a user has pinned a top site in old Top Sites & the same one in Activity Stream, we may get some weird behavior.
Attachment #8888050 - Flags: review?(michael.l.comella) → review+
Comment on attachment 8888050 [details] Bug 1377295 - Use old Top Sites pinned sites in AS panel. One line change - added handling for user-entered content.
Attachment #8888050 - Flags: review+ → review?(michael.l.comella)
Comment on attachment 8888050 [details] Bug 1377295 - Use old Top Sites pinned sites in AS panel. mcomella requested I revert the user-entered: change because it's not really related to pinned sites - I filed bug 1382489, and carried over the r+ from before.
Attachment #8888050 - Flags: review+
Keywords: checkin-needed
> * I haven't thought too hard about it because it'd only affect our small > testing audience for in-between release builds and I'm okay with the > behavior, but if a user has pinned a top site in old Top Sites & the same > one in Activity Stream, we may get some weird behavior. This would actually be fine - if a user unpins and then repins a site in AS, the site will be bumped to the front, per expected AS-TS behavior. If they go back to old Top Sites (which would only be for people who are using this as an experiment and can actually switch back), the pin would disappear from old Top Sites because the position would become -1, but this would only affect a small number of Nightly users, so I'm not going to worry about that case. The behavior for the migrated pinned sites won't be exactly the same as the AS pinned sites - they'll keep their position, so they won't be at the front the way AS-TS top sites are. I think that's fine for this case of migrating top sites, because those pins will still be visible in the top 6 AS-TS tiles.
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/6503ba3ed9a4 Use old Top Sites pinned sites in AS panel. r=mcomella
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Whiteboard: [MobileAS] → [MobileAS] 1.26
Iteration: --- → 1.26
Priority: P2 → P1
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: