Commit Graph

52 Commits

Author SHA1 Message Date
Mark Striemer
e136593fca Bug 1819372 - Part 3: Use moz-button-group in ETP report site panel r=pbz
Depends on D173892

Differential Revision: https://phabricator.services.mozilla.com/D175190
2023-04-13 16:20:50 +00:00
Mark Striemer
ae16cd84c7 Bug 1819372 - Part 2: Use moz-button-group in Cookie Banner Reduction panel r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D173892
2023-04-13 16:20:50 +00:00
Itiel
25055b9ddb Bug 1827730 - Don't specify the cookie banner reduction panel header in the markup and let it be created by PanelMultiView.jsm r=emilio
Specifically, here:
https://searchfox.org/mozilla-central/rev/ad732108b073742d7324f998c085f459674a6846/browser/components/customizableui/PanelMultiView.jsm#1403-1457

Differential Revision: https://phabricator.services.mozilla.com/D175286
2023-04-13 15:30:57 +00:00
Tom Ritter
5c328a34af Bug 1824160: Add 'Fonts' to the reasons a Site Might Not Be Working r=fluent-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D173565
2023-03-29 16:02:37 +00:00
ganna
851a344aca Bug 1802364 - Convert ETP breakage report links to toolbarbuttons in ETP panel. r=hjones,desktop-theme-reviewers,anti-tracking-reviewers,Itiel,pbz
Differential Revision: https://phabricator.services.mozilla.com/D172957
2023-03-28 19:44:11 +00:00
Jared Hirsch
a15a5ae9a6 Bug 1812796 - Refactor and simplify cookie banner handling UI state r=pbz,desktop-theme-reviewers,Itiel
Differential Revision: https://phabricator.services.mozilla.com/D172075
2023-03-28 16:31:48 +00:00
Itiel
c391349369 Bug 1822134 - Fix panel header footer buttons appearance in the protections panel r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D172461
2023-03-13 18:40:45 +00:00
Emilio Cobos Álvarez
4191621d17 Bug 1821387 - Don't use vbox on panel headers. r=Gijs
While at it remove useless display declaration too.

vbox was setting -moz-box-orient: vertical, but that had no effect
because it had display: flex explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D172145
2023-03-09 20:18:47 +00:00
DJ
0a24edca4c Bug 1810052 - update strings for protections panel and expose to localization. r=fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D168011
2023-02-06 19:09:01 +00:00
Jared Hirsch
cc107e3f5d Bug 1800670 - Update cookie banner handling UI in protections popup r=pbz
This patch also implements bug 1800671 and bug 1800673.

Differential Revision: https://phabricator.services.mozilla.com/D164241
2023-02-02 19:12:57 +00:00
Butkovits Atila
b95413c1ad Backed out changeset f878cff45427 (bug 1800670) for causing failures at browser_protectionsUI_cookie_banner.js. CLOSED TREE 2023-02-01 20:40:46 +02:00
Jared Hirsch
42e2eda79e Bug 1800670 - Update cookie banner handling UI in protections popup r=pbz
This patch also implements bug 1800671 and bug 1800673.

Differential Revision: https://phabricator.services.mozilla.com/D164241
2023-02-01 14:51:39 +00:00
Noemi Erli
879d74bdb0 Backed out changeset 68de023d3c5c (bug 1800670) for causing failures in browser_protectionsUI_cookie_banner.js CLOSED TREE 2023-01-30 21:16:42 +02:00
Jared Hirsch
992086fbed Bug 1800670 - Update cookie banner handling UI in protections popup r=pbz
This patch also implements bug 1800671 and bug 1800673.

Differential Revision: https://phabricator.services.mozilla.com/D164241
2023-01-30 16:30:28 +00:00
Butkovits Atila
8a37a83f45 Backed out changeset 0072aa5cd31d (bug 1800670) for causing multiple mochitest failures. CLOSED TREE 2023-01-30 15:26:29 +02:00
Jared Hirsch
64cb4ee8e6 Bug 1800670 - Update cookie banner handling UI in protections popup r=pbz
This patch also implements bug 1800671 and bug 1800673.

Differential Revision: https://phabricator.services.mozilla.com/D164241
2023-01-30 12:24:28 +00:00
Paul Zuehlcke
6bdcae659e Bug 1812296 - Add missing class to protections popup panel header. r=hpeuckmann
Bug 1795041 moved the font-weight rule to a separate class. I forgot to add
this class to the switch in the site-not-working sub-panel too.

Differential Revision: https://phabricator.services.mozilla.com/D167801
2023-01-25 16:45:48 +00:00
Itiel
c5c7610894 Bug 1577257 - Share logic behind panel headers across the UI r=willdurand,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D160972
2022-11-17 21:34:34 +00:00
Paul Zuehlcke
0668c2ff68 Bug 1795041 - Add a cookie banner handling per-site toggle to the protection panel. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D160254
2022-11-01 13:34:56 +00:00
Itiel
93140a5b5c Bug 1790232 - Use subviewbutton for the Protections popup buttons and cleanup some CSS r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D157045
2022-10-25 19:02:45 +00:00
Emilio Cobos Álvarez
5a21eb2144 Bug 1796735 - Remove useless flex attributes from panelviews. r=dao
These are probably copy-pasta. All panelviews flex because of:

  https://searchfox.org/mozilla-central/rev/c5c002f81f08a73e04868e0c2bf0eb113f200b03/browser/themes/shared/customizableui/panelUI-shared.css#135

Differential Revision: https://phabricator.services.mozilla.com/D159933
2022-10-21 12:52:12 +00:00
Emilio Cobos Álvarez
8eb4bd796d Bug 1795944 - Remove descriptionheightworkaround. r=Gijs
Stuff wraps properly now with flexbox emulation.

Differential Revision: https://phabricator.services.mozilla.com/D159621
2022-10-19 11:55:29 +00:00
Mike Conley
98e129ef96 Bug 1698883 - Remove the panel-footer-menulike class. r=mhowell
We kept this class around so that we could toggle back and forth between the
Photon-era footer button style, and the Proton-era menuitem style for footer
buttons.

Now that v89 has shipped, we can remove that class and switch the markup and
styling over completely to the Proton styling.

Differential Revision: https://phabricator.services.mozilla.com/D117553
2021-06-23 13:54:41 +00:00
Brindusan Cristian
b99e075aeb Backed out changeset e88b44182dda (bug 1698883) for causing bc failures in browser_documentnavigation.js and browser_protectionsUI.js.
CLOSED TREE
2021-06-17 22:43:47 +03:00
Mike Conley
f1e9c77fc7 Bug 1698883 - Remove the panel-footer-menulike class. r=mhowell
We kept this class around so that we could toggle back and forth between the
Photon-era footer button style, and the Proton-era menuitem style for footer
buttons.

Now that v89 has shipped, we can remove that class and switch the markup and
styling over completely to the Proton styling.

Differential Revision: https://phabricator.services.mozilla.com/D117553
2021-06-17 15:34:17 +00:00
Mike Conley
b112fe1814 Bug 1707754 - Make Protections Panel use the subviewbutton-nav class for subview navigation buttons. r=Itiel,desktop-theme-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D114890
2021-05-12 20:45:00 +00:00
Molly Howell
11c3e5164c Bug 1705540 - Use toolbarseparator elements for protections panel subviews. r=desktop-theme-reviewers,harry
Mainly this is the easiest way to reduce the width of the separators when using
the Proton design (they look unchanged if the Proton prefs are disabled), but
it should also make any other future styling changes we might want easier too.

