Граф коммитов

10761 Коммитов

Автор SHA1 Сообщение Дата
Cieara Meador 15e4b08ef2 Bug 1839037 - Remove tab manager button opacity to prevent slowdown r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D182267
2023-06-27 20:56:01 +00:00
Dale Harvey a698fc5d85 Bug 1835695 - Ensure urlbar result action is shown on keyboard navigation. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D182015
2023-06-27 08:00:09 +00:00
Itiel a770fbcc3d Bug 1836633 - Align the translation panel's settings gear menupopup with its button, and move the menupopup itself to main-popupset.inc.xhtml r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D179879
2023-06-25 19:26:21 +00:00
Cristian Tuns 829794ed69 Backed out changeset 31d5ffaf0b16 (bug 1836633) for causing bc failures in browser_translations_panel_always_translate_language.js CLOSED TREE 2023-06-24 15:11:16 -04:00
Itiel 63bf183241 Bug 1836633 - Align the translation panel's settings gear menupopup with its button, and move the menupopup itself to main-popupset.inc.xhtml r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D179879
2023-06-24 17:52:33 +00:00
Greg Tatum c18ddeaa00 Bug 1817084 - Remove old translations code; r=settings-reviewers,fluent-reviewers,nordzilla,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D181700
2023-06-23 13:36:13 +00:00
Niklas Baumgardner 5f14327281 Bug 1838041 - Add moz-five-star reuseable component. r=shopping-reviewers,desktop-theme-reviewers,dao,fluent-reviewers,flod,robwu,mstriemer,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D180877
2023-06-22 21:29:28 +00:00
Natalia Csoregi 48287699b4 Backed out changeset 361e7d6f9080 (bug 1838041) for causing failures related to moz-five-star.css. CLOSED TREE 2023-06-22 23:55:14 +03:00
Niklas Baumgardner f3ba3fe8fc Bug 1838041 - Add moz-five-star reuseable component. r=shopping-reviewers,desktop-theme-reviewers,dao,fluent-reviewers,flod,robwu,mstriemer,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D180877
2023-06-22 19:41:35 +00:00
Mark Striemer 4d31a62825 Bug 1837458 - Remove message-bar/infobar colors in HCM, add border r=willdurand,hjones
This does not address the link styling issue as that appears to be an issues
with links across the codebase that should be solved globally.

Differential Revision: https://phabricator.services.mozilla.com/D181164
2023-06-22 19:35:29 +00:00
Dão Gottwald 6b3ed463cf Bug 1766470 - Unify menuseparator implementation across platforms and increase hit area. r=emilio,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D181264
2023-06-22 08:46:17 +00:00
Tim Giles 222be426df Bug 1836773 - Support the new MigrationResource in the migration wizard. r=mconley,willdurand,fluent-reviewers,desktop-theme-reviewers,flod
Enables support for migrating extensions from Chrome once we have the
API to match and install extensions from the add-ons store.

Adds a new ProgressState object to delineate between various progress
states. This new object has four properties: value, message, linkURL,
and linkText. See migration-wizard-constants for more information.

MigrationWizard.#onShowingProgress uses the new ProgressState object
to handle the new LOADING, SUCCESS, ERROR and INFO values for progress.
This has the added benefit of updating the UI on error cases for the
existing resource groups.

Adds a new details object parameter to MigratorBase.migrate which is
currently used in the Chrome extensions import case.
See ChromeProfileMigrator.GetExtensionsResource for an example of
creating this details object.
See MigrationWizardParent.#doBrowserMigration for example usage of this
details object.

Adds support-text links under each resource type group in the markup.
This is currently used only by extensions in the partial matching and
no matching extensions cases.

Refactor MigrationUtils.installExtensionsWrapper to return an array
with the progress state (LOADING, SUCCESS, ERROR, INFO) and any
imported extensions.

Depends on D180005

Differential Revision: https://phabricator.services.mozilla.com/D180876
2023-06-21 20:24:56 +00:00
Shane Hughes 05b9f135b3 Bug 1833913 - Add default private newtab content. r=pdahiya,omc-reviewers,desktop-theme-reviewers,sfoster
Synchronously render default info content on about:privatebrowsing while
waiting for ASRouter to handle messages. Update the script and
stylesheet to account for rendering happening twice now. Add a browser
test to verify the content is rendered while ASRouter is hanging.

Differential Revision: https://phabricator.services.mozilla.com/D178987
2023-06-21 04:37:23 +00:00
Dale Harvey 44c2bd2a83 Bug 1838473 - Ensure urlbar rows without rich icons can wrap. r=adw,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D180999
2023-06-19 08:24:59 +00:00
James Teh 1e0dafb66e Bug 1570560: Remove message and disabling of content accessibility for very old JAWS versions. r=nlapre
Differential Revision: https://phabricator.services.mozilla.com/D180778
2023-06-19 04:24:08 +00:00
Sandor Molnar 850d74a0e2 Backed out changeset 0ce9449255f9 (bug 1833913) for causing mochitest failures. CLOSED TREE 2023-06-15 22:53:08 +03:00
Shane Hughes ed11256340 Bug 1833913 - Add default private newtab content. r=pdahiya,omc-reviewers,desktop-theme-reviewers,sfoster
Synchronously render default info content on about:privatebrowsing while
waiting for ASRouter to handle messages. Update the script and
stylesheet to account for rendering happening twice now. Add a browser
test to verify the content is rendered while ASRouter is hanging.

Differential Revision: https://phabricator.services.mozilla.com/D178987
2023-06-15 18:32:32 +00:00
Dão Gottwald e34bc91336 Bug 1835890 - Make sidebar switcher panel a normal menupopup. r=Itiel,extension-reviewers,mconley,rpl
Differential Revision: https://phabricator.services.mozilla.com/D179877
2023-06-15 14:14:43 +00:00
Gregory Pappas f9e964d5c0 Bug 1838309 - Update addon-install-blocked icon to match Proton style r=desktop-theme-reviewers,dao"
Differential Revision: https://phabricator.services.mozilla.com/D180913
2023-06-14 15:02:31 +00:00
Marc Seibert 0deefb9a4a Bug 1836985 - Remove screenshot from the Star ('Bookmark this page') panel.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D180709
2023-06-14 08:33:44 +00:00
Benjamin VanderSloot 03160c8ffa Bug 1816154 - Use a business shortname in the provider chooser r=webidl,saschanaz,smaug
Differential Revision: https://phabricator.services.mozilla.com/D178165
2023-06-13 15:35:41 +00:00
Mike Conley 061f8f7d3a Bug 1837367 - Allow file migrators to show an error message if migration failed for some reason. r=kpatenio,desktop-theme-reviewers
The spec calls for a special-case in the event that file migration
ever fails - the wizard should be sent back to the selection page,
have the associated file migrator still set in the dropdown, and
show an error message.

A later patch in this series will add such an error message for
the bookmarks file migrator.

Depends on D180458

Differential Revision: https://phabricator.services.mozilla.com/D180490
2023-06-13 14:53:00 +00:00
Cosmin Sabou 3c2baa55a4 Backed out 2 changesets (bug 1816154, bug 1828915) for causing mochitest plain failures on test_interfaces_secureContext.html. CLOSED TREE
Backed out changeset 34a8130dd459 (bug 1828915)
Backed out changeset 0ec40bf6bb70 (bug 1816154)
2023-06-13 17:27:02 +03:00
Benjamin VanderSloot d2ef28d8cd Bug 1816154 - Use a business shortname in the provider chooser r=webidl,saschanaz,smaug
Differential Revision: https://phabricator.services.mozilla.com/D178165
2023-06-13 12:16:56 +00:00
Itiel 0f596ae546 Bug 1836344 - Don't flex the label inside the translations section buttons r=gregtatum,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D180611
2023-06-12 14:54:21 +00:00
Julian Descottes ef69574327 Bug 1836046 - [devtools] Remove the enable devtools popup for the F12 experiment r=devtools-reviewers,desktop-theme-reviewers,fluent-reviewers,flod,dao,ochameau
We will add another onboarding popup in the future, but we should first remove this old unused UI for the F12 experiment.

Differential Revision: https://phabricator.services.mozilla.com/D179664
2023-06-08 17:41:27 +00:00
Drew Willcoxon cd732d535b Bug 1836903 - Implement Pocket suggestions. r=daisuke,desktop-theme-reviewers,dao
This implements most parts of Pocket suggestions. They don't need any special UI
or a dynamic result type because they're only shown as the usual best match rows
or non-best match rows.

Still to do:

* Implement the "Show less frequently" behavior once we decide what the keywords
  will be and how that will work.
* Implement the bottom "Mozilla Pocket" text inside the suggestion row once it's
  finalized. We can use the same technique we use to show the "Sponsored" bottom
  text for adM suggestions.

Other changes this makes:

* Replace the `type=bestmatch` attribute with an `bestmatch` attribute. That
  lets best-match rows have a `type` too, in this case `"pocket"` (actually
  either `"rs_pocket"` or `"merino_pocket"`, since I'm using the telemetry
  result type).
* Improve how UrlbarProviderQuickSuggest delegates to individual features when
  getting result commands, view updates, handling commands, etc., so that we
  don't need to add new `case` statements for each new type of suggestion.

Differential Revision: https://phabricator.services.mozilla.com/D180059
2023-06-07 20:19:44 +00:00
Dão Gottwald 099c8d5606 Bug 1837174 - Replace [first-visible-unpinned-tab] selector with :nth-child and get rid of _setPositionalAttributes. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D180213
2023-06-07 18:42:07 +00:00
Itiel b9b95ccd85 Bug 1836344 - Convert the Download and Delete button in the Translations section to have label and accesskey r=gregtatum,settings-reviewers,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D179718
2023-06-07 15:45:14 +00:00
Itiel 7e596f6b6c Bug 1837215 - Inherit the color for the settings icon on the autocomplete popup r=credential-management-reviewers,sgalich
Differential Revision: https://phabricator.services.mozilla.com/D180227
2023-06-07 15:44:25 +00:00
Cristina Horotan 6651c13d9f Backed out changeset a8bcb8de017f (bug 1836344) for causing bc failures at browser_manage_languages.js on a CLOSED TREE 2023-06-07 08:32:51 +03:00
Itiel 90c429f31e Bug 1836344 - Convert the Download and Delete button in the Translations section to have label and accesskey r=gregtatum,settings-reviewers,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D179718
2023-06-07 04:14:24 +00:00
Dale Harvey b6e7ab5519 Bug 1834060 - Ensure urlbar weather view does not wrap on small widths. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D180021
2023-06-06 10:13:10 +00:00
Itiel 27e4816536 Bug 1836680 - Align the menubar items to the top also in customize mode, for Windows and Linux r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D179894
2023-06-05 16:41:04 +00:00
ganna b09399d46c Bug 1814424 - Use moz-support-link for the helpButton link in preferences.xhtml r=tgiles,settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D179849
2023-06-05 14:27:39 +00:00
ganna de17418440 Bug 1814412 - Use moz-support-link for the protections-popup-sendReportView-learn-more label. r=tgiles,fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D179594
2023-06-05 14:25:51 +00:00
Rob Wu 3c0c3a2676 Bug 1836482 - Replace AddonManager.jsm imports with AddonManager.sys.mjs r=Standard8,webcompat-reviewers,twisniewski
This patch was generated as follows:

Run:
`./mach esmify --imports . --prefix=toolkit/mozapps/extensions/AddonManager`
In the output there are linter/prettifier errors due to unused
XPCOMUtils or separate importESModule calls. These have been fixed
manually and verified with `./mach lint --outgoing`.

The `esmify` script also inserts many unwanted newlines around imports
that are broken on two lines due to length. Due to the number of these,
I fixed them programatically.

1. Create patch from the changes so far.
2. From the patch, delete all lines that consist of "+" (i.e. added blank line).
3. Reset the working dir and apply the revised patch.
4. Verify that the diff between step 1 and 3 looks reasonable.
5. Verify that this patch as a whole looks reasonable.

Commands:

```
git diff > rename.diff
:%g/^+$/d
git commit -va -m WIP-rename
git revert HEAD
git apply --recount rename.diff
git diff HEAD^  # and verify that the removed lines are ok.
git commit -va  # one last review to verify correctness of whole patch.
git rebase -i HEAD~3  # drop the WIP + reverted commit, pick only the last.
```

