Commit Graph
86 Commits
Author SHA1 Message Date
Jason Laster eed4e8538e Revert "Backed out changeset 6439938f550c (bug 1504057) for ESlint failure on WebReplayPlayer.js. CLOSED TREE"
This reverts commit 2347809c10e196d1372508067d6e7b300724f21a.
2018-11-08 11:49:13 -05:00
Brindusan Cristian cba66be57a Backed out changeset 6439938f550c (bug 1504057) for ESlint failure on WebReplayPlayer.js. CLOSED TREE 2018-11-08 18:39:05 +02:00
Jason Laster 2baabde95d Bug 1504057 - The timeline should show console messages. r=bhackett
Tags:

Differential Revision: https://phabricator.services.mozilla.com/D11274
2018-11-08 11:20:14 -05:00
Jason Laster b595b0a8f0 Revert "Backed out changeset 33f8860558aa (bug 1504213) for dt failures in e.g. devtools/client/shared/test/browser_dbg_addon-console.js"
This reverts commit 2304cfd3401cd6bacee52b7b462717539282a1fd.
2018-11-02 15:40:32 -04:00
Margareta Eliza Balazs 09a81a3849 Backed out changeset 33f8860558aa (bug 1504213) for dt failures in e.g. devtools/client/shared/test/browser_dbg_addon-console.js CLOSED TREE 2018-11-02 18:57:05 +02:00
Jason Laster 6c28b64f55 Bug 1504213 - Migrate the timeline to the toolbox. r=bhackett
Reviewers: bhackett

Tags:

Bug #: 1504213

Differential Revision: https://phabricator.services.mozilla.com/D10719
2018-11-02 11:48:54 -04:00
Julian Descottes 4b1defa420 Bug 1488660 - Fix devtools tab reordering in RTL locales;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D6910
2018-10-19 08:00:27 +00:00
Florens Verschelde 803d0219cf Bug 1499987 - Add an active state to toolbox SVG icons; r=gl
- Update 'Pick an element' icon with bigger arrow, background in active state
- Update 'Pick an accessible element' icon with pixel-fitted design, background in active state
- Update 'RDM' icon with background in active state
- Use context-stroke to enable design changes, instead of a different URL, to avoid a visual glitch

Differential Revision: https://phabricator.services.mozilla.com/D9113
2018-10-19 15:31:26 +00:00
Mark Banner 3d6aaad3f5 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
Florens Verschelde 77d92f4fe4 Bug 1488012 - Update devtools frame picker button; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D4820
2018-10-16 17:42:43 +00:00
Gabriel Luong becc8fb549 Bug 1494162 - Part 43: Lazy load createPortal to avoid creating the children of the MenuButton. r=birtles 2018-10-04 15:46:23 -04:00
Gabriel Luong 597a89060d Bug 1494162 - Part 48: Lazy load getUnicodeUrl in ToolboxToolbar. r=pbro 2018-10-04 08:52:44 -04:00
Gabriel Luong 4431a93051 Bug 1494162 - Part 46: Lazy load openDocLink and assert in MeatballMenu. r=jdescottes 2018-10-03 09:38:00 -04:00
Gabriel Luong 31269cb159 Bug 1494162 - Part 44: Use refs instead of findDOMNode. r=pbro 2018-10-02 12:22:32 -04:00
Gabriel Luong a944cfd364 Bug 1494162 - Part 35: Lazy load MenuButton, MenuItem, and MenuList components in ToolboxTabs. r=jdescottes
These Menu components are only needed when we show the chevron.
2018-10-01 15:30:21 -04:00
Mantaroh Yoshinaga f269d6778b Bug 1476549 - Part 4. Make the frame button to MenuButton. r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D6353
2018-09-20 06:54:39 +00:00
Mantaroh Yoshinaga 03f9be3f55 Bug 1476549 - Part 2. Change the several functions to the local function of ToolboxToolbar. r=jdescottes
This patch will move the global functions of ToolboxToolbar to its local
function. As a result of this changes, each function can refer 'props' from
'this' scope.

Differential Revision: https://phabricator.services.mozilla.com/D4631
2018-09-20 03:57:43 +00:00
Daisuke Akatsuka 37d4e764b7 Bug 1469075 - Part 1: Save tabs order preference with hidden tools. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D5118
2018-09-03 18:11:13 +09:00
yulia 1c18ac0dd0 Bug 1447490 - replace GCLI toolbox buttons with highlighters and appropriate actors; r=ochameau
GCLI has been handling the state of our buttons as well as managing shared highlighters.
Since the gcli removal, we no longer share the rulers and measure with any other UI, so a location
for shared state is no longer needed.

Differential Revision: https://phabricator.services.mozilla.com/D3506
2018-09-03 14:54:04 +00:00
Michael Ratcliffe 608cabca8c Bug 1487385 - Add key prop to MenuItem call r=nchevobbe
Fixes this warning every time the toolbox is opened:

"Warning: Each child in an array or iterator should have a unique "key" prop.

Check the render method of `ToolboxTabs`. See https://fb.me/react-warning-keys for more information.
    in MenuItem (created by ToolboxTabs)
    in ToolboxTabs (created by ToolboxToolbar)
    in div (created by ToolboxToolbar)
    in ToolboxToolbar (created by ToolboxController)
    in ToolboxController"

Differential Revision: https://phabricator.services.mozilla.com/D4671
2018-08-30 13:24:52 +00:00
Yura Zenevich db7967b711 Bug 1482454 - Display a "New" indicator to promote the accessibility panel. r=gl
MozReview-Commit-ID: 4T9a0Rxw2db
2018-08-22 10:23:19 -04:00
Mantaroh Yoshinaga 6fb25cb49c Bug 1477367 - Close the popup menu before changing the panel to options panel. r=birtles
Pressing the F1 key make the toolbox panel to options panel, However, popup menu
doesn't closed at the moment. This patch will close the popup menu in this case.

Differential Revision: https://phabricator.services.mozilla.com/D2897
2018-08-08 02:13:38 +00:00
Brian Birtles bcd72af7fa Bug 1478563 - Re-use function objects in MeatballMenu; r=jdescottes
To avoid needless re-renders due to props changing object identity.

Differential Revision: https://phabricator.services.mozilla.com/D2641
2018-08-02 10:09:11 +09:00
Brian Birtles 128622e480 Bug 1474234 - Add keys for MeatballMenu and MenuItem children; r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D2639
2018-08-02 09:41:47 +09:00
Brian Birtles 6ea878d6f3 Bug 1473211 - Stop using string concatenation for string IDs in MeatballMenu; r=jdescottes
Using the full string each time, although more verbose, allows us to easily
search for string IDs and see where they are used.

Differential Revision: https://phabricator.services.mozilla.com/D2590
2018-08-01 13:26:53 +00:00
Brian Birtles a9a5980300 Bug 1478819 - Make Meatball Menu items use title case; r=flod
As per: https://design.firefox.com/photon/copy/capitalization.html#platform-styles

Differential Revision: https://phabricator.services.mozilla.com/D2591
2018-08-01 06:34:31 +00:00
Boris Zbarsky 3af9dccacb Bug 1476145 part 4. Stop using getInterface(nsIDOMWindowUtils) in devtools. r=bgrins 2018-07-24 19:47:41 -04:00
Mantaroh Yoshinaga 019c5becf2 Bug 1474221 - Part 2. Make the chevron menu to be doorhanger menu. r=birtles
This patch will make the chevron menu to doorhanger menu and modify some tests
which related with this chevron menu.

MozReview-Commit-ID: BkdVHgRlHIw
2018-07-20 15:58:35 +09:00
Brian Birtles bc6a945158 Bug 1461522 - Switch meatball menu to a doorhanger; r=jdescottes
MozReview-Commit-ID: BHBJqiwOfHW
2018-06-28 15:16:09 +09:00
Brian Birtles db6cf6584e Bug 1461522 - Update comments in ToolboxToolbar.js; r=jdescottes
MozReview-Commit-ID: 18EJzeao8Xq
2018-06-28 15:14:53 +09:00
J. Ryan Stinnett cdaab6fba4 Bug 1472366 - Remove listeners in ToolboxTabs on unmount. r=mantaroh
ToolboxTabs can leave some listeners still bound after unmount leading to errors
during test runs.

Differential Revision: https://phabricator.services.mozilla.com/D1892
2018-07-03 01:52:25 +00:00
J. Ryan Stinnett 969d6f83ae Bug 1466534 - Centralize DevTools link handling. r=jdescottes
This adds a `openContentLink` helper meant for any link controlled by web
content.  If there is an associated toolbox open, the toolbox's tab is used to
supply a triggering principal for the link.

MozReview-Commit-ID: 45l5yAPGpZr
2018-06-11 23:42:19 -07:00
Yura Zenevich 6badd76f86 Bug 1453093 - move accessible actor instantiation and panel tab highlighting into tool startup component. r=ochameau
MozReview-Commit-ID: F02RgSyupUQ
2018-06-08 13:24:20 -04:00
Julian Descottes 82711b9a8f Bug 1454696 - Run eslint --fix for prefer-const;r=yulia
MozReview-Commit-ID: F6xUXCgdRE4
2018-06-01 12:36:09 +02:00
Mantaroh Yoshinaga 789d970ebe Bug 1456056 - Part 3. Use the grid layout to a toolbar in order to display only the chevron button and the controls element if devtool's width is narrow. r=jdescottes,nchevobbe
This patch will apply the grid layout to the toolbar.
If devtools's width is narrow, we expected that devtool display chevron and the
controls elements only(i.e. chevron and meatball and close button).
In order to display these button, a wrapper of toolbar will use grid layout.

Basically, this patch define grid columns as follow:

------------------------------------------------
| Picker |  tooltabs  |  commands |   controls  |
|  auto  | 26px ~ 1fr |    auto   |  max-content|
------------------------------------------------

We can disable the picker and command buttons, in this case, a toolbar will
stretch the tooltabs width by using grid-column-start/end.

MozReview-Commit-ID: ByY2qt2xhAg
2018-05-31 10:25:29 +09:00
Mantaroh Yoshinaga ad7f3b8912 Bug 1456056 - Part 2. Display chevron button only if the devtool width is narrow.r=jdescottes
This patch will allow that all buttons which accessing the tool panel is
overflowed. i.e. toolbar will display chevron button only.

MozReview-Commit-ID: GbKbAhtpYt7
2018-05-31 10:23:36 +09:00
Mantaroh Yoshinaga 721a537224 Bug 1456056 - Part 1. Improve the performance of toolbar tabs overflow. r=jdescottes
This patch will two impprove performances:

 * Remove unnecesarry reflow by using the DOMWindowUtils.getBoundsWithoutFlushing().
   This is a tiny performance improvement. Previous code will reflow on each
   tab width caclculation.

 * Change requestIdleCallback's timeout to 100ms.
   If user resize the devtool's width over time, overflow calculation will occur
   every 300ms. This patch will reduce this delay.

MozReview-Commit-ID: FxZuK0wGxHk
2018-05-31 10:22:31 +09:00
Mantaroh Yoshinaga 134a1468ca Bug 1455462 - Part 3. Use zoom value when showing popup menu. r=jdescottes
The openPopupAtScreen() use the zoomed css coordinate value as position value,
devtools's caller of this function use css pixel value without zoom. So position
of popup will missaligned if zooming out/in the devtool panel.

MozReview-Commit-ID: 4vvEssO41bO
2018-05-11 09:08:09 +09:00
Daisuke Akatsuka e13c159c05 Bug 1457067 - Part 1: Implement so as to toggle the options panel if click 'Settings' on the meatball menu. r=jdescottes
MozReview-Commit-ID: 3ST6EtMuA2F
2018-05-11 07:35:22 +09:00
Miguel Useche 93f930f18c Bug 1452060 - CamelCase all React component inside client framework folder. r=jdescottes 2018-05-06 14:16:17 -04:00
Julian Descottes 955839009b Bug 1458591 - remove unused toolbar propType;r=jryans
MozReview-Commit-ID: 8e85Fw4PLNQ
2018-05-02 20:52:41 +02:00
Julian Descottes a6379e59da Bug 1458591 - Use most recent chrome window for DevTools link helper;r=jryans
MozReview-Commit-ID: 8n5tT8qbAiU
2018-05-02 20:23:53 +02:00
Daisuke Akatsuka 88db160207 Bug 1456849 - Part 1: Re-arrange the tool tabs if the visibility of command tools are changed. r=jdescottes
MozReview-Commit-ID: EzUfqRUdK6I
2018-04-29 10:52:10 +09:00
Daisuke Akatsuka bc37f9f468 Bug 1455573 - Part 2: Correspond to the extension tool tab. r=jdescottes
MozReview-Commit-ID: 34Qm2CENXiV
2018-04-27 06:29:04 +09:00
Brian Birtles 16f90b712f Bug 1454298 - Add utm_source and utm_medium parameters to DevTools menu links; r=jryans
MozReview-Commit-ID: BVn1DXBdaMY
2018-04-25 10:01:52 +09:00
Brian Birtles f6c3e54651 Bug 1455443 - Convert dock menu options to a checkbox list; r=jryans
This also fixes the grouping so that the checkboxes appear before the separator
as per the mockup here:

  https://mozilla.invisionapp.com/share/M5G8OO1ZVE4#/screens

MozReview-Commit-ID: FfVNzPHEk43
2018-04-24 13:22:02 +09:00
Michael Ratcliffe 2cd66f01bc Bug 1441070 - Instrument toolbox panel navigation with event telemetry r=yulia
This is pretty simple... finding the best locations for the probes was the
struggle here.

In order to land these probes before the freeze the test for these events will
be created as part of bug 1456073.

MozReview-Commit-ID: 7hIfbD3wQ1I
2018-04-19 12:09:28 +01:00
Mark Banner 37c400e98f Bug 1455581 - Enable ESLint rules no-undef and no-unused-vars for devtools/client/framework/. r=jdescottes
MozReview-Commit-ID: IGwI0JkIDkf
2018-04-20 12:17:40 +01:00
Daisuke Akatsuka fb7122a52a Bug 1226272 - Part 3: Handle overflowed tabs. r=jdescottes
MozReview-Commit-ID: 77V2VIbIp0l
2018-04-19 18:48:53 +09:00
Daisuke Akatsuka 25ec2e93e8 Bug 1226272 - Part 2: Implement saving and loading the tabs order preference. r=jdescottes
MozReview-Commit-ID: JoVcnPwvVW7
2018-04-19 18:46:55 +09:00