react-native/Libraries
Jared Forsyth 15907419f3 [ReactNative] refactor the inspector
Summary:
The `InspectorOverlay` component was getting unwieldy, so I broke it into three components:

- Inspector
- InspectorOverlay
- InspectorPanel

and added @flow types.

The inspector was also living under the `ReactIOS` directory, and I moved it
up into the `Libraries` directory, as the inspector will soon be usable [on
Android](https://phabricator.fb.com/D2138319).

All features of the inspector should remain functional, with the addition of
one feature:

- you can toggle "touch to inspect" by tapping the "Inspect" button at the
  bottom of the inspection panel. When inspection is disabled, the panel remains, but you can interact with
  the app normally without touches being intercepted

@public

Test Plan:
Open the inspector:

- touch to inspect things, verify that margin, padding, size and position are
  reported correctly, and that the component hierarchy is navigable.
- tap the "Inspect" button, and verify that you can interact with the app
  normally.

{F22548949}

[Video of toggling inspection](https://www.latest.facebook.com/pxlcld/mrs9)
2015-06-11 13:49:54 -08:00
..
ActionSheetIOS [ReactNative] Fix analyze errors on oss 2015-04-24 08:28:35 -08:00
AdSupport [ReactNative] Fix analyze errors on oss 2015-04-24 08:28:35 -08:00
Animation [ReactNative] Remove AnimationUtils tests 2015-05-29 15:24:47 -08:00
AppRegistry [ErrorMessage] Change error message when app is not registered 2015-05-31 13:14:02 -08:00
AppStateIOS [RN|madman] init AppStateIOS.currentState with 'active' 2015-06-11 13:22:16 -08:00
ART Fixed deployment targets for React iOS submodules 2015-06-10 06:16:15 -08:00
BatchedBridge [ReactNative] Revert async exports changes to MessageQueue + test 2015-06-09 14:25:32 -08:00
CameraRoll [CameraRoll] support fetching videos from the camera roll 2015-06-01 15:57:32 -08:00
Components Add map type property (standard, satellite, hybrid) to MapView. 2015-06-11 10:53:41 -08:00
CustomComponents [AdsManager] Improve animation configurations 2015-06-10 23:35:52 -08:00
Device
Fetch [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
Geolocation [GeoLocation] invalidate timer after success or error callback 2015-05-26 14:59:14 -08:00
Image Removed nullability attributes until Infer supports them 2015-06-11 10:39:29 -08:00
Inspector [ReactNative] refactor the inspector 2015-06-11 13:49:54 -08:00
Interaction InteractionManager: DEV warning for possibly unclosed handles 2015-05-20 16:54:03 -08:00
JavaScriptAppEngine [ReactNative] Allow uploading native files (e.g. photos) and FormData via XMLHttpRequest 2015-06-09 12:27:05 -08:00
LinkingIOS Fixed deployment targets for React iOS submodules 2015-06-10 06:16:15 -08:00
NativeApp [ReactNative] Add "RCTNativeAppEventEmitter" 2015-05-15 16:57:18 -08:00
Network [ReactNative] Fix racing condition on RCTDataManager 2015-06-11 10:44:05 -08:00
Picker Removed deprecated RCT_EXPORT + code paths 2015-06-05 09:58:25 -08:00
PushNotificationIOS [ReactNative] PushNotificationIOS listener Map 2015-06-11 13:43:36 -08:00
RCTTest [ReactNative] Revert async exports changes to MessageQueue + test 2015-06-09 14:25:32 -08:00
react-native [react_native] JS files from D2127018: [react_native] Add uiexplorer app 2015-06-08 03:28:35 -08:00
ReactIOS [ReactNative] refactor the inspector 2015-06-11 13:49:54 -08:00
ReactNative [Flow] Fix or suppress react-native github errors for Flow v0.12.0 2015-06-10 13:34:19 -08:00
RKBackendNode [ReactNative] clean lint in all of Libraries/ 2015-05-19 13:47:04 -08:00
Settings Fixed deployment targets for React iOS submodules 2015-06-10 06:16:15 -08:00
Storage Make AsyncStorage types match the implementations 2015-05-01 18:26:11 -08:00
StyleSheet [ReactNative] Revert D2134877 2015-06-08 13:49:28 -08:00
Text Fixed text update on OSS 2015-06-01 08:44:11 -08:00
Utilities [Flow] Fix or suppress react-native github errors for Flow v0.12.0 2015-06-10 13:34:19 -08:00
vendor [Touchable] Add custom delay props to Touchable components 2015-06-03 12:57:28 -08:00
Vibration [ReactNative] Fix analyze errors on oss 2015-04-24 08:28:35 -08:00
WebSocket [ReactNative] Make JavaScript executors bridge modules 2015-06-09 15:40:55 -08:00
Promise.js