Move featuregate title to features.ftl used by about:preferences and about:support; and other strings to genai.ftl. Allow prompts to use l10nId to get fluent attributes. Convert inline strings for menu and shortcuts to fluent. Update simplify, add explain prompts.
Differential Revision: https://phabricator.services.mozilla.com/D218279
Switch default shortcuts enabled with labs checkbox to disable and labs visibility. Add metric and event telemetry for shortcuts pref and usage. Bump pip labs ordering up one.
Differential Revision: https://phabricator.services.mozilla.com/D217782
Switch default shortcuts enabled with labs checkbox to disable and labs visibility. Add metric and event telemetry for shortcuts pref and usage. Bump pip labs ordering up one.
Differential Revision: https://phabricator.services.mozilla.com/D217782
Went with adding margin-block-end to achieve the ~4px spacing between
label and select, and between select and description.
Also adds the "input-space-block" token.
Differential Revision: https://phabricator.services.mozilla.com/D216336
This patch includes:
- A new UrlbarProviderRestrictKeywords class
- Showing localized Search with Bookmarks, Search with History, Search with Tabs results after the user types @
- Add search restrict keywords to preferences UI Search Shortcuts table
- Hiding search restrict keyword behind browser.urlbar.searchRestrictKeywords.featureGate pref
Differential Revision: https://phabricator.services.mozilla.com/D213697
This was the feature flag behind which the settings page's 'search' functionality was written.
It's been there for years now, and it is high time to clean this up.
Differential Revision: https://phabricator.services.mozilla.com/D217034
In light of us being in the process of enabling HTTPS-First by default, these strings have been proposed by content design to make it more clear to the user that if they disable HTTPS-Only, upgrades may still be happening.
The description generally has been updated, but the labels for the radio buttons only get the new strings in this patch when HTTPS-First is also enabled.
Differential Revision: https://phabricator.services.mozilla.com/D216381
Right now the UI state for PPA remains checked and active even when the main telemetry
setting is disabled. This is confusing UX, since DAP submission is disabled when
telemetry is disabled.
Also migrate off the deprecated toolkit-private isTelemetryEnabled() accessor to the normal pref check.
Differential Revision: https://phabricator.services.mozilla.com/D216801
The preferences initialization code will take care of showing and hiding
this for us when loading different panes - it's the `data-hidden-from-search`
attribute removal that's allowing us to show the group when the preference
is enabled.
The existing test_preferences_visibility test under
browser/components/backup/test/browser/browser_settings.js tests that we
haven't regressed showing and hiding behaviour for the pref.
Differential Revision: https://phabricator.services.mozilla.com/D215806
There's a few problems in the code gathering text data for nodes.
First it should not recurse into queries (included folder shortcuts) as it's
easy to create infinite recursion with them. The first level is excluded though,
as otherwise it would not be possible to copy contents of left pane roots.
Second it should requery folder shortcut contents in excludeItems results,
as otherwise it's not possible to copy contents of a root as text.
There's no longer the risk of dragging around root folders as this code is only
used for text flavors today, drag&drop uses serializeNode instead.
Differential Revision: https://phabricator.services.mozilla.com/D215068
Use the new API addition to Document portal allowing clients to get real
path to the exported document. This allows to still use the same path as
provided by the document portal, but display the path as exists on the
host side.
Differential Revision: https://phabricator.services.mozilla.com/D202717
Use the new API addition to Document portal allowing clients to get real
path to the exported document. This allows to still use the same path as
provided by the document portal, but display the path as exists on the
host side.
Differential Revision: https://phabricator.services.mozilla.com/D202717
This patch:
* adds some simple logic to settings 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
Differential Revision: https://phabricator.services.mozilla.com/D214141