Граф коммитов

18 Коммитов

Автор SHA1 Сообщение Дата
J. Ryan Stinnett 1566515dfe Bug 1321675 - Rename removeDevice to removeDeviceAssoc. r=gl
MozReview-Commit-ID: 1UMUfX23zUb

--HG--
extra : rebase_source : 369e0ede8a58af9242e1a98bb2b536efd4193794
2017-02-03 17:23:49 -06:00
J. Ryan Stinnett 0b62c18843 Bug 1321675 - Add form to device modal for adding devices. r=gl
MozReview-Commit-ID: 2CejxW5VuqK

--HG--
extra : rebase_source : 42fa45ea8f837762be8757fc6eaf694c2ffc93aa
2017-01-30 18:26:12 -06:00
J. Ryan Stinnett ebe862c29b 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

--HG--
extra : rebase_source : d8c49b55c01ca625b7e85c52c4be63175ba98fd0
2017-01-20 17:08:48 -06:00
J. Ryan Stinnett cb11da5ada 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

--HG--
rename : devtools/client/responsive.html/test/unit/test_change_viewport_device.js => devtools/client/responsive.html/test/unit/test_change_device.js
extra : rebase_source : ddf227119edc0e022d586cf46b448e1891d059aa
2017-01-19 16:56:39 -06:00
J. Ryan Stinnett dc14cc8a35 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 9d21b4e07d Bug 1258353 - Refactor devtools react components. r=janx 2016-05-17 11:55:49 -07:00
Gabriel Luong f01f20a78a Bug 1241720 - Modal to promote devices from larger DB r=jyrans 2016-04-20 17:15:34 -04:00
Patrick Brosset 2370f09cb0 Bug 1264063 - 1 - Disable prop-types eslint rule and fix sort-comp errors; r=ochameau
MozReview-Commit-ID: 26NMWUWiKdi

--HG--
extra : rebase_source : f8ab2c769c2e9a85bb6c2c5490e1ff0a4a59a6e0
extra : histedit_source : 24167a4663762206efced519364edafafd514d9e
2016-04-13 10:24:48 +02:00
J. Ryan Stinnett 6c4bc0307f 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 6379a92120 Bug 1240896 - Load frame script into RDM browser. r=gl
MozReview-Commit-ID: BSaD8NwQCMF
2016-04-06 23:11:37 -05:00
Matteo Ferretti d5459ac316 Bug 1239461 - Screenshot button for taking a screenshot of the current viewport; r=jryans
MozReview-Commit-ID: AMbzmf1uO0P

--HG--
rename : devtools/client/responsive.html/components/utils/l10n.js => devtools/client/responsive.html/utils/l10n.js
rename : devtools/client/responsive.html/components/utils/moz.build => devtools/client/responsive.html/utils/moz.build
extra : transplant_source : A%97_%C1d%AC%09%7C%E3%7F%0D%BCWl%8C%92V%09%1E%03
2016-03-30 22:31:37 +02:00
Gabriel Luong 9186b6ac79 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 8cd1d52715 Backed out changeset 1832f51ba1a5 (bug 1241714) for hitting the network
MozReview-Commit-ID: 2BUSSIto6N0
2016-03-08 16:44:16 -08:00
Gabriel Luong 2c9726ca15 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 3094c5d8e4 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 0843c76b88 Bug 1241326 - Implement resize handles to change viewport size on drag r=jryans 2016-02-11 18:14:07 -05:00
Gabriel Luong 598883d5e8 Bug 1239441 - Implement landscape / portrait button that rotates the viewport r=jryans 2016-02-10 17:07:17 -05:00
J. Ryan Stinnett 291fcf80ac Bug 1239437 - Stir in React and Redux. r=pbrosset,jlongster 2016-01-25 19:44:08 -06:00