Differential Revision: https://phabricator.services.mozilla.com/D112291
2021-04-16 20:35:32 +00:00
Bogdan Tara
f5c3fcf7b7 Backed out changeset e40c2fa01489 (bug 1705540) for conflict when backing out bug 1703012 CLOSED TREE 2021-04-16 22:39:04 +03:00
Molly Howell
1600bf2a66 Bug 1705540 - Use toolbarseparator elements for protections panel subviews. r=desktop-theme-reviewers,harry
Mainly this is the easiest way to reduce the width of the separators when using
the Proton design (they look unchanged if the Proton prefs are disabled), but
it should also make any other future styling changes we might want easier too.

Differential Revision: https://phabricator.services.mozilla.com/D112291
2021-04-16 17:33:50 +00:00
Luz De La Rosa
3a880a5b68 Bug 1703586 - Fix tiny layout issues in the protections panel. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D112140
2021-04-16 16:53:06 +00:00
Molly Howell
c69fee2a81 Bug 1703635 - Fix several protections panel styling issues. r=mconley
This patch makes a few changes to bring the protections panel closer in line
with the Proton spec:
1) Add a few pixels of width to the tracking protection toggle switch.
2) Add underlining to the "site not working" link.
3) Replace the borders between sections of the panel with toolbarseparator
   elements, so that they become narrower than the panel width (and also
   match the panel header's separator).

Differential Revision: https://phabricator.services.mozilla.com/D111717
2021-04-13 18:57:06 +00:00
Paul Zuehlcke
d128258d65 Bug 1699669 - Added learn more link to the shim-allow warning in the protections panel. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D110150
2021-04-13 16:11:21 +00:00
Paul Zuehlcke
348e064eba Bug 1699668 - Refactor siteProtections blockers and add a warning for trackers allowed by shims. r=johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D109717
2021-04-13 16:11:21 +00:00
Mike Conley
66673da107 Bug 1697947 - Apply Proton button stylings to the footers of more panels. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D108261
2021-03-16 21:48:37 +00:00
Noemi Erli
abe663dea2 Backed out changeset c35c310c49d3 (bug 1697947) for causing failures in browser_parsable_css.js 2021-03-16 22:58:27 +02:00
Mike Conley
e49c230e43 Bug 1697947 - Apply Proton button stylings to the footers of more panels. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D108261
2021-03-16 19:20:22 +00:00
Ingrid Buh
ebd9f22441 Bug 1639826 - Fix hover effects on link texts in the protection panel. r=prathiksha,nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D85755
2020-08-04 10:29:38 +00:00
Andreea Pavel
e9e7d4b8d3 Backed out changeset f7bb83828578 (bug 1639826) for failing bc at browser_protectionsUI.js on a CLOSED TREE 2020-07-24 15:25:59 +03:00
Ingrid Buh
ce6fee46c4 Bug 1639826 - Fix hover effects on link texts in the protection panel. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D81309
2020-07-24 10:30:07 +00:00
Gijs Kruitbosch
480e677a3b Bug 1634032 - use a template to wrap the protections popup while it's not needed, r=nhnt11
This also only updates per-category block information in the protections panel
while it's open or when it's about to be shown. To do this, the patch:

1. changes the `categoryItem` getter on all blockers to avoid memo'izing null when the popup is unavailable;
2. changes the `updateCategoryItem` method on all blockers to deal with `categoryItem` being null;
3. stops calling `updateCategoryItem` from the blockers' `init` method, instead delegating this responsibility
   to gProtectionsHandler doing so when the popup first becomes available. Note that we still need (2) because
   pref changes can trip us calling into `updateCategoryItem` anyway. We cannot avoid instantiating the pref
   getters because they are relied on by some of the `isDetected` and `isBlocking` implementations.
4. reorganizes `onContentBlockingEvent` so it updates the icon, reports telemetry, and updates internal state -
   but only updates the panel if it's visible, and otherwise simply memorizes the last event (which is just
   a number!);
5. ensures showing the panel updates the panel's category data based on the memorized state from (4).

