Skip to content
Snippets Groups Projects
Commit 20278b25 authored by Marcos Pieras's avatar Marcos Pieras Committed by Leonardo Christino
Browse files

feat: adds rawjson to list and enables rawjson copy

parent e4da2e2c
No related branches found
Tags v1.50.0
1 merge request!134feat: adds rawjson to list and enables rawjson copy
Pipeline #133380 passed
......@@ -9,6 +9,7 @@ const options = {
PaohVis: '',
SemanticSubstratesVis: '',
MatrixVis: '',
RawJSONVis: '',
};
export function Recommender({ onClick }: Props) {
......
......@@ -6,17 +6,11 @@ import { SettingsContainer } from '@graphpolaris/shared/lib/vis/components/confi
import { Input } from '@graphpolaris/shared/lib/components/inputs';
export interface RawJSONVisProps {
showDataTypes: boolean;
showObjectSize: boolean;
enableClipboard: boolean;
theme: string;
iconStyle: string;
}
const configuration: RawJSONVisProps = {
showDataTypes: false,
showObjectSize: false,
enableClipboard: false,
theme: 'bright:inverted',
iconStyle: 'circle',
};
......@@ -30,9 +24,7 @@ export const RawJSONVis = React.memo(({ data, configuration }: VisualizationProp
style={{ padding: '20px', flexGrow: 1 }}
theme={configuration.theme}
iconStyle={configuration.iconStyle}
displayDataTypes={configuration.displayDataTypes}
displayObjectSize={configuration.displayObjectSize}
enableClipboard={configuration.enableClipboard}
enableClipboard={true}
/>
);
});
......@@ -62,24 +54,6 @@ const RawJSONSettings = ({
options={['circle', 'square', 'triangle']}
onChange={(val) => updateSettings({ iconStyle: val })}
/>
{/* <Input
type="boolean"
label="Show data types"
value={configuration.showDataTypes}
onChange={(val) => updateSettings({ showDataTypes: val })}
/>
<Input
type="boolean"
label="Show object size"
value={configuration.showObjectSize}
onChange={(val) => updateSettings({ showObjectSize: val })}
/>
<Input
type="boolean"
label="Enable clipboard"
value={configuration.enableClipboard}
onChange={(val) => updateSettings({ enableClipboard: val })}
/> */}
</SettingsContainer>
);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment