Open Bug 1452637 Opened 6 years ago Updated 2 years ago

Migrate the "download" widget to Fluent

Categories

(Firefox :: Downloads Panel, enhancement, P3)

enhancement

Tracking

()

Tracking Status
firefox61 --- affected

People

(Reporter: Paolo, Unassigned)

References

Details

The "download" widget is used by the Downloads Panel and the Downloads View, and it currently uses different button and description elements for each possible state and action.

https://dxr.mozilla.org/mozilla-central/rev/cb2bb4a7c1c39a017aa8c24c30b62a5f48922677/browser/components/downloads/content/download.xml#40-63,84-108

In order to avoid this redundancy in bug 1452629, the strings would have to be moved from ".dtd" to ".properties" files, or stored in dedicated attributes with extra code to handle them programmatically. This would cause either some code overhead or some impact on translators.

We are instead considering the route of converting all the impacted and related strings to Fluent. Since this is not on the startup path, it would be a viable pilot in the main browser window, outside of in-content preferences.

We may be able to use these strings with a declarative Fluent API on different elements initially, and later switch between them for the same element programmatically.
Priority: -- → P3
Would it be possible to not extend richlistitem (or any binding)? In that case we could turn it into a Custom Element and have Fluent support available (which AIUI isn't working in XBL anon content).

I guess the main things we'd have to analyze are accessibility impact and to see if there are any other features we are relying on from nsIDOMXULSelectControlItemElement.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.