Differential Revision: https://phabricator.services.mozilla.com/D81926
2020-07-10 21:32:09 +00:00
Bogdan Tara
7689a981c8 Backed out changeset add40bc29da9 (bug 1634032) for browser_controlCenter.js failures CLOSED TREE 2020-07-10 21:10:42 +03:00
Gijs Kruitbosch
ec4fcaf060 Bug 1634032 - use a template to wrap the protections popup while it's not needed, r=nhnt11
This also only updates per-category block information in the protections panel
while it's open or when it's about to be shown. To do this, the patch:

1. changes the `categoryItem` getter on all blockers to avoid memo'izing null when the popup is unavailable;
2. changes the `updateCategoryItem` method on all blockers to deal with `categoryItem` being null;
3. stops calling `updateCategoryItem` from the blockers' `init` method, instead delegating this responsibility
   to gProtectionsHandler doing so when the popup first becomes available. Note that we still need (2) because
   pref changes can trip us calling into `updateCategoryItem` anyway. We cannot avoid instantiating the pref
   getters because they are relied on by some of the `isDetected` and `isBlocking` implementations.
4. reorganizes `onContentBlockingEvent` so it updates the icon, reports telemetry, and updates internal state -
   but only updates the panel if it's visible, and otherwise simply memorizes the last event (which is just
   a number!);
5. ensures showing the panel updates the panel's category data based on the memorized state from (4).

Differential Revision: https://phabricator.services.mozilla.com/D81926
2020-07-10 15:28:58 +00:00
Butkovits Atila
73a0d4bed1 Backed out changeset 71ca1673171d (bug 1634032) for assertion failure on DOMJSProxyHandler.cpp. CLOSED TREE 2020-07-10 01:36:16 +03:00
Gijs Kruitbosch
06c3b72ba5 Bug 1634032 - use a template to wrap the protections popup while it's not needed, r=nhnt11
This also only updates per-category block information in the protections panel
while it's open or when it's about to be shown. To do this, the patch:

1. changes the `categoryItem` getter on all blockers to avoid memo'izing null when the popup is unavailable;
2. changes the `updateCategoryItem` method on all blockers to deal with `categoryItem` being null;
3. stops calling `updateCategoryItem` from the blockers' `init` method, instead delegating this responsibility
   to gProtectionsHandler doing so when the popup first becomes available. Note that we still need (2) because
   pref changes can trip us calling into `updateCategoryItem` anyway. We cannot avoid instantiating the pref
   getters because they are relied on by some of the `isDetected` and `isBlocking` implementations.
4. reorganizes `onContentBlockingEvent` so it updates the icon, reports telemetry, and updates internal state -
   but only updates the panel if it's visible, and otherwise simply memorizes the last event (which is just
   a number!);
5. ensures showing the panel updates the panel's category data based on the memorized state from (4).

Differential Revision: https://phabricator.services.mozilla.com/D81926
2020-07-09 20:23:14 +00:00
Erica Wright
da2c78bf70 Bug 1641627 - Update string for protection panel entrypoint to protections dashboard. r=prathiksha,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D77314
2020-05-28 17:44:58 +00:00
Erica Wright
1ea362fe09 Bug 1635218 - Update Protections Dashboard entry points. r=prathiksha,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D74940
2020-05-19 16:58:51 +00:00
Artem
e206d05827 Bug 1609559 - Migrate protectionsPanel.inc.xhtml to Fluent r=Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D71234
2020-04-28 06:23:10 +00:00
aarushivij
fb9545cf6e Bug 1587870 - [Protections Panel] Add level of protection next to 'Protection Settings' r=johannh,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D70521
2020-04-19 09:27:39 +00:00
Thal
7ce7b721cf Bug 1578086 - Update 'Why?' link cursor and color in protection tracking panel. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D65958
2020-03-09 13:29:48 +00:00
Gijs Kruitbosch
2ace86e303 Bug 1614911 - set noautofocus on identity and control center popups to prevent stealing focus from the content, r=Jamie,johannh
Differential Revision: https://phabricator.services.mozilla.com/D63367
2020-02-21 08:25:16 +00:00