Closed Bug 1814424 Opened 2 years ago Closed 1 year ago

Use moz-support-link for the "helpButton" link in preferences.xhtml

Categories

(Toolkit :: UI Widgets, task, P3)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox-esr115 --- fixed
firefox116 --- fixed

People

(Reporter: tgiles, Assigned: annhermy)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(1 file)

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.

Assignee: nobody → annhermy
Status: NEW → ASSIGNED
Pushed by tgiles@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2c255581fd1f Use moz-support-link for the helpButton link in preferences.xhtml r=tgiles,settings-reviewers,Gijs
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch

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
Attachment #9337282 - Flags: approval-mozilla-esr115?

Comment on attachment 9337282 [details]
Bug 1814424 - Use moz-support-link for the helpButton link in preferences.xhtml r=tgiles

Approved for 115.1esr

Attachment #9337282 - Flags: approval-mozilla-esr115? → approval-mozilla-esr115+
Whiteboard: [fidefe-reusable-components] → [recomp]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: