Closed Bug 1719492 Opened 4 years ago Closed 4 years ago

Migrate screenshot icons into the browser/component/screenshots directory

Categories

(Firefox :: Screenshots, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: emmamalysz, Assigned: kajalsah107, NeedInfo)

References

Details

Attachments

(1 file, 1 obsolete file)

All of screenshots icons in the extension (https://searchfox.org/mozilla-central/source/browser/extensions/screenshots/icons) should be moved to the new screenshots directory.

Here would be an example on how to migrate cancel.svg:

  1. hg mv browser/extensions/screenshots/icons/cancel.svg browser/components/screenshots/content/cancel.svg.
  2. Within the screenshot's jar.mn file, we would have to reference that file.
  3. We would then have to remove the image's references from browser/extensions/screenshots/manifest.json and browser/extensions/screenshots/moz.build.
  4. Update the references for the specific svg to use the new path. If we're taking cancel.svg as an example, what would be the new src we use here https://searchfox.org/mozilla-central/source/browser/extensions/screenshots/selector/ui.js#414-416? This may be a good hint: https://searchfox.org/mozilla-central/rev/9c9f2f85d00aef1943cb521ac95c72bae932ebc5/browser/components/aboutlogins/content/aboutLogins.html#275.
  5. Verify that the icon looks correct in the screenshots UI
  6. Repeat for all svgs
Attachment #9230448 - Attachment is obsolete: true
Pushed by emalysz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b12a0c04a68b Migrates screenshot icons into the browser/component/screenshots directory. r=emalysz
Pushed by emalysz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7d53ab517f06 Migrates screenshot icons into the browser/component/screenshots directory. r=emalysz
Pushed by emalysz@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1a82a8b89077 Migrates screenshot icons into the browser/component/screenshots directory. r=emalysz
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: