Closed Bug 1866138 Opened 10 months ago Closed 9 months ago

Move about:welcome image assets out from browser/components/newtab into browser/components/aboutwelcome

Categories

(Firefox :: Messaging System, task, P2)

task

Tracking

()

RESOLVED FIXED
122 Branch
Iteration:
122.2 - Dec 4 - Dec 15
Tracking Status
firefox122 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Priority: -- → P2

Hi pdahiya,

Is there a good way for me to determine which of the images in browser/components/newtab/data/content/assets could be moved under browser/components/aboutwelcome? It looks like these images are used in a variety of places - some in newtab, others by various onboarding surfaces. Or is this a matter of doing a one-by-one audit?

Flags: needinfo?(pdahiya)

(In reply to Mike Conley (:mconley) (:⚙️) from comment #1)

Hi pdahiya,

Is there a good way for me to determine which of the images in browser/components/newtab/data/content/assets could be moved under browser/components/aboutwelcome? It looks like these images are used in a variety of places - some in newtab, others by various onboarding surfaces. Or is this a matter of doing a one-by-one audit?

Hi Mike, That's correct since aboutwelcome bundle is used to render UI for multiple messaging surfaces (Onboarding, spotlight, feature callout) , will recommend moving all assets used via about aboutwelcome bundle out of newtab inside browser/components/aboutwelcome , here's initial stab at for assets that can be moved :

-Images prefixed with mr-*
-mobile-download-*
-long-zap
-short-zap
-noodle-*
-person-typing
-device-migration
from https://searchfox.org/mozilla-central/source/browser/components/newtab/data/content/assets

Flags: needinfo?(pdahiya)

Okay, got it - thank you!

Assignee: nobody → mconley

Is it safe to say that, given that there are at least a few active aboutwelcome experiments, that we'd want to maintain the chrome://activity-stream/content/data/content/assets/ mapping, despite moving the images out? Or do you think it's safe to update these URLs to be prefixed like:

chrome://browser/skin/aboutwelcome/ - for example, chrome://browser/skin/aboutwelcome/person-typing.svg?

Flags: needinfo?(pdahiya)

(In reply to Mike Conley (:mconley) (:⚙️) from comment #4)

Is it safe to say that, given that there are at least a few active aboutwelcome experiments, that we'd want to maintain the chrome://activity-stream/content/data/content/assets/ mapping, despite moving the images out? Or do you think it's safe to update these URLs to be prefixed like:

chrome://browser/skin/aboutwelcome/ - for example, chrome://browser/skin/aboutwelcome/person-typing.svg?

That's a good callout, I agree it will be good to keep assets reference same to avoid possible conflicts with live experiment/rollouts and take this prefix change with Bug 1866935

Flags: needinfo?(pdahiya)
Summary: Move about:welcome image assets out from browser/components/newtab into browser/components/aboutwelcome → Move about:welcome image assets out from browser/components/newtab into browser/themes
Attachment #9366901 - Attachment description: Bug 1866138 - Move about:welcome image assets to browser/themes. r?pdahiya!,#desktop-theme-reviewers! → Bug 1866138 - Move about:welcome image assets to browser/components/aboutwelcome/assets. r?pdahiya!
Blocks: fxms-infra
No longer blocks: mr-onboarding
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8f8d0a90e80b Move about:welcome image assets to browser/components/aboutwelcome/assets. r=pdahiya,desktop-theme-reviewers,dao

Backed out for causing bc failures related to aboutwelcome and crashes with this signature [@ mozilla::net::CheckForBrokenChromeURL]

Flags: needinfo?(mconley)
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8e33b9c14dbf Move about:welcome image assets to browser/components/aboutwelcome/assets. r=pdahiya,desktop-theme-reviewers,dao
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
Summary: Move about:welcome image assets out from browser/components/newtab into browser/themes → Move about:welcome image assets out from browser/components/newtab into browser/components/aboutwelcome
Iteration: --- → 122.2 - Dec 4 - Dec 15
Flags: needinfo?(mconley)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: