Commit Graph

22 Commits

Author SHA1 Message Date
J. Ryan Stinnett
9feb55bdf0 Bug 1321675 - Add / remove custom devices in RDM. r=gl
MozReview-Commit-ID: E84zxk9n1AL
2017-02-03 17:09:01 -06:00
J. Ryan Stinnett
7bc8eb23cb Bug 1321675 - Rename removeDevice to removeDeviceAssoc. r=gl
MozReview-Commit-ID: 1UMUfX23zUb
2017-02-03 17:23:49 -06:00
J. Ryan Stinnett
414a61e09e Bug 1321675 - Add form to device modal for adding devices. r=gl
MozReview-Commit-ID: 2CejxW5VuqK
2017-01-30 18:26:12 -06:00
J. Ryan Stinnett
6fd0214526 Bug 1319950 - Only clear properties on resize if device is active. r=gl
If a device is active, remove it on resize.  If not, leave device properties
alone, so that things like touch simulation stay enabled when resizing without
a device.

MozReview-Commit-ID: Hvo6AdTJRBJ
2017-01-20 17:08:48 -06:00
J. Ryan Stinnett
3854af5904 Bug 1319950 - Use consistent naming with viewport properties. r=gl
Use "change" instead of "update" terminology with viewport properties.
Remove redundant "viewport" word from viewport changes.

MozReview-Commit-ID: HSFLiZyTVYy
2017-01-19 16:56:39 -06:00
Gabriel Luong
230810ace9 Bug 1319619 - Move RDM dimension controls above the viewport. r=jryans 2017-01-09 16:39:27 -05:00
J. Ryan Stinnett
4a427c4c1c Bug 1240913 - Swap page state between tabs and RDM viewports. r=ochameau
This change brings the following improvements to RDM:

* Page state is preserved when toggling in and out of RDM
* Session history is no longer manipulated, so the tool UI won't end up in the
  tab's back-forward page list.

Known issues to be fixed later:

* The browser UI is not hooked up to the viewport browser
* Restarting the browser with the tool open shows a confused, empty RDM

MozReview-Commit-ID: Fb6QRv6LYow
2016-05-18 19:27:29 -05:00
Benoit Chabod
f5f02a8d5b Bug 1258353 - Refactor devtools react components. r=janx 2016-05-17 11:55:49 -07:00
Gabriel Luong
993bf105f2 Bug 1241720 - Modal to promote devices from larger DB r=jyrans 2016-04-20 17:15:34 -04:00
Patrick Brosset
0b6dd780fc Bug 1264063 - 1 - Disable prop-types eslint rule and fix sort-comp errors; r=ochameau
MozReview-Commit-ID: 26NMWUWiKdi
2016-04-13 10:24:48 +02:00
J. Ryan Stinnett
88e1c2ef90 Bug 1240896 - Port browser_device_width.js to new RDM. r=gl
This also adds the test infrastructure for detecting content resizing.

MozReview-Commit-ID: H3bkAOkpMbs
2016-04-06 23:11:37 -05:00
J. Ryan Stinnett
5b0908d7ab Bug 1240896 - Load frame script into RDM browser. r=gl
MozReview-Commit-ID: BSaD8NwQCMF
2016-04-06 23:11:37 -05:00
Matteo Ferretti
85432af69e Bug 1239461 - Screenshot button for taking a screenshot of the current viewport; r=jryans
MozReview-Commit-ID: AMbzmf1uO0P
2016-03-30 22:31:37 +02:00
Gabriel Luong
febaaddf22 Bug 1241714 - Implement a selectable device list that applies settings to the viewport r=jryans 2016-03-21 14:48:31 -04:00
Wes Kocher
06658b75b4 Backed out changeset 1832f51ba1a5 (bug 1241714) for hitting the network
MozReview-Commit-ID: 2BUSSIto6N0
2016-03-08 16:44:16 -08:00
Gabriel Luong
478c9d906f Bug 1241714 - Implement a selectable device list that applies settings to the viewport r=jryans 2016-03-08 15:25:17 -08:00
J. Ryan Stinnett
08a9307352 Bug 1253781 - Better perf with pure render. r=gl
There are few easy wins that greatly improve our perf with React:

* Add the PureRenderMixin to pure components that always render the same thing
  given the same props and state.  This implements React's shouldComponentUpdate
  as a shallow equality check of the props and state, so render() will be
  skipped if they match the previous values.
* Change action dispatch functions so they are only created once instead of on
  each render().  If an outer component creates new functions for each render()
  call, then the PureRenderMixin equality check fails for only the new function
  instances, even though no data has changed.

MozReview-Commit-ID: D96X048nEF4
2016-03-07 12:00:43 -06:00
Gabriel Luong
edb078d94e Bug 1246807 - Implement Editable width / height inputs r=jryans 2016-02-22 13:15:26 -05:00
Gabriel Luong
dd5f225ab0 Bug 1241326 - Implement resize handles to change viewport size on drag r=jryans 2016-02-11 18:14:07 -05:00
Gabriel Luong
696e9f12f3 Bug 1239441 - Implement landscape / portrait button that rotates the viewport r=jryans 2016-02-10 17:07:17 -05:00
Gabriel Luong
bcf840043e Bug 1243403 - Implement the general design of the responsive design mode r=jryans 2016-01-27 17:51:57 -05:00
J. Ryan Stinnett
9f65f5255a Bug 1239437 - Stir in React and Redux. r=pbrosset,jlongster 2016-01-25 19:44:08 -06:00