Closed Bug 1876165 Opened 2 years ago Closed 2 years ago

Create BookmarkList class that internally stays up-to-date to indicate bookmarked open tabs in Fx View

Categories

(Firefox :: Firefox View, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: kcochrane, Assigned: jsudiaman)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-firefox-view])

Attachments

(1 file, 1 obsolete file)

Adding this as a follow-up to bug 1857005. In order to ensure bookmarked open tabs are indicated in Fx View properly, we'll need to create a BookmarkList class that internally stays up-to-date (it may be nice to implement it in Places so others could reuse it). This class should query all the open tabs URLs at start or at first access, use observers (bookmark-added, bookmark-removed, bookmark-url-changed at least) to keep the list up-to-date, and query for new entries as new tabs will be added to the list

In doing so, we avoid having to use fetch to check each individual URL which would become costly with 100+ tabs. We should also consider only checking URLs for items rendered within the virtual-list component rather than the entire list of open tabs.

Type: task → enhancement
Priority: -- → P1
Assignee: nobody → jsudiaman
Status: NEW → ASSIGNED
Attachment #9380022 - Attachment description: Bug 1876165 - Create BookmarkList class that internally stays up-to-date to indicate bookmarked open tabs in Fx View r?kcochrane,mak → WIP: Bug 1876165 - Create BookmarkList class that internally stays up-to-date to indicate bookmarked open tabs in Fx View r?kcochrane,mak
Attachment #9380022 - Attachment description: WIP: Bug 1876165 - Create BookmarkList class that internally stays up-to-date to indicate bookmarked open tabs in Fx View r?kcochrane,mak → Bug 1876165 - Create BookmarkList class that internally stays up-to-date to indicate bookmarked open tabs in Fx View r?kcochrane,mak
Attachment #9386481 - Attachment is obsolete: true
Pushed by jsudiaman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bfb6942faf35 Create BookmarkList class that internally stays up-to-date to indicate bookmarked open tabs in Fx View r=mak,fxview-reviewers,places-reviewers,fluent-reviewers,bolsson,sfoster,desktop-theme-reviewers
Pushed by jsudiaman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ebe362ea0bcd Create BookmarkList class that internally stays up-to-date to indicate bookmarked open tabs in Fx View r=mak,fxview-reviewers,places-reviewers,fluent-reviewers,bolsson,sfoster,desktop-theme-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Flags: needinfo?(jsudiaman)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: