Commit Graph

33 Commits

Author SHA1 Message Date
J. Ryan Stinnett
1f81faff72 Bug 1338604 - Tell manager when custom devices are removed. r=gl
The action creator for removing custom devices calls the one for remove device
association directly, which skips the step of also messaging the manager.

I've made the simplest change to fix just this issue, which moves the message
sending into the action creator for this one case.  Bug 1332754 will apply the
same approach to other messages (they aren't causing issues yet since they are
not called from other action creators in the same way).

MozReview-Commit-ID: AICcT2vG1wl
2017-02-10 14:51:26 -06:00
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
J. Ryan Stinnett
86e623c22e Bug 1319950 - Wrap dPR state in object for consistency. r=gl
MozReview-Commit-ID: ERiDO14wGUz
2017-01-09 19:29:53 -06:00
Julian Descottes
6bc1ac086a Bug 1315922 - fix react/prop-types issues in client/responsive.html;r=jryans
MozReview-Commit-ID: LYLdsqLyU1K
2016-11-08 11:34:35 +01:00
Matteo Ferretti
ae8d32c927 Bug 1276971 - Adding UI to display and change the current DPI / DPR setting; r=gl,jryans
MozReview-Commit-ID: Dnb6OLhOvOK
2016-11-05 13:45:10 +01:00
J. Ryan Stinnett
1acc749efb Bug 1283453 - Add network throttling UI to RDM. r=gl
MozReview-Commit-ID: 9MYLXuhlT2F
2016-10-13 09:25:22 -05:00
Matteo Ferretti
db3385dfe5 Bug 1254388 - Apply touch simulation from selected device. r=ntim
MozReview-Commit-ID: De8lVrct0iZ
2016-09-13 16:28:15 +02:00
Matteo Ferretti
23614cda77 Bug 1254385 - Apply dPR from selected device; r=jryans
- dPR and media queries are now reflecting the selected device's dppx
- added unit test

MozReview-Commit-ID: 9634mleTwkS
2016-08-31 09:58:26 +02:00
Tim Nguyen
da8d0b13ed Bug 1254386 - Add user agent emulation to new RDM. r=jryans
MozReview-Commit-ID: EBWBJV20KLV
2016-08-23 01:51:17 -07:00
Benoit Chabod
515f31c74d Bug 1275559 - Handle asynchronous loading and errors for device list, r=jryans 2016-06-28 05:33:00 +02:00
Benoit Chabod
e45bb9e11a Bug 1269882 - Reload viewport when enabling touch simulation, r=jryans 2016-06-28 05:42:00 +02:00
Benoit Chabod
0fb671c694 Bug 1275520 - Improve RDM displayed device list preference. r=jryans 2016-06-22 09:41:00 -04:00
Benoit Chabod
f5f02a8d5b Bug 1258353 - Refactor devtools react components. r=janx 2016-05-17 11:55:49 -07:00
Gabriel Luong
cc8c7a4c03 Bug 1239459 - Toggle touch event simulation r=jryans 2016-05-11 23:39:04 -07:00
Phil Ringnalda
1515ed2c19 Back out 027b0144a1a6 (bug 1239459) for failures in responsive.html/test/browser/browser_menu_item_02.js
CLOSED TREE
2016-05-10 21:01:28 -07:00
Gabriel Luong
7d78c2ff51 Bug 1239459 - Toggle touch event simulation r=jryans 2016-05-10 17:09:55 -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
Matteo Ferretti
51e8cff855 Bug 1239464 - Close button for exiting the responsive design view; r=jryans
MozReview-Commit-ID: Fygjgc7FHzF
2016-03-04 01:21:19 -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
J. Ryan Stinnett
9f65f5255a Bug 1239437 - Stir in React and Redux. r=pbrosset,jlongster 2016-01-25 19:44:08 -06:00