Closed Bug 1723800 Opened 2 months ago Closed 2 months ago

Add button functionality to screenshot component's markup

Categories

(Firefox :: Screenshots, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: emalysz, Assigned: kajalsah107)

References

Details

Attachments

(1 file)

We'll need to handle button clicks for the close, download, and copy buttons.

Close can closely resemble the cancel button for print preview.
For download and copy, we can mimic our context menu behavior. If we open https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png and open the context menu, we'll see "Copy Image" and "Save Image As...". That's probably a good place to start, along with the current screenshot extension's implementation.

Pushed by emalysz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7945b73a48ca
Adds button functionality to screenshot component's markup. r=emalysz
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.