`git apply` has the `--recount` option to force it to ignore mismatches
in line counts, which happens because we deleted added lines (^+$)
without fixing up the line counts in the file headers.

Differential Revision: https://phabricator.services.mozilla.com/D179874
2023-06-04 13:44:45 +00:00
Mark Banner 5d59c7aecd Bug 1824613 - Convert consumers of toolkit/mozapps/extensions/ to import ES modules directly. r=extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,sync-reviewers,sgalich,bytesized,robwu,skhamis
Depends on D179819

Differential Revision: https://phabricator.services.mozilla.com/D179820
2023-06-02 20:00:35 +00:00
Daisuke Akatsuka 68488bccdc Bug 1836005: Implement second UI treatment for addon suggestions r=adw,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D179528
2023-05-31 23:35:59 +00:00
Daisuke Akatsuka d5d47d9623 Bug 1834995: Change the component order for RTL to the opposite r=adw
Depends on D179314

Differential Revision: https://phabricator.services.mozilla.com/D179315
2023-05-31 02:19:03 +00:00
Daisuke Akatsuka ab63ee26fa Bug 1834995: Use -moz-locale-dir for rating star for RTL because of XUL document r=adw
Differential Revision: https://phabricator.services.mozilla.com/D179314
2023-05-31 02:19:03 +00:00
Niklas Baumgardner cc6b936914 Bug 1811321 - Create PiP panel for disablePiP. r=pip-reviewers,fluent-reviewers,desktop-theme-reviewers,flod,dao,kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D175048
2023-05-30 22:07:26 +00:00
William Durand ee1a135f3a Bug 1833438 - Add support for notifications in the extensions panel. r=Itiel,rpl,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D179345
2023-05-30 20:07:39 +00:00
Shane Hughes 7b922211f3 Bug 1810509 - Add a clickable invisible space around the UEI menu button. r=willdurand,extension-reviewers,desktop-theme-reviewers,dao
A unified extension item has two buttons: an action button and a menu
button. They are visually separated by 8px. The description string in
the action button depends on which of the buttons is hovered - the
action button, the menu button, or neither. If the mouse moves from the
action button to the menu button, it has to cross the 8px gap where
neither is hovered, causing the description to flash quickly between 3
strings. This patch circumvents that issue by making the 8px gap an
invisible padding of the menu button. This also removes the inert area
where you can move the mouse within the item and see a tooltip with the
name of the extension, but clicking would have no effect since a button
is not hovered.

Differential Revision: https://phabricator.services.mozilla.com/D177979
2023-05-30 02:14:49 +00:00
Greg Tatum d729409e1b Bug 1829687 - Apply UX feedback to consolidate translation panel views; r=nordzilla,fluent-reviewers,flod
UX changed their mind on how the default translation panel should work.
I originally pushed back against getting this done for MVP, but the
logic is much easier when the translation panel can be manually invoked
by the user.

Differential Revision: https://phabricator.services.mozilla.com/D179087
2023-05-27 16:24:20 +00:00
Dão Gottwald c3709f29ba Bug 1835304 - [Tab Manager] Minor styling cleanup for mute and close buttons. r=cmkm
Differential Revision: https://phabricator.services.mozilla.com/D179216
2023-05-26 16:48:39 +00:00
Cieara Meador 7186328578 Bug 1620199 - Add a close button for each tab in the tab manager r=mhowell,desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D176920
2023-05-25 18:53:53 +00:00
Dão Gottwald bc8fc1d998 Bug 1834051 - Decommission --in-content-deemphasized-text and use --text-color-deemphasized instead. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D178520
2023-05-23 15:32:33 +00:00
Dale Harvey 77a2cb0f22 Bug 1832518 - Show overflow fade when rich suggestions are cropped. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D178600
2023-05-23 14:42:59 +00:00
issammani e2b2368ce8 Bug 1810810 - Preselect login item for referring site. r=credential-management-reviewers,desktop-theme-reviewers,dao,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D167259
2023-05-22 15:31:26 +00:00