Commit Graph

245 Commits

Author SHA1 Message Date
Gijs Kruitbosch
5acc1e4c34 Bug 1402929 - try to make overflow panel in customize mode easier to understand, r=mikedeboer
This moves the explanatory text from a pseudoelement to a real element,
and keeps only the image in a pseudoelement. It then uses a transitioned
opacity to fade that image in and out.

Because we need to fade this based on dragging items over the panel when
it's empty, it adds/removes a 'draggingover' attribute to handle the fade.

To cope with the extra element in the drag/drop container in customize mode,
this also makes the following changes:
- bail out of _onDragStart if there's no actual selected item.
- pick the fixed list in the panelHolder more reliably
- add a max-width to avoid the description making the panel wider

MozReview-Commit-ID: 9PEJSoJJ0Rp
2017-09-29 17:55:50 +01:00
Erica Wright
c684d54fd9 Bug 1401152 - Disable 'add to overflow menu' in the customize mode *palette* context menu for flexible space. r=Gijs
MozReview-Commit-ID: 5sQPsxVaVYz
2017-09-21 18:15:02 -04:00
Doug Thayer
9121fa9e3d Bug 1399177 - Pull label out of description in update popups r=Gijs
The margin rules for labels mean that if the See what's new link
starts its own line, the alignment looks off. We could override this,
but matching the styling for "Learn more" links, which get their own
line, seemed the better option.

MozReview-Commit-ID: 4WK9QtRMUQs
2017-09-20 15:58:25 -07:00
Gijs Kruitbosch
37078f0cfa Bug 1401754 - print in the hamburger panel should open preview on Windows/Linux but not suggest its shortcut is ctrl-p, r=dao
MozReview-Commit-ID: K4yQB6ejGRv
2017-09-20 22:54:38 +01:00
Mike de Boer
11c77ce47e Bug 1388422 - Remove all traces of the Customize Mode tip panel that no longer applies. r=Gijs
MozReview-Commit-ID: IffDnXEqooR
2017-09-20 14:37:53 +02:00
Mike de Boer
4e3ec7ecb7 Bug 1354536 - Part 3 - When the Library view is shown, populate a new 'Recent Highlights' section with at most 12 items as in about:newtab. r=Gijs
MozReview-Commit-ID: Bs1RzL0uewH
2017-09-19 16:17:16 +02:00
Drew Willcoxon
fcf6a6116b Bug 1400024 - Clicks on Zoom label in Photon app menu shouldn't close the menu. r=Gijs
MozReview-Commit-ID: 6zHRb27RBGw
2017-09-18 13:13:13 -07:00
Maya Messinger
352041761b Bug 1387846 change print button command to print instead of print preview on all platforms r=Gijs
MozReview-Commit-ID: IIxhCx4N362
2017-09-17 17:23:00 -04:00
Maya Messinger
71ee01a824 Bug 1398305 - reorder library dropdown items to spec r=Gijs
MozReview-Commit-ID: 912yc4MB5Ap
2017-09-14 11:37:22 -04:00
Doug Thayer
0810234799 Bug 1399172 - Add buttonhighlight to update doorhangers r=johannh
The highlight styling was recently added, causing update notification
buttons to both be styled as grey. This fixes that to style them as
blue again.

MozReview-Commit-ID: HDSA9NWBmIA
2017-09-12 10:08:01 -07:00
Gijs Kruitbosch
6d7a67d2e5 Bug 1397447 - add UI and automatic toggles to make the auto-hide functionality more seamless, r=mak
MozReview-Commit-ID: 9xN3N4aLwfv
2017-09-11 18:54:48 +01:00
Mike de Boer
95e3288ebd Bug 1390336 - Disable panelview keyboard navigation using arrow keys in the overflow panel, because input boxes can be in there. r=Gijs
MozReview-Commit-ID: DxZv8JDp2Q2
2017-09-08 11:53:11 +02:00
Sebastian Hengst
1197f950f9 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JSRVc5yW6Kx
2017-09-07 12:39:12 +02:00
Mike de Boer
bc72a05e37 Bug 1354532 - Part 1 - Implement a new Downloads view as part of the Library widget. r=Paolo
MozReview-Commit-ID: AqH8Zj8XCQl
2017-09-06 16:23:00 +02:00
Sebastian Hengst
2b4cc8b55c Backed out changeset f1d18c741b2c (bug 1354532) for eslint failure at browser/components/downloads/DownloadsCommon.jsm:671: Expected property shorthand. r=backout 2017-09-06 16:48:00 +02:00
Mike de Boer
6cb3ed2016 Bug 1354532 - Part 1 - Implement a new Downloads view as part of the Library widget. r=Paolo
MozReview-Commit-ID: AqH8Zj8XCQl
2017-09-06 16:23:00 +02:00
Gijs Kruitbosch
b4d8df2141 Bug 1374315 - fix CSS overflow:hidden in overflow panel and page action panel to fix rounded corners, r=mikedeboer
MozReview-Commit-ID: B5lHCaAMvyu
2017-08-15 13:03:33 +01:00
Gijs Kruitbosch
ee866e1d90 Bug 1393343 - move 'restore previous session' item into main menu and hide when auto-restore is enabled, r=mikedeboer
MozReview-Commit-ID: B3J9c936RL
2017-08-25 11:40:49 +01:00
Edouard Oger
3b9849fe32 Bug 1380377 part 2 - Make sure sync-illustration.svg doesn't get loaded on startup. r=markh
MozReview-Commit-ID: KWWCniJPU44
2017-08-16 14:12:42 -04:00
Robert Strong
a2b8b00a1d bug 1390032 - make it clear in the update doorhanger text that private browser windows and tabs are not restored. r=dothayer 2017-09-06 10:36:22 -07:00
Gijs Kruitbosch
4ee6535fb7 Bug 1389625 - clean up subview headers now that we use the title of the view instead, r=adw
The panel-subview-header is always hidden in photon (sub)panels, and so we now never show it.
Removing it avoids having to readd the old label for the bookmarks view, remove some unused
strings, and I noticed that we accidentally left the PanelUI-sidebar container which is
unused since bug 1360282.

MozReview-Commit-ID: 4ProWA1sUUs
2017-08-24 14:03:15 +01:00
Gijs Kruitbosch
f0685719c0 Bug 1389625 - change bookmarks menu button label, r=adw
MozReview-Commit-ID: CNNbbfJTnlG
2017-08-24 13:54:55 +01:00
Edouard Oger
39f0064047 Bug 1392280 - Backout bug 1380377. r=mconley
MozReview-Commit-ID: AOD2ol0yzaC
2017-08-22 11:07:47 -04:00
Sebastian Hengst
2936cd66fd Backed out changeset 1e7bcce37cfc (bug 1374315) for frequently failing browser-chrome's browser_ext_browserAction_popup_resize.js. r=backout a=backout on a CLOSED TREE
MozReview-Commit-ID: 4jM1IqGW8u5
2017-08-17 19:31:10 +02:00
Edouard Oger
a791b9b936 Bug 1380377 - Make sure sync-illustration.svg doesn't get loaded on startup. r=markh
MozReview-Commit-ID: KWWCniJPU44
2017-08-16 14:12:42 -04:00
Shane Caraveo
b701920ecd Bug 1388902 remove socialapi share, r=florian
MozReview-Commit-ID: Kcjugf3Ql6y
2017-08-16 08:54:21 -07:00
Gijs Kruitbosch
0d185e141a Bug 1374315 - fix CSS overflow:hidden in overflow panel and page action panel to fix rounded corners, r=mikedeboer
MozReview-Commit-ID: B5lHCaAMvyu
2017-08-15 13:03:33 +01:00
Mike de Boer
ab742ae535 Bug 1377968 - Add a tools section and subview to the Bookmarks subview inside the Library widget. r=Gijs
MozReview-Commit-ID: GqbUMbuvYoO
2017-08-15 13:34:41 +02:00
Gijs Kruitbosch
01f7270ba2 Bug 1381556 - adjust panel widths to accommodate longer/wider content, r=mikedeboer
MozReview-Commit-ID: 6bOoRIfttEy
2017-08-09 14:04:21 +01:00
Michael Kohler
f15ab23e9f Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code. r=dao
MozReview-Commit-ID: 8w1vfF2yRui
2017-08-08 12:09:14 +02:00
Sebastian Hengst
31742f9ca2 Backed out changeset 1538b0445eda (bug 1366555) for timing browser_locationBarCommand.js and browser_locationBarExternalLoad.js. r=backout 2017-08-05 23:15:16 +02:00
Michael Kohler
a220eeb86a Bug 1366555 - Remove MOZ_PHOTON_THEME ifdefs and non-MOZ_PHOTON_THEME code r=dao
MozReview-Commit-ID: CoHv9mKpAe
2017-08-05 20:37:40 +02:00
Gijs Kruitbosch
3a2a3f1870 Bug 1354117 - remove old panel code from panelUI and CSS, r=jaws
MozReview-Commit-ID: G6a9ybDxqki
2017-08-01 19:59:38 +01:00
Gijs Kruitbosch
a659b10191 Bug 1354117 - remove old panel code from CustomizableUI, add migration, r=jaws
MozReview-Commit-ID: 8kTETHR1P7X
2017-08-01 12:56:48 +01:00
Blake Winton
379d636c58 Bug 1354097 - Style and add a customize button to the overflow panel. r=Gijs, ui-r=shorlander.
MozReview-Commit-ID: 7bNQcVgb7wf
2017-07-17 10:18:40 -04:00
Mike de Boer
4ca08790fb Bug 1354533 - Update the History panelview when it's shown inside the new Library panel. r=mak
This patch changes the history-panelmenu widget with the following:
 - Move the Recently Closed Tabs and Recently Closed Windows lists into their own
   respective (nested) subview,
 - Add a Recent History header to list of history items,
 - Extend the list of Recent History items to be max 42 items long,
 - Share more code with Bookmarks panel,
 - Generalizes panelview event dispatching to always support customizable widgets.

MozReview-Commit-ID: 4sBR6llIvxG
2017-07-21 15:07:23 +02:00
Gijs Kruitbosch
6ea9acbc72 Bug 1354086 - switch overflow panel to using a photonpanelmultiview, allowing webextension views to specify their own size, r=mikedeboer
MozReview-Commit-ID: 1uHEKXsO8vh
2017-07-19 21:23:46 +01:00
Gijs Kruitbosch
283b2ca2ba Bug 1378427 - move context menus around, fix flickering in dynamic portion of the overflow menu for photon, r=jaws
Apparently the hover state of the combined buttons does not interact well with the menus unless they
share the same containing popup/panel. We broke that condition in bug 1354078. The expedient thing
is to simply move the popup back, and move it back and forth if/when the photon pref is flipped.
When removing the pref, we can simplify this by always putting the menu in the overflow panel.

I also noticed that we use the toolbar context menu in the dynamic portion of the overflow panel.
This has the same problem, and to fix it I switched us to using the same (panel) context menu in
the photon case. Doing this in the non-photon case won't help because the context menu will be in
a separate panel (namely the old hamburger panel) entirely.

MozReview-Commit-ID: 4neHMukTzHA
2017-07-07 15:54:13 +01:00
Adolfo Jayme Barrientos
e0b937ecc6 Bug 1376097 - Use ellipsis in hamburger menu’s Print command. r=dao
MozReview-Commit-ID: GCxBLJrmxfm
2017-07-05 22:22:50 -05:00
Paolo Amadini
fbbbec581b Bug 1377793 - Fix scrolling in the non-Photon main menu. r=Gijs
MozReview-Commit-ID: 88IsXDvYjyK
2017-07-05 16:28:58 +01:00
Gijs Kruitbosch
2a9b14d9e7 Bug 1369729 - use descriptionheightworkaround for sync panel, r=mconley,Paolo
MozReview-Commit-ID: LQg6NEgCqz2
2017-06-28 17:50:43 +01:00
Gijs Kruitbosch
de09c6e2b9 Bug 1376098 - remove page setup item from hamburger panel, r=dao
MozReview-Commit-ID: 8gzsCCboN7w
2017-06-30 18:40:25 +01:00
Mike de Boer
1c56ce043f Bug 1354159 - Part 3 - Add a Bookmarks button to the Library panel that shows a subview with a list of most recent bookmarks. r=Gijs,mak
This patch changes the Recent Bookmarks flow in browser-places.js to use the new
PlacesPanelview to provide a rich view that support drag and drop and context
actions.
A new button 'Search Bookmarks' was added, which prefills the urlbar with '* ',
which is a shortcut for searching bookmarks using the Awesomebar.

MozReview-Commit-ID: 1XlO8HMKEJs
2017-06-29 17:57:25 -07:00
Gijs Kruitbosch
3d4e2037bc 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
2017-06-28 16:55:44 +01:00
Carsten "Tomcat" Book
c36c001ff1 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
0f3604e1d5 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
2017-06-28 16:55:44 +01:00
Carsten "Tomcat" Book
1759948617 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
2b7c59625d 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
2017-06-28 16:55:44 +01:00
Carsten "Tomcat" Book
6fe821254f Backed out changeset bdcdd4d23c77 (bug 1373016) for bustage 2017-06-29 12:34:23 +02:00
Gijs Kruitbosch
b8854b1f47 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
2017-06-28 16:55:44 +01:00