Re-integrate observation of events that should update the Top Sites component
Categories
(Firefox :: Top Sites, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: jteow, Assigned: jteow)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng])
Attachments
(9 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
Even though onAction
is essentially no-op and could be removed entirely, it might make more replace ones that can subscribe to changes without requiring the New Tab store to alert it (e.g. preference changes), and leave the actions that will need replacing by touching New Tab code.
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
To be specific, the Top Sites component should update its internal state under the following conditions:
- A change occurs in Places.
- A dependent preference changes state or has its initial values set.
- Top Sites has a pinned/unpinned site.
- A new top site is inserted.
- A pinned search shortcut needs to be updated.
Some investigation should be done to see if we also need to carry over:
- Initialization
- Un-initialization
- System tick
Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
Depends on D211417
Assignee | ||
Comment 4•1 year ago
|
||
Depends on D211418
Assignee | ||
Comment 5•1 year ago
|
||
Depends on D211419
Assignee | ||
Comment 6•1 year ago
|
||
Depends on D211420
Assignee | ||
Comment 7•1 year ago
|
||
Depends on D211421
Assignee | ||
Comment 8•1 year ago
|
||
Depends on D211422
Assignee | ||
Comment 9•1 year ago
|
||
Depends on D211423
Assignee | ||
Comment 10•1 year ago
|
||
It's mostly helpful for browser tests to reset TopSites.
Depends on D211424
Updated•1 year ago
|
Comment 11•1 year ago
|
||
Comment 12•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/256e6601fd8c
https://hg.mozilla.org/mozilla-central/rev/4f017b452f96
https://hg.mozilla.org/mozilla-central/rev/d72d56a01f45
https://hg.mozilla.org/mozilla-central/rev/412b814bf7bb
https://hg.mozilla.org/mozilla-central/rev/4d3e8de49e3b
https://hg.mozilla.org/mozilla-central/rev/88ad64c18ce2
https://hg.mozilla.org/mozilla-central/rev/1a8aabb26f46
https://hg.mozilla.org/mozilla-central/rev/62cd841e0d90
https://hg.mozilla.org/mozilla-central/rev/1742a6a7f0f6
Description
•