Closed Bug 1901264 Opened 4 months ago Closed 4 months ago

Ensure Settings search works with moz-checkbox and moz-radio-group

Categories

(Firefox :: Settings UI, task, P1)

Desktop
All
task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: mstriemer, Assigned: hjones)

References

Details

(Whiteboard: [recomp])

Attachments

(1 file)

The search feature only searches within nodes that it expects to have settings content within them. This will now include moz-checkbox, moz-radio-group and moz-radio.

Assignee: nobody → hjones

This would be S2 if we shipped any of these as yet, but AIUI that hasn't happened yet? If I'm misunderstanding then we can upgrade. :-)

(P1 as there's an assignee - thanks Hanna!)

Severity: -- → S3
Priority: -- → P1
OS: Unspecified → All
Hardware: Unspecified → Desktop

This patch:

  • adds some simple logic to settins search that should prevent us from having to manually allow searching in every moz- prefixed custom element
  • cleans up the existing settings search logic slightly for improved readability
  • expands the tests to check searching for text in the shadow DOM of additional moz- prefixed custom elements
Pushed by hjones@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68ddeed4435e update settings search to work for all moz- prefixed custom elements r=reusable-components-reviewers,settings-reviewers,mstriemer
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: