Commit Graph
42 Commits
Author SHA1 Message Date
Gabriel Luong 682484e485 Bug 1390727 - Add a consistent style for all the no result messages in the inspector sidepanel. r=bgrins 2017-08-16 10:36:55 -07:00
Micah Tigley 745dec5691 Bug 1356474 - Add units tests for the Grid Outline component. r=gl
MozReview-Commit-ID: 85ZjxjkpIgU
2017-06-08 19:12:25 -06:00
Sebastian Hengst e1e4b358f1 Backed out changeset 955e237fc290 (bug 1356474) for frequently failing own test browser_grids_grid-outline-selected-grid.js. r=backout 2017-06-16 12:55:31 +02:00
Micah Tigley 17f48d4801 Bug 1356474 - Add units tests for the Grid Outline component. r=gl
MozReview-Commit-ID: 85ZjxjkpIgU
2017-06-08 19:12:25 -06:00
Phil Ringnalda 561bdb6f94 Backed out changeset ac1520300fc7 (bug 1356474) for failures in browser_grids_grid-outline-cannot-show-outline.js
MozReview-Commit-ID: 78R9AGsRIY5
2017-06-15 20:29:40 -07:00
Micah Tigley 35486539bf Bug 1356474 - Add units tests for the Grid Outline component. r=gl
MozReview-Commit-ID: 85ZjxjkpIgU
2017-06-08 19:12:25 -06:00
Gabriel Luong 14da02e097 Bug 1348004 - Display a new! indicator and a promote message bar to the layout panel. r=jdescottes 2017-06-14 00:52:03 -04:00
Micah Tigley f4745b546b Bug 1348471 - Display a message when the grid outline cannot effectively be fitted inside the layout panel. r=gl
MozReview-Commit-ID: 57cikdLW3IV
2017-05-24 19:40:07 -06:00
Carsten "Tomcat" Book 589de2602b Backed out changeset fc3bbe02ce7d (bug 1348471) for test failures in browser_misused_characters_in_strings.js 2017-05-30 08:21:53 +02:00
Micah Tigley 32f4253161 Bug 1348471 - Display a message when the grid outline cannot effectively be fitted inside the layout panel. r=gl
MozReview-Commit-ID: 57cikdLW3IV
2017-05-24 19:40:07 -06:00
Patrick Brosset e72105f5d4 Bug 1359759 - 2 - Clear React warnings in GridOutline and prevent re-renders; r=gl
Made the GridOutline component work with only 1 grid at a time.
It already did, but in a not so obvious way.

Removed the setState that happened during the render call to avoid
React warnings.

Cleaned up various data attribute to use the dataset property instead.

Removed the mouseover/out that controled the background color of the
highlighted cells. This now happens in CSS :hover, using currentColor.

Avoided React warnings related to missing "key" props.

Made changes to grid-inspector to avoid loops of re-renders when the
highlighter would highlight a cell on hover.
The component would wait for highlighter's events to dispatch store
actions. Instead, we dispatch them first, then when the events come, we
check if things have really changed! This way, the events will still have
effect if they come from the rule-view for instance, but not if they
come from the grid outline itself.

