Move about:welcome image assets out from browser/components/newtab into browser/components/aboutwelcome
Categories
(Firefox :: Messaging System, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox122 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
pdahiya noticed that we can move image assets specific to about:welcome out from browser/components/newtab after bug 1863400 lands. This bug is for that.
Updated•10 months ago
|
Updated•10 months ago
|
Assignee | ||
Comment 1•10 months ago
|
||
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?
Comment 2•10 months ago
•
|
||
(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
Assignee | ||
Comment 4•10 months ago
|
||
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
?
Comment 5•10 months ago
|
||
(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
Assignee | ||
Updated•10 months ago
|
Assignee | ||
Comment 6•10 months ago
|
||
Updated•9 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Comment 8•9 months ago
|
||
Backed out for causing bc failures related to aboutwelcome and crashes with this signature [@ mozilla::net::CheckForBrokenChromeURL]
Comment 10•9 months ago
|
||
bugherder |
Updated•9 months ago
|
Updated•9 months ago
|
Assignee | ||
Updated•7 months ago
|
Description
•