Commit Graph

1578 Commits

Author SHA1 Message Date
Doug Thayer
8c85ee3f84 Bug 1358363 - Update notification focuses another window. r=rstrong
Right now notifications displayed in non-focused windows are causing that window to be focused. This is annoying. We could work to make the doorhangers not focus the other windows, but a simpler solution is to just not show the doorhanger until the window is focused. This has the added benefit of ensuring that the doorhangers entry animation is seen by the user, increasing the likelihood that they will notice it.
Additionally, some existing tests involving extra windows were refactored. I stripped the old tests of their extra windows and created new tests specifically to test the behavior of background windows. These tests were modeled off of the background window tests of PopupNotifications.jsm, which create a new window knowing that this will cause the existing window to be the background, rather than explicitly manipulating the focus of the two windows.
2017-05-10 17:35:22 -07:00
Gijs
dea6f4a52b Bug 1354094 - show the overflow button when there are items in the permanent overflow menu, r=mikedeboer
This also disables the menu button and overflow button correctly in
customize mode, and fixes an issues where the overflow button state
would stay 'open' when closing the panel by clicking the button
a second time.

MozReview-Commit-ID: BNTkE6zvv9Q
2017-05-10 12:36:05 -04:00
Gijs
32ea3bc037 Bug 1354082 - rm space because it's 'async function()' but 'function* ()', rs=bustage on a CLOSED TREE 2017-05-10 14:17:50 -04:00
Gijs Kruitbosch
a140e98983 Bug 1354082 - part 2: make overflow panel show up in customize mode and make dragging work correctly, r=mikedeboer
This reuses the logic we have for toolbar dragging and uses it for the photon panel (ie overflow panel)
to do vertical space-making animations.

It explicitly doesn't address the styling or permanently showing the overflow button (for which we have other bugs on file).


MozReview-Commit-ID: 4qrWC0H30xi
2017-05-05 19:26:55 +01:00
Gijs Kruitbosch
f3418cac17 Bug 1354082 - part 1: make toggling the photon structure pref at runtime not break the panels, r=mikedeboer
This is unfortunate, but in order to keep automated tests working when we flip the pref,
it would be nice to be able to flip the pref at runtime and have things Just Work. This
tries to make that happen. We can remove most of this code post-Photon.

MozReview-Commit-ID: 8zbgCGJautO
2017-05-05 19:25:37 +01:00
Gijs
eebe44069b Bug 1354082 - part 0: set prefs in all the tests that need it, r=mikedeboer
MozReview-Commit-ID: D1YDY5NvdYJ
2017-05-10 06:54:44 -04:00
Wes Kocher
1decb20c72 Merge m-c to autoland a=merge CLOSED TREE
MozReview-Commit-ID: 5T8pxvbfKXv
2017-05-10 17:29:04 -07:00
Mike de Boer
90b6d074fd Bug 1353360 - implement Photon design spec for panel menus. r=Gijs
MozReview-Commit-ID: BPMkiiP31BP
2017-05-10 17:29:36 -04:00
Mark Banner
44d0568f41 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Sebastian Hengst
c8bd0b3620 Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner
dae8146427 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Doug Thayer
71bdb9abf4 Bug 1358363 - Show PanelUI notifications when window focused r=rstrong
Right now notifications displayed in non-focused windows are
causing that window to be focused. This is annoying. We could work
to make the doorhangers not focus the other windows, but a simpler
solution is to just not show the doorhanger until the window is
focused. This has the added benefit of ensuring that the doorhangers
entry animation is seen by the user, increasing the likelihood that
they will notice it.

Additionally, some existing tests involving extra windows were
refactored. I stripped the old tests of their extra windows and
created new tests specifically to test the behavior of background
windows. These tests were modeled off of the background window
tests of PopupNotifications.jsm, which create a new window knowing
that this will cause the existing window to be the background,
rather than explicitly manipulating the focus of the two windows.

MozReview-Commit-ID: 1fjrDOhEKCw
2017-04-21 08:57:28 -07:00
Mike de Boer
31b2c91c3c Bug 1354141 - Introduce a new binding for Photon panels that allows for more granular control in behavior and to fork the styles entirely. r=Gijs
MozReview-Commit-ID: CDzn5r0YmYO
2017-05-10 16:05:05 -04:00
Wes Kocher
01722415ae Backed out changeset 75a14f02f6f7 (bug 1330315) for build failures in TelemetryHistogramData.inc a=backout
MozReview-Commit-ID: KKnLXDjgmqC
2017-05-10 10:45:18 -07:00
Sebastian Hengst
0b1ed75727 Backed out changeset 3e704f6d9476 (bug 1354141) for failing mochitest browser_ext_browserAction_popup_resize.js. r=backout on a CLOSED TREE 2017-05-10 19:34:14 +02:00
Fischer.json
fb54da55cf Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI
2017-05-09 10:43:48 -04:00
Mike de Boer
672ded7033 Bug 1354141 - Introduce a new binding for Photon panels that allows for more granular control in behavior and to fork the styles entirely. r=Gijs
MozReview-Commit-ID: CDzn5r0YmYO
2017-05-10 11:06:06 -04:00
Gijs Kruitbosch
b2fdc7ec19 Bug 1354113 - add library,add-ons,preferences,customize items, r=jaws
MozReview-Commit-ID: 3bfi30tvUTB
2017-05-09 11:58:59 -04:00
Mike de Boer
4892fae40e Bug 1363178 - Move the panelmultiview JS implementation to a separate module. r=Gijs
MozReview-Commit-ID: 92GCeTOp2cP
2017-05-08 16:42:16 -04:00
Gijs Kruitbosch
3ef86bba2c Bug 1355020 - part 3: add notification container and styling for photon hamburger panel, r=mikedeboer
MozReview-Commit-ID: 4Jajbo9pzg5
2017-05-03 16:15:42 +01:00
Gijs Kruitbosch
6ecb91be3e Bug 1355020 - part 2: disentangle add-on notifications from 'PanelUI' and their specific spot, r=kmag
MozReview-Commit-ID: h2azhwU60S
2017-05-03 14:53:07 +01:00
Gijs Kruitbosch
f28cdbf3e9 Bug 1355020 - part 1: disentangle update notifications from 'PanelUI' and hardcoded IDs, r=dthayer
MozReview-Commit-ID: EqLtDuRC8EH
2017-05-04 12:56:11 +01:00
Edouard Oger
bf97626bd8 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv
2017-04-18 14:15:43 -04:00
Sebastian Hengst
6471972ae8 Backed out changeset 0a0138825fb5 (bug 1353571) 2017-05-03 21:56:44 +02:00
Edouard Oger
c9a99ae676 Bug 1353571 part 3 - Refactor browser-syncui and browser-fxaccounts. r=markh
MozReview-Commit-ID: K790Ag8WZgv
2017-04-18 14:15:43 -04:00
Julian Descottes
d18d132561 Bug 1183962 - stop installing webide button in menu or navbar automatically;r=jryans
MozReview-Commit-ID: CACgml3Xijf
2017-05-02 22:56:40 +02:00
Gijs Kruitbosch
5929e36962 Bug 1354079 - add sticky / permanent part to overflow panel, r=mikedeboer
MozReview-Commit-ID: 7wv43JWLx8Q
2017-04-22 10:41:03 +01:00
Iris Hsiao
1f437b871d merge mozilla-inbound to mozilla-central a=merge 2017-05-02 11:04:36 +08:00
Neil Deakin
5dae15d035 Bug 1356587, update the gEditUIVisible flag when the panelUI is opened and closed so that the command updating optimization actually applies. Currently it never applies once the panel has been opened at least once, r=gijs 2017-05-01 10:42:33 -04:00
Carsten "Tomcat" Book
eb1595e913 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Jared Wein
06db750c9d Bug 1347413 - Remove the unused browser-fullZoom:zoomReset and browser-fullZoom:zoomChange notifications. r=dao,mccr8
MozReview-Commit-ID: GeqfVngo9QT
2017-03-15 11:26:57 -04:00
Carsten "Tomcat" Book
dc7e8b78ef merge mozilla-inbound to mozilla-central a=merge 2017-04-26 08:41:31 +02:00
Robert Strong
f12e32e345 Bug 1359128 - Change restart string in new app update UI and in the about window to 'Restart to update &brandShorterName;'. r=Gijs 2017-04-25 16:06:43 -07:00
Gijs Kruitbosch
fd582ab3ad Bug 1354116 - add open, save, page setup, print buttons to main hamburger panel, r=mikedeboer
MozReview-Commit-ID: 7mq4QpsoSPK
2017-04-20 17:21:26 +01:00
Edouard Oger
dc86dd8e38 Bug 1334430 - Keep the Synced Tabs panel open when not opening a tab in the current tab. r=markh
MozReview-Commit-ID: 6KNGjtp1yPN
2017-04-22 21:24:20 -04:00
Florian Queze
6cc0b6e992 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Iris Hsiao
98e4b64dc4 merge mozilla-inbound to mozilla-central a=merge 2017-04-24 11:35:45 +08:00
Florian Queze
b7fa7f8a36 Bug 1358173 - Removing a non-existent panelUI notification shouldn't be expensive, r=Gijs. 2017-04-22 11:20:20 +02:00
Doug Thayer
14995dba7c Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102,rstrong
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ
2017-04-10 11:11:45 -07:00
Gijs Kruitbosch
af0d1ac03b Bug 1354071 - test that using subviews in the overflow panel works, and that non-subview panels also work, r=mikedeboer
MozReview-Commit-ID: 4mzMQ2BBYLs
2017-04-19 11:50:21 +01:00
Gijs Kruitbosch
dd0452dae2 Bug 1354071 - make sure context menu continues to work correctly, r=mikedeboer
MozReview-Commit-ID: DZiwogYyDBv
2017-04-19 11:21:12 +01:00
Gijs Kruitbosch
f60415b033 Bug 1354071 - use a panelmultiview for the overflow panel, r=mikedeboer
MozReview-Commit-ID: ERZuwC6eYQf
2017-04-18 12:16:47 +01:00
Kristina Kurshakova
5b7f774116 Bug 1344900 - Center remote tabs panel when tab syncing disabled. r=eoger
MozReview-Commit-ID: 1dBHLnP7OsE
2017-04-19 20:56:23 +02:00
Gijs Kruitbosch
9c8a81998e Bug 1354095 - add new {,private} window buttons to photon panel r=mikedeboer
MozReview-Commit-ID: EZ8GtGIPpNL
2017-04-11 22:52:13 +01:00
Jeff Walden
8d8bc5ba9a Bug 1350613 - Don't repeatedly create DateTimeFormat instances for the exact same set of options, but instead use cached formatters. r=markh
MozReview-Commit-ID: 6FteRerCH2x
2017-04-14 13:29:02 -07:00
Florian Queze
ddf0cda8da Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
4cd95d4a02 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00