Use moz-support-link for the "helpButton" link in preferences.xhtml
Categories
(Toolkit :: UI Widgets, task, P3)
Tracking
()
People
(Reporter: tgiles, Assigned: annhermy)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp])
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-esr115+
|
Details | Review |
We should be able to use moz-support-link on this "helpButton" instead of just a plain HTML anchor.
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
Hmm, I thought this was going to be a good candidate for a good-first-bug, but on second glance...that's not gonna be the case. The <moz-support-link>
component does not handle this case. This particular instance, which you can find in the about:preferences sidebar labelled "Nightly Support" (if you are running Nightly), has an anchor with an <image>
and a <label>
inside of the anchor. If we simply try to replace this with a <moz-support-link>
element, we will lose the image tag. Some further investigation will need to be done to determine why the support-link component is deleting any tags within it. Might be something to do with the Fluent translation, I'm not sure.
Updated•1 year ago
|
Comment 4•1 year ago
|
||
bugherder |
Reporter | ||
Comment 5•1 year ago
|
||
Comment on attachment 9337282 [details]
Bug 1814424 - Use moz-support-link for the helpButton link in preferences.xhtml r=tgiles
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: This is required for Bug 1840953 to graft cleanly so that the link within the "Personalized Your Nightly" section of about:addons will be localized correctly
- User impact if declined: Users may be confused by the recommended extensions link in about:addons since the sentence will be "Here's a selection Firefox Learn more for exceptional security, performance, and functionality".
- Fix Landed on Version: 116
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This change is limited to one UI element in about:preferences
Comment 6•1 year ago
|
||
Comment on attachment 9337282 [details]
Bug 1814424 - Use moz-support-link for the helpButton link in preferences.xhtml r=tgiles
Approved for 115.1esr
Updated•1 year ago
|
Updated•7 months ago
|
Description
•