Commit Graph

435 Commits

Author SHA1 Message Date
Johann Hofmann
d63352edc4 Bug 1350210 - Part 3 - Add uidensity icons and only show uidensity settings in Photon. r=nhnt11
MozReview-Commit-ID: 6uI2oeQk8hw

--HG--
extra : rebase_source : e8aa4141f294433ab6f070f3d0e4fe4c42e073ea
2017-06-29 22:41:03 -07:00
Johann Hofmann
e57999a689 Bug 1350210 - Part 1 - Add UI density settings to customize mode. r=jaws
MozReview-Commit-ID: C0g6aFPW2pX

--HG--
extra : rebase_source : 9802bba188043c04796cf13e0741396ec1447a8d
2017-06-27 18:50:34 +02:00
Mike de Boer
d41016be92 Bug 1354159 - Part 4 - Implement the style changes necessary to properly view the new Bookmarks view inside the Library Panel. r=Gijs,mak
MozReview-Commit-ID: 2tPH89DXbcp

--HG--
extra : rebase_source : 8356f296a77e908884a20d58b40571b78ce35966
2017-06-29 17:57:28 -07:00
Gijs Kruitbosch
4733223aad Bug 1354123 - remove customize mode transition, r=jaws
MozReview-Commit-ID: 7j9HWxci7oB

--HG--
extra : rebase_source : 75cbd832c8e0c8138457c47d1c8fff73c8cb3f56
2017-06-28 13:17:46 +01:00
Gijs Kruitbosch
cab2177430 Bug 1373016 - switch from a tip panel to a permanent message for empty overflow panels in customize mode for photon, r=jaws
MozReview-Commit-ID: GhQoSgPXL9q

--HG--
extra : rebase_source : 8c552cf17c081e5988bea46aa207e8578cd93273
2017-06-28 16:55:44 +01:00
Carsten "Tomcat" Book
25f9160fc3 Backed out changeset cbf0368eea83 (bug 1373016) for unused whitelist entry: chrome://browser/skin/customizableui/customize-illustration-rtl@2x.png - 2017-06-29 16:21:39 +02:00
Gijs Kruitbosch
dba5fdab48 Bug 1373016 - switch from a tip panel to a permanent message for empty overflow panels in customize mode for photon, r=jaws
MozReview-Commit-ID: GhQoSgPXL9q

--HG--
extra : rebase_source : acc57eb6347a5017077358e84c5803719f3331ef
2017-06-28 16:55:44 +01:00
Carsten "Tomcat" Book
20d1412289 Backed out changeset 5de26737d215 (bug 1373016) for failure like missing chrome://browser/skin/customizableui/info-icon-customizeTip@2x.png referenced from chrome://browser/skin/browser.css 2017-06-29 13:36:16 +02:00
Gijs Kruitbosch
319029e2fd Bug 1373016 - switch from a tip panel to a permanent message for empty overflow panels in customize mode for photon, r=jaws
MozReview-Commit-ID: GhQoSgPXL9q

--HG--
extra : rebase_source : 0041e8c8c58d67d887bd77789936a5d79f750675
2017-06-28 16:55:44 +01:00
Carsten "Tomcat" Book
c611ab2870 Backed out changeset bdcdd4d23c77 (bug 1373016) for bustage 2017-06-29 12:34:23 +02:00
Gijs Kruitbosch
5074857da8 Bug 1373016 - switch from a tip panel to a permanent message for empty overflow panels in customize mode for photon, r=jaws
MozReview-Commit-ID: GhQoSgPXL9q

--HG--
extra : rebase_source : 69e18f84fd97a47c17d0a259efc5a59d5f7868f1
2017-06-28 16:55:44 +01:00
Gijs Kruitbosch
21aec1378e Bug 1354145 - adjust sizing of header and margins/paddings on palette, r=mikedeboer
MozReview-Commit-ID: 579qZgfEWi9

--HG--
extra : rebase_source : 9d22f1d0aeea7314e06ad20f0b3befe01db1eb65
2017-06-27 17:09:54 +01:00
Gijs Kruitbosch
ac35b5f8e6 Bug 1354145 - fix background colour across customize mode as well as integration with the footer, r=daleharvey
MozReview-Commit-ID: 5zjp4i5HYmp

--HG--
extra : rebase_source : 0a0a0b982e93358439eca2d66e98a6a9701863be
2017-06-28 22:03:04 +01:00
Gijs Kruitbosch
ae0a11864d Bug 1354145 - remove dashed outlines for customization targets for photon, r=mikedeboer
MozReview-Commit-ID: 9SeuqazFMQl

--HG--
extra : rebase_source : ad29362eff7a90bac732dd210db83ccc76db67b1
2017-06-27 13:18:52 +01:00
Gijs Kruitbosch
f9f590ca0f Bug 1354145 - set photon-structure attribute on root, update palette/panel icon sizes and layout, r=mikedeboer
MozReview-Commit-ID: 2LhIhI480Yb

--HG--
extra : rebase_source : 33714f81db749ee2e7624b9c3e0a63dded6042ca
2017-06-27 21:47:30 +01:00
Gijs Kruitbosch
d75dc0848a Bug 1373968 - size overflow panel appropriately in customize mode and align arrow with overflow button, r=mikedeboer
MozReview-Commit-ID: FV0TKuD0saa

--HG--
extra : rebase_source : 3c03da6e59105b5ace19c9a64bfc178246bd5d92
2017-06-23 14:29:00 +01:00
Gijs Kruitbosch
dd070a9e91 Bug 1352120 - move the bookmarks star into the url bar, r=mak
MozReview-Commit-ID: Ka5Wn2hrb1P

--HG--
extra : rebase_source : e22d25295066386c4becc1a430b78aaa9c40ae4f
2017-06-23 17:35:59 +01:00
Gijs Kruitbosch
73b97d9d80 Bug 1374603 - define a maximum width for panelviews, r=bbell,mikedeboer
MozReview-Commit-ID: 8K8IrXGAqcu

--HG--
extra : rebase_source : 47f56bcc0e570b3946b5d3d6423f7cbe446c7017
2017-06-22 13:48:13 +01:00
Mike de Boer
4ef8ac6bc6 Bug 1374694 - Fix indentation and font used for multi-line labels inside panelviews. r=Gijs
MozReview-Commit-ID: LtsaUPrX55B

--HG--
extra : rebase_source : 1a9abe5a2f87705792f152cf9e8ce93b25bb93f3
2017-06-21 13:00:12 +02:00
Mike de Boer
4486e0a7a9 Bug 1374650 - Fix the indentation for panelview toolbar items that are text-only. r=Gijs
MozReview-Commit-ID: AXsTBhaTMYY

--HG--
extra : rebase_source : cf0e57e4ce3336f6a7b70d8238c018e3d8aa2ca8
2017-06-20 17:34:53 +02:00
Mike de Boer
f7e1f14006 Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : 0bf4fc4effc9de9e431ee50dfcf5fc7206e252cf
2017-06-16 15:41:57 +02:00
Gijs Kruitbosch
11890dd7b5 Bug 1365663 - update synced tabs panel view iconography and alignment, r=mikedeboer
This also adds the icons in non-photon. They seem to work fine there, so I don't think this is a problem.

MozReview-Commit-ID: GkvT3i2jnD1

--HG--
extra : rebase_source : 80d33d329b5740328aa82dd5401475264700e57a
2017-06-16 13:58:12 +01:00
Sebastian Hengst
be35e9d97b Backed out changeset af176d040fad (bug 1370580) for frequently failing browser_ext_sidebarAction.js on Linux debug. r=backout a=backout
MozReview-Commit-ID: AwnMjAQTdmC
2017-06-17 23:18:55 +02:00
Mike de Boer
5df9078641 Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : 0bf4fc4effc9de9e431ee50dfcf5fc7206e252cf
2017-06-16 15:41:57 +02:00
Sebastian Hengst
a4809151b2 Backed out changeset d6be7dc56cc5 (bug 1370580) for failing test-oop-extensions/browser_ext_browserAction_popup_resize.js. r=backout 2017-06-15 19:24:39 +02:00
Mike de Boer
5704197fbf Bug 1370580 - Part 1 - Ensure that the overflow rules are set the exact same way for the temporary panel as for the appMenu panel. r=Gijs
These rules are set explicitly to allow the two views to be displayed next to
each other briefly when the slide-in transition starts.
This patch also applies the last remaining photon styles to the temporary panel,
which is used by the new Library widget as well.

MozReview-Commit-ID: 45aYzVHwRYv

--HG--
extra : rebase_source : f142e3dbba0d70effe129dad43f139e494070d82
2017-06-15 12:49:18 +02:00
Mike de Boer
386ed7219e Bug 1369095 - calculate the size of the panel to be shown off-screen to work around all the panel layout issues. r=Paolo
MozReview-Commit-ID: ENxCccxcUZk

--HG--
extra : rebase_source : bff74375471ccce984caa2bbb7d3ab9ffe3e1fca
2017-06-13 14:06:35 +02:00
Wes Kocher
6dbc3e8839 Backed out changeset 9933f2d4d188 (bug 1369095) for timeouts in browser_page_action_menu.js a=backout CLOSED TREE
MozReview-Commit-ID: CErzYNn287D
2017-06-09 09:19:45 -07:00
Mike de Boer
3e8fc24e90 Bug 1369095 - calculate the size of the panel to be shown off-screen to work around all the panel layout issues. r=Paolo
MozReview-Commit-ID: ENxCccxcUZk

--HG--
extra : rebase_source : 3d95b5e816e3a385b2f126634d4365743522ac3e
2017-06-09 15:52:18 +02:00
Gijs Kruitbosch
635be35297 Bug 1369564 - fix min-width issues with panels, r=mikedeboer
MozReview-Commit-ID: 3h5hCvcJbTc

--HG--
extra : rebase_source : 05eb487b4e069eb6b57a0e21fdaea1995c9c3e09
2017-06-06 16:12:40 +01:00
Mike de Boer
86a57ab6f4 Bug 1354105 - Add zoom controls - zoom in, zoom reset, zoom out and fullscreen - buttons to the Photon app menu. r=Gijs
MozReview-Commit-ID: 8cJg4vbdYgL

--HG--
extra : rebase_source : e3276709b64aa71d884c391be4f4fa75607676f1
2017-06-01 19:36:04 +02:00
Mike de Boer
38aba49f90 Bug 1364738 - Fix up multi-line labels inside panelviews that have wrapped around and align elements in the banner. r=Gijs,Paolo
I updated, extended and refined Paolo's descriptionHeightWorkaround method to
support multi-line toolbar button labels.
Made the app menu use that method to ensure no scrollbars appear.
Also updated the styling of the banner to have icon and label align correctly
with those of the other buttons inside the panelview.

MozReview-Commit-ID: IzbahG0kyTu

--HG--
extra : rebase_source : 8a6c4e5ac7b1c0d30f53b732730629b5d8ca7166
2017-05-30 14:21:59 +02:00
Gijs Kruitbosch
265d34ba7d Bug 1367432 - move and de-duplicate menu panel icons, r=dao
MozReview-Commit-ID: 89NanPDPzwj

--HG--
rename : browser/themes/shared/menu-icons/back.svg => browser/themes/shared/icons/arrow-left.svg
rename : browser/themes/shared/menu-icons/back-small.svg => browser/themes/shared/icons/back-12.svg
rename : browser/themes/shared/menu-icons/check.svg => browser/themes/shared/icons/check.svg
rename : browser/themes/shared/menu-icons/customize.svg => browser/themes/shared/icons/customize.svg
rename : browser/themes/shared/menu-icons/help.svg => browser/themes/shared/icons/help.svg
rename : browser/themes/shared/menu-icons/library.svg => browser/themes/shared/icons/library.svg
extra : rebase_source : 37f52d94343b1f92669de8af803ed5e39dd5a237
2017-05-25 14:32:37 +01:00
Paolo Amadini
c1fcfbdef9 Bug 1367761 - Restore outer margin in the Photon panels. r=Gijs
MozReview-Commit-ID: BiX97QowDlI

--HG--
extra : rebase_source : d3eed239cd733e1b19a15cd5090b46b6a3a8f8af
2017-05-25 17:35:21 +01:00
Drew Willcoxon
547921aa65 Bug 1363182 - Add a "send to device" subview to the page action menu. r=eoger,mikedeboer
Add a Send to Device subview to the page action panel.  When the page isn't
sendable, disable the Send to Device menu item.  When the user doesn't have any
devices, show a menu item that opens the Firefox Account preferences pane.

Generalize gSync.populateSendTabToDevicesMenu() so that it can be used to
populate any kind of container, not only a menupopup with menuitems.

Add an SVG that shows a phone and an SVG that shows a desktop.

MozReview-Commit-ID: EZQKAEAr08q

--HG--
extra : rebase_source : bda87f105712a6c6ba83da1a78179eee93b5f4d0
2017-05-24 15:49:43 -07:00
Ryan VanderMeulen
bda1298f43 Merge m-c to autoland. a=merge
CLOSED TREE
2017-05-24 16:34:01 -04:00
Ryan VanderMeulen
30caacbb11 Merge inbound to m-c. a=merge 2017-05-24 16:32:59 -04:00
Doug Thayer
887b840043 Bug 1365805 - fix visual regressions from 1359881 r=Gijs
There are two issues this addresses:

1) Update badges were showing in the middle of the hamburger
   button for high-DPI displays. This was because I failed to
   copy the margin-inline-end from the low-DPI styles to the
   high-DPI styles, and so the high-DPI's margin settings were
   overriding those.
2) Somehow the drop from -9px to -8px in the margin caused the
   icon to start eating into the second row of the hamburger,
   which was not intended, and was not happening when I wrote
   the initial code, or else I made some mistake when I was
   testing. In any case, I'm not sure of the reason for the
   discrepancy, but this change undoes it and looks fine.

These two changes are together because they touch the same code.
Since the high-DPI margin ends up not being different from the
low-DPI margin, we're just deleting the high-DPI's entry.

Images:

low-dpi - https://d2ppvlu71ri8gs.cloudfront.net/items/021F0M3u1Z3q1m271d2G/low-dpi.PNG
high-dpi - https://d2ppvlu71ri8gs.cloudfront.net/items/31313s420d2R373f271Z/high-dpi.PNG

MozReview-Commit-ID: 7Np4x1DSUuN

--HG--
extra : rebase_source : 4bc5da0fd3c353b83e09bf9528949f729484156b
2017-05-23 14:55:52 -07:00
Gijs Kruitbosch
907f0dc669 Bug 1354126 - update labeling and styling of footer buttons, r=mikedeboer
MozReview-Commit-ID: DFzb4gbmWYj

--HG--
rename : browser/themes/shared/sidebar/arrow-dropdown.svg => browser/themes/shared/icons/arrow-dropdown.svg
extra : rebase_source : 6082ace16924dad1bf6375113b3601b722bc6cdb
2017-05-22 12:20:26 +01:00
Gijs Kruitbosch
cf42b18d7b Bug 1354126 - use checkbox for titlebar toggle in customize mode, r=mikedeboer
MozReview-Commit-ID: 9bdf8uAlWCM

--HG--
extra : rebase_source : 947a7f9a37c4505cc0840d15dd96570bd3d70e4c
2017-05-22 11:17:11 +01:00
Gijs Kruitbosch
b13aae6146 Bug 1367409 - avoid stretching people's fxa avatars, r=mikedeboer
MozReview-Commit-ID: 3uyTLhQ98fA

--HG--
extra : rebase_source : fdd18b4eb95688a940f518ac3134971c45bb5302
2017-05-24 15:23:13 +01:00
Paolo Amadini
33ebc4466d Bug 1009116 - Redo resizing architecture of panelmultiview. r=Gijs
The height of the "panelmultiview" binding is now determined by the stack layout code, and doesn't have to be calculated manually via JavaScript anymore. This allows the removal of mutation and overflow observers, and reduces the number of synchronous layouts being made.

There is still a workaround included for wrapping blocks not being taken into account in height calculations.

MozReview-Commit-ID: 9rrPU5O5hUx

--HG--
extra : rebase_source : b872c14a553c4293ac476d5d22c634a5a0f6cb24
extra : intermediate-source : bf96469b6ea7daee29eb75a60d11f017a1c86a64
extra : source : 719bb4e7286fbd3baf32061929e4b7d9f953c671
2017-05-23 17:08:01 +01:00
Mike de Boer
96546e2ad2 Bug 1354108 - Add the edit controls (cut, copy, paste) to the static menu panel. r=Gijs
MozReview-Commit-ID: Dudscy7dSB1

--HG--
extra : rebase_source : 42ac8e4c57b19b03bcf965d40b65c81dde790fba
2017-05-23 12:03:00 +02:00
Gijs Kruitbosch
d4da052d31 Bug 1354084 - add sync / Firefox account button to hamburger panel, r=mikedeboer
MozReview-Commit-ID: 8YOFAY5VpQl

--HG--
extra : rebase_source : a4b4121fd729072ff9d2d37b01b6bea7ae27948a
2017-05-09 15:56:19 -04:00
Marco Bonardo
86127d4723 Bug 1360891 - Places default favicon should supports hi-dpi. r=dao,standard8
MozReview-Commit-ID: 1b0gnDIQJIQ

--HG--
extra : rebase_source : 9429dc510ac469384c364bad44dbba731abe3a3a
2017-05-03 09:31:05 +02:00
Mike de Boer
af01a5fa65 Bug 1354144 - add support for keyboard navigation inside panel views. r=Gijs
MozReview-Commit-ID: GVMyXroGmAn

--HG--
extra : rebase_source : 146eae8a189b2536d2d3774466e2252315e3f1a1
2017-05-22 12:53:43 +02:00
Brian Grinstead
5bf51d8dd7 Bug 1355324 - Create a popup to switch between sidebars from the sidebar header;r=Gijs
MozReview-Commit-ID: HBwIfmtKybi

--HG--
rename : browser/base/content/test/general/browser_bug409481.js => browser/base/content/test/sidebar/browser_bug409481.js
extra : rebase_source : ae9d07e61e997c60b9633126296f20b9c3bed7f4
2017-05-16 10:31:00 -07:00
Mike de Boer
1b6021c0de Bug 1363753 - Add an option for panelmultiviews to keep the width of the mainView synchronized across all other subviews. r=Gijs
MozReview-Commit-ID: ALgU1xWydWB

--HG--
extra : rebase_source : 2825b93ec67b4d841df39ef0a61a9de429ceac9d
2017-05-15 15:02:32 +02:00
Mike de Boer
9c6cf33558 Bug 1354127 - Add a 'More' toolbar button to the Photon app menu. r=Gijs
This also improves the styling of checkbox buttons inside the menu and improves
support for adopting panelviews into the app menu from another area properly.

MozReview-Commit-ID: 1I9CeBx3zrz

--HG--
extra : rebase_source : 2db487c3e8fb56bca20f8bf51367b724c677b10f
2017-05-11 16:23:16 -04:00
Sebastian Hengst
db8f56dd23 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: HWYxZeNWish
2017-05-11 16:50:12 +02:00