Closed Bug 1880540 Opened 8 months ago Closed 7 months ago

Refactor firefoxview/history.mjs to make business logic reusable

Categories

(Firefox :: Sidebar, task, P1)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: sclements, Assigned: nsharpley)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-firefox-view])

Attachments

(1 file)

We should extract this logic so that we can create new history components that has the flexibility to render different elements.

One idea is to use lit's reactive controller(s) so we can render only what is needed and then: HistorySidebar extends MozLitElement whereas HistoryView extends ViewPage, and (potentially) HistoryRecentBrowsing extends ViewPage.

Attachment #9382639 - Attachment description: WIP: Bug 1880540 - Refactor History component functionality into Lit controller → Bug 1880540 - Refactor History component functionality into Lit controller r=#fxview-reviewers
Pushed by nsharpley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bcb55ab3c366 Refactor History component functionality into Lit controller r=fxview-reviewers,jsudiaman,sclements,hjones
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: