Commit Graph

916 Commits

Author SHA1 Message Date
Vijay Budhram
f86d68dcc0 Bug 1562006 - Update FxA toolbar menu for skyline r=eoger,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37961
2019-08-02 13:55:19 +00:00
Tim Nguyen
17537bff2f Bug 1569375 - Refactor browser panel CSS to reduce shadow DOM traversal after CE conversion. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D39594
2019-07-31 15:22:08 +00:00
Marco Zehe
0b731d21bf Bug 1569931 - Make the What's New contents panel a document for easier browsing for screen readers, r=andreio
This way, screen reader users can more easily browse all content provided by the What's New sections. Otherwise, only the buttons would be read, and screen reader users would have to use cumbersome navigation techniques to get to the rest of the contents.

This patch adds an WAI-ARIA role "document" to the container, which only changes screen reader behavior, but has otherwise no effect on styling or browser behavior.

Differential Revision: https://phabricator.services.mozilla.com/D39887
2019-07-30 16:14:42 +00:00
Mihai Alexandru Michis
28d4f1fdf5 Backed out changeset f2b7c868c0a7 (bug 1562006) for browser chrome failures. CLOSED TREE 2019-07-29 23:37:58 +03:00
Vijay Budhram
45e4a9670f Bug 1562006 - Update FxA toolbar menu for skyline r=eoger,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D37961
2019-07-29 16:21:22 +00:00
Erica Wright
f6b89b4245 Bug 1563547 - Update app menu to lead to the protection report. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39549
2019-07-29 19:15:11 +00:00
Johann Hofmann
15324e6021 Bug 1562575 - Part 2 - Move content blocking section into the protections panel. r=ewright
This is a pretty big change on paper, but most of the lines are copy-pasted, with some small
adjustments to get the content blocking code comfortable in browser-siteProtections.js.

Differential Revision: https://phabricator.services.mozilla.com/D37556
2019-07-12 21:36:58 +00:00
Dorel Luca
8de55ca96d Backed out 3 changesets (bug 1562575) for Mochitest failures in browser/tools/mozscreenshots/controlCenter/browser_controlCenter.js. CLOSED TREE
Backed out changeset fce18a9477b0 (bug 1562575)
Backed out changeset c9b01b908020 (bug 1562575)
Backed out changeset de006229ba8f (bug 1562575)
2019-07-12 18:42:19 +03:00
Johann Hofmann
b8c3d65a54 Bug 1562575 - Part 2 - Move content blocking section into the protections panel. r=ewright
This is a pretty big change on paper, but most of the lines are copy-pasted, with some small
adjustments to get the content blocking code comfortable in browser-siteProtections.js.

Differential Revision: https://phabricator.services.mozilla.com/D37556
2019-07-12 10:27:24 +00:00
Ricky Rosario
ae80b6cd4f Bug 1561349 - Implement message templates for What's New panel r=andreio
This needs to land together or right around when the `whatsnew-panel` branch is merged and exported.

Differential Revision: https://phabricator.services.mozilla.com/D37320
2019-07-11 21:23:57 +00:00
harry
0868f3b12f Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-06 21:10:33 +00:00
Ricky Rosario
0960acd73a Bug 1561345 - Create UI elements for What's New button and panel r=andreio,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D36548
2019-07-04 08:59:09 +00:00
Victor Porof
8eb72fd3fc Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36042
2019-07-05 09:53:32 +02:00
Mihai Alexandru Michis
372f3445c6 Backed out changeset 3e2fe70b181a (bug 1522012) for causing failures in browser_touchbar_tests.js CLOSED TREE 2019-07-04 18:47:07 +03:00
harry
86d1612103 Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-04 03:57:47 +00:00
Andreea Pavel
bcc59449cd Backed out changeset c1b80824ae88 (bug 1522012) for failing bc at browser_touchbar_tests.j on a CLOSED TREE 2019-07-03 00:19:25 +03:00
harry
809280f5cb Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-02 14:47:07 +00:00
Dão Gottwald
d78fcda4df Bug 1560398 - Merge appMenu-fxa-status with appMenu-fxa-container. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D35470
2019-06-24 20:29:46 +00:00
Dão Gottwald
89f5c3a912 Bug 1560336 - Stop using the toolbaritem-combined-buttons class for the Firefox account menu item. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D35434
2019-06-20 18:56:08 +00:00
Greg Tatum
39787e7d45 Bug 1307227 - Integrate the profiler popup widget into the browser; r=jdescottes
This commit takes the popup, and wires it up the button using the
CustomizableUI interface. It is integrated with the DevTools initialization
code.

Differential Revision: https://phabricator.services.mozilla.com/D31629
2019-05-31 15:54:18 +00:00
Andrew Swan
1ab513d145 Bug 1519577 Convert toolbarbutton to a custom element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D31941
2019-05-20 10:01:02 -07:00
Sam Foster
3f524f76dc Bug 1543499 - Record telemetry event when opening the password management UI. r=MattN
* Remove the PWMGR_MANAGE_OPENED histogram and references to it
* Add a new pwmgr event category, open_management method and objects for each of the entry points
* Expect an entryPoint key to be passed to LoginHelper.openPasswordManager so it can record the event
* Update all callers of LoginHelper.openPasswordManager to pass the correct entryPoint key
* Record the event in preferences when we open the password management UI as a subdialog
* Add test assertions to confirm the telemetry events are recorded, piggybacking on existing tests where practical to avoid duplicating helpers and boilerplate

Differential Revision: https://phabricator.services.mozilla.com/D29840
2019-05-15 23:24:28 +00:00
Robert Strong
990663c430 Bug 1521427 - Display the doorhanger notification for unsupported type update notifications. r=bytesized,flod,zbraniecki
The unsupported doorhanger will persist the menu item across application restarts until an update has been found.

Differential Revision: https://phabricator.services.mozilla.com/D29927
2019-05-07 17:59:21 +00:00
Luca Greco
9ae2145e93 Bug 1544928 - Add Report extension in browserAction context menu. r=flod,jaws,mstriemer
Depends on D27294

Differential Revision: https://phabricator.services.mozilla.com/D29120
2019-05-06 18:38:19 +00:00
Vijay Budhram
abb3caec0b Bug 1542334 - Add telemetry for FxA app menu r=eoger,janerik
Differential Revision: https://phabricator.services.mozilla.com/D28347
2019-04-30 19:47:36 +00:00
Mohd Umar Alam
f1c10d6a8d Bug 1547614 View History Sidebar menu is missing label for in Library toolbutton r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D29133
2019-04-30 13:04:47 +00:00
Andreea Pavel
3407eee236 Bug 1533533 - add spacing after comma in panelUI.inc.xul on a CLOSED TREE 2019-04-26 09:57:53 +03:00
Mohd Umar Alam
af86d46266 Bug 1533533-Add a label to hide synced tabs sidebar when it is shown r=sfoster,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D28177
2019-04-26 06:10:43 +00:00
Vijay Budhram
27bbee7a6e Bug 1542334 - Add FxA toolbar menu to app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26377
2019-04-19 14:05:24 +00:00
Christian Frey
94c0fa6cd8 Bug 1523757 - Convert panelUI.inc.xul to Fluent r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26447
2019-04-15 18:10:46 +00:00
James Teh
ea887cd7b3 Bug 1477673: Refactor PanelMultiView keyboard navigation to use a TreeWalker. r=Gijs,johannh
Previously, this code cached a list of controls on first use and used that for navigation.
This refactor addresses several issues:

1. There is now a separate focus order for tab/shift+tab and down/up arrows.
    This allows menulists, textboxes, etc. which use the arrow keys themselves to be focused with tab, but skipped with the arrows.
    This means the user won't fall into these controls when using the up/down arrow keys and be confused by the subsequent arrowing behaviour.

2. When a menulist, textbox, etc. is focused, the arrow keys, space and enter are now passed to the control.
    This is a better fix for handling of the arrow keys by menulists (bug 1522092).
    It also fixes left arrow in a textarea moving to the previous view instead of moving the caret (bug 1489874).

3. This improves handling of dynamic updates to the panel.
    For example, elements that are initially disabled and enabled later will be navigable.
    This is because the next element is determined dynamically by the TreeWalker, rather than using a cached list.

4. The interim fix for bug 1522092 disabled PanelMultiView keyboard navigation.
    This caused some regressions, including arrow keys/activation on the Site Identity Report a Problem link (bug 1539976) and some controls not being navigable if the Site Identity panel is opened using the mouse (bug 1539984).
    With the above fixes, we can now re-enable PanelMultiView keyboard navigation in the Site identity panel and thus fix these regressions.

5. Previously, PanelMultiView keyboard navigation was disabled in the main toolbar overflow menu.
    This is because the search box can be added to the overflow menu, which previously caused problems for the arrow keys.
    With the above fixes, we can now safely enable PanelMultiView keyboard navigation in the overflow menu.

6. PanelMultiView keyboard tests have been added.
    Previously, we relied on tests specific to various panels to exercise this functionality.

Differential Revision: https://phabricator.services.mozilla.com/D25905
2019-04-15 01:38:08 +00:00
Nicholas Cowles
50c9c30a0d Bug 1523747 - Move customize mode strings over to fluent, r=Gijs,jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D26418
2019-04-10 15:46:31 +00:00
Vijay Budhram
a103f9f794 Bug 1535937 - Add custom telemetry for FxA toolbar menu r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D25225
2019-04-09 13:30:59 +00:00
Cosmin Sabou
04b730e5f8 Backed out 2 changesets (bug 1477673, bug 1454865) for browser chrome failures on browser_PanelMultiView_keyboard. CLOSED TREE
Backed out changeset eca8a6e641c0 (bug 1454865)
Backed out changeset 69db665d8263 (bug 1477673)
2019-04-09 14:29:08 +03:00
James Teh
2cbc3ca2b2 Bug 1477673: Refactor PanelMultiView keyboard navigation to use a TreeWalker. r=Gijs,johannh
Previously, this code cached a list of controls on first use and used that for navigation.
This refactor addresses several issues:

1. There is now a separate focus order for tab/shift+tab and down/up arrows.
    This allows menulists, textboxes, etc. which use the arrow keys themselves to be focused with tab, but skipped with the arrows.
    This means the user won't fall into these controls when using the up/down arrow keys and be confused by the subsequent arrowing behaviour.

2. When a menulist, textbox, etc. is focused, the arrow keys, space and enter are now passed to the control.
    This is a better fix for handling of the arrow keys by menulists (bug 1522092).
    It also fixes left arrow in a textarea moving to the previous view instead of moving the caret (bug 1489874).

3. This improves handling of dynamic updates to the panel.
    For example, elements that are initially disabled and enabled later will be navigable.
    This is because the next element is determined dynamically by the TreeWalker, rather than using a cached list.

4. The interim fix for bug 1522092 disabled PanelMultiView keyboard navigation.
    This caused some regressions, including arrow keys/activation on the Site Identity Report a Problem link (bug 1539976) and some controls not being navigable if the Site Identity panel is opened using the mouse (bug 1539984).
    With the above fixes, we can now re-enable PanelMultiView keyboard navigation in the Site identity panel and thus fix these regressions.

5. Previously, PanelMultiView keyboard navigation was disabled in the main toolbar overflow menu.
    This is because the search box can be added to the overflow menu, which previously caused problems for the arrow keys.
    With the above fixes, we can now safely enable PanelMultiView keyboard navigation in the overflow menu.

6. PanelMultiView keyboard tests have been added.
    Previously, we relied on tests specific to various panels to exercise this functionality.

Differential Revision: https://phabricator.services.mozilla.com/D25905
2019-04-09 09:54:39 +00:00
Brian Grinstead
4323ff9bed Bug 1495861 - Lazify panic panel and convert it to use FTL r=flod,Gijs
This is the only <radiogroup> and <radio> consumer in browser.xul.
By making the DOM get constructed on demand, we can avoid connecting
radios at startup, and it also gives us a chance to migrate the
strings to Fluent.

Differential Revision: https://phabricator.services.mozilla.com/D24914
2019-04-05 21:16:26 +00:00
Gijs Kruitbosch
29de5102a3 Bug 1537622 - fix various minor eslint issues in XUL files, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24297
2019-04-05 12:18:24 +00:00
Kris Maglione
a43c190b7d Bug 1525511: Part 2c - Stop using LightweightThemeManager for customize mode themes menu. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18784
2019-02-05 17:23:24 -08:00
Kris Maglione
3cc8a9b2f7 Bug 1525511: Part 2b - Delete recommended theme gunk. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18783
2019-02-05 21:20:37 -08:00
Vijay Budhram
1390532643 Bug 1537648 - remove change avatar button from FxA menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24527
2019-03-22 20:52:47 +00:00
Gijs Kruitbosch
90e59eec3c Bug 1538013 - fix sidebar icon in fxa menu to be correct in RTL and when the sidebar is moved, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D24500
2019-03-22 13:31:35 +00:00
Ian Moody
cac3a5f1e2 Bug 1536653 - browser/ automated ESLint no-throw-literal fixes. r=Gijs
Result of running:
$ mach eslint -funix browser/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

Differential Revision: https://phabricator.services.mozilla.com/D24110
2019-03-20 10:17:42 +00:00
Gijs Kruitbosch
540af9bfd7 Bug 1536633 - add ellipsis to 'connect another device' string in FXA menu, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D24100
2019-03-19 22:02:49 +00:00
Sam Foster
fce0a051f3 Bug 1534447 - Add application menu item to show Logins & Passwords. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23737
2019-03-19 16:46:44 +00:00
Gijs Kruitbosch
2acd18a34a Bug 1524665 - update sync now item when syncing, r=vbudhram
Differential Revision: https://phabricator.services.mozilla.com//D23695
2019-03-18 15:44:28 +00:00
Vijay Budhram
70b2482ba6 Bug 1524665 - Add send tab to device button, r=gijs
Differential Revision: https://phabricator.services.mozilla.com//D23387
2019-03-13 20:31:59 +00:00
Vijay Budhram
ea307c8d64 Bug 1524665 - Add FxA avatar toolbar menu, r=gijs,eoger
Differential Revision: https://phabricator.services.mozilla.com//D20433
2019-02-23 17:56:19 +00:00
Shane Caraveo
85cfdb3344 Bug 1534714 handle checkbox state when appmenu refreshed across windows r=Gijs
This adds an onRefresh option for app menus so we can update custom controls
in any opened window.  In this case, we need to refresh the checkbox state in the
addon-installed panel.  We test this using the theme install test and verify both
windows do not have the checkbox.

Differential Revision: https://phabricator.services.mozilla.com/D23224
2019-03-14 18:31:07 +00:00
jawad
a0726a2d08 Bug 1387843 - Fix & Mirrored Library (Bookmarks & History) icons, on sidebar position changed. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D22637
2019-03-11 17:19:32 +00:00
Shane Caraveo
2d92779793 Bug 1534131 remove period from checkbox description r=flod,mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D22979
2019-03-11 16:19:19 +00:00