Closed
Bug 1862798
Opened 2 years ago
Closed 2 years ago
Extract the copyLink function to the firefoxview/helpers.mjs module
Categories
(Firefox :: Firefox View, task, P1)
Firefox
Firefox View
Tracking
()
RESOLVED
FIXED
121 Branch
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: sfoster, Assigned: sfoster)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-firefox-view])
Attachments
(1 file)
The copyLink implementation we use for placing a representation of a tab's current page title & URL on the clipboard lives as a method on the ViewPage class. It doesn't really need anything from ViewPage instances and its making it difficult to separate out the roles and functions of the more/content menu, the open tabs view page and its cards. I propose moving it to our helpers module and passing in the element and any other information it needs as params.
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Pushed by sfoster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/22256b82c894
Move the copyLink implementation to firefoxview/helpers.mjs r=fxview-reviewers,sclements
Comment 3•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox121:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•