Move DataInspector to flipper-plugin
Summary: This diff moves the rest of the DataInspector jungle to flipper-plugin. No actual improvements are made yet, but the code is decoupled from Electron and the legacy theming. For example by using Antd based context menus. Note that `ManagedDataInspector` is now rebranded `DataInspector`, as that is the only variation that should (and is) used publicly. For the interactionTracker removal, see next diff. SearchableDataInspector will be addressed in a next diff Reviewed By: passy Differential Revision: D27603125 fbshipit-source-id: 188bd000260e4e4704202ce02c7fc98319f0bc22
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9030a98c6e
commit
53c557f923
@@ -13,7 +13,7 @@ import {colors} from './colors';
|
||||
import ManagedTable from './table/ManagedTable';
|
||||
import FlexColumn from './FlexColumn';
|
||||
import Text from './Text';
|
||||
import ManagedDataInspector from './data-inspector/ManagedDataInspector';
|
||||
import {DataInspector} from 'flipper-plugin';
|
||||
import Input from './Input';
|
||||
import View from './View';
|
||||
import styled from '@emotion/styled';
|
||||
@@ -160,7 +160,7 @@ export class Console extends Component<Props, State> {
|
||||
columns: {
|
||||
command: {
|
||||
value: result.isSuccess ? (
|
||||
<ManagedDataInspector
|
||||
<DataInspector
|
||||
data={result.value}
|
||||
expandRoot={true}
|
||||
collapsed={true}
|
||||
|
||||
Reference in New Issue
Block a user