MozReview-Commit-ID: 6LK8B1P8iMU
2017-05-10 16:07:12 +02:00
Stanford Lockhart ee4b2ab911 Bug 1349691: Polish the grid inspector and layout tab. r=jdescottes
MozReview-Commit-ID: DPYqfcDRKcs
2017-03-29 17:31:46 -03:00
Micah Tigley e34c8d53a1 Bug 1347336 - Display grid line name and position in Grid Highlighter. r=gl
MozReview-Commit-ID: EbUKzd5zqaw
2017-04-11 13:31:22 -06:00
Micah Tigley 0d1979ca52 Bug 1343447 - Bug 1343447 - Maintain aspect ratio of grid outline. r=pbro
MozReview-Commit-ID: 97mdXIyDhSw
2017-03-24 14:01:09 -06:00
Stanford Lockhart c1147d5e72 Bug 940275 - Part 1: Add positioning properties to box model r=gl
MozReview-Commit-ID: AB5fREjDhsD
2017-02-28 18:18:28 -04:00
Micah Tigley 05154cc085 Bug 1337235 - Mouseover interaction for grid outline. r=gl
MozReview-Commit-ID: 4qZfle2lDMZ
2017-02-25 23:42:45 -07:00
Micah Tigley 007bb734d6 Bug 1308268 - Add a Grid Outline to layout panel. r=gl
MozReview-Commit-ID: 5BjnFGO5PmD
2017-02-22 22:58:56 -07:00
Julian Descottes a5f658a4d8 Bug 1338300 - part3: add colorpicker to update grid overlay color;r=gl
MozReview-Commit-ID: 5wgZCgx8J3u
2017-02-22 12:39:04 +01:00
Gabriel Luong ef04314fa3 Bug 1308263 - Part 3: Add a grid display setting for extending the grid lines infinitely. r=jryans 2016-11-29 19:38:08 +08:00
Gabriel Luong 9998deeabc Bug 1308260 - Part 7: Display a list of grid container elements and checkbox to toggle the grid highlighter for each grid in the CSS grid layout panel. r=jryans 2016-11-29 19:33:04 +08:00
Gabriel Luong 3f57dc6090 Bug 1308260 - Part 4: Pass the grids props into the layout components and only display the layout-no-grid element when no grids are present. r=jryans 2016-11-22 02:07:44 +08:00
Gabriel Luong 1468ec9e79 Bug 1315208 - Remove explicit call to ReactDOM.render in the LayoutView r=Honza 2016-11-12 22:00:48 +09:00
Carsten "Tomcat" Book acd503a64b Backed out changeset 487a5da50e56 (bug 1315208) for conflicting with autoland/mozilla-inbound to m-c merge 2016-11-11 16:39:11 +01:00
Gabriel Luong acef7d69d7 Bug 1315208 - Remove explicit call to ReactDOM.render in the LayoutView r=Honza 2016-11-11 01:31:13 +09:00
Gabriel Luong 9f48fd5235 Bug 1308227 - Add a CSS Grid accordion container to the layout panel r=jdescottes
MozReview-Commit-ID: ElJnsdJYXA
2016-10-14 20:31:04 -04:00
Gabriel Luong cced658201 Bug 1302496 - Refactor LayoutView to a Box Model component r=jdescottes 2016-09-13 16:35:16 -04:00
Gabriel Luong 37b7a1a2ce Backed out changeset 4329f53c9f9f Bug 1291638 r=gl 2016-09-16 16:53:22 -04:00
Fred Lin d8f79c1561 Bug 1291638 - Change color theme of box-model view. r=gl
MozReview-Commit-ID: AYhPUXV2tJZ
2016-08-17 13:12:37 +08:00
Gabriel Luong ba18865121 Bug 1289995 - Implement the basic design spec of the box model in the computed view r=bgrins
- Moves the computed view toolbar back to the top
- Removes the outline to the property name and values and the arrow beside the
property values in the computed view
- Use the compact form of the box model
- Hide the box model when filtering the computed view
2016-07-29 15:05:54 -04:00
Gabriel Luong c015790bb3 Bug 1288238 - Move the computed toolbar below the box model r=jdescottes 2016-07-22 14:24:19 -04:00
Gabriel Luong 48d32bdbbf Bug 1247729 - Move the box model panel into the computed styles panel r=jdescottes 2016-07-19 04:30:13 -04:00
Jan Odvarko 87d1b28082 Bug 1259819 - HTML Sidebar component. r=pbro 2016-07-15 09:59:21 +02:00
Julian Descottes bef2a31093 Bug 1271899 - inspector box-model: add div wrapper to close editors on click;r=gl
The XUL tabpanel can no longer receive userfocus to avoid scrollbars
stealing the focus. Editors are using the blur event to destroy
themselves, which was no longer working if a user click ended up on
the tabpanel element.

Add a wrapper inside the layout view panel taking
100% width and height to make sure clicks performed outside of the layout
container will trigger a blur event on a focused editor.

MozReview-Commit-ID: JmZluQ6LzFl
2016-05-30 13:30:06 +02:00
Astley Chen 87ae888917 bug 859301 : Part 2 - unprefix internal css files. r=dbaron
MozReview-Commit-ID: CRyp3zQxayh
2016-05-04 13:31:24 +08:00
Jan Odvarko 42325feefd Bug 1244054 - Firebug Theme, tools; r=bgrins,ntim
MozReview-Commit-ID: 2hsODdK4bdL
2016-04-06 17:32:18 +02:00
Matteo Ferretti 1824e57a3a Bug 1139187 - Allow moving and resizing elements in content; r=pbro
MozReview-Commit-ID: EmmFBXW22dk
2016-03-17 10:59:03 -04:00
Gabriel Luong a2839acbaa Bug 1252008 - Adjust the max-height of the media queries to make the Box model resizes properly r=pbro
MozReview-Commit-ID: 2qOAUeDCZ70
2016-03-03 12:55:12 -08:00
Wes Kocher 6eac39c97f Backed out changeset 71ffbfce853a (bug 1252008) because browser_rules_pseudo_lock_options.js is still busted
MozReview-Commit-ID: 3VFbz9ufoOU
2016-03-03 12:44:04 -08:00
Gabriel Luong 8cf400a51b Bug 1252008 - Adjust the max-height of the media queries to make the Box model resizes properly r=pbro 2016-03-03 09:54:09 -05:00
Gabriel Luong ad02d463b2 Bug 1238133 - Part 6: Make the layout view live inside the inspector panel frame r=bgrins 2016-01-26 11:17:48 -05:00
Julian Descottes 15657e23e2 Bug 1214177 - Restore pointer-events:normal in layout editor inputs. r=pbro 2016-01-20 01:31:52 +01:00
Gabriel Luong 5b57e27510 Bug 1237095 - Move the layout view into the Inspector directory r=pbro 2016-01-05 21:06:31 -08:00