Added bgs on android ID + cleanup

Summary:
Paddings and alignments were improved also

changelog:
UIDebugger - Added ability to big grep search based on android ID if available

Reviewed By: lblasa

Differential Revision: D43159228

fbshipit-source-id: e2d7190ea2411e936ba065328bcc375c64619e8f
This commit is contained in:
Luke De Feo
2023-02-15 08:27:19 -08:00
committed by Facebook GitHub Bot
parent 96bed18df2
commit 25149cc8c9
3 changed files with 14 additions and 14 deletions

View File

@@ -40,17 +40,12 @@ export const IdentityInspector: React.FC<Props> = ({node}) => {
<IdentityValue title={node.name}>{node.name}</IdentityValue>
</Col>
</Row>
<Row gutter={4}>
<Col span="10">
<IdentityKey>Qualified name:</IdentityKey>
</Col>
<Col span="14">
<IdentityValue title={node.qualifiedName}>
{node.qualifiedName}
</IdentityValue>
</Col>
</Row>
<CodeInspector name={node.qualifiedName} tags={node.tags} />
<CodeInspector
name={node.qualifiedName}
tags={node.tags}
androidId={node.inlineAttributes['id']}
/>
</IdentityContainer>
);
};

View File

@@ -26,12 +26,16 @@ export const InspectorStyle = {
},
} as const;
export const RowStyle = {
marginTop: 4,
marginBottom: 4,
export const BottomBorder = {
borderStyle: 'solid',
borderColor: theme.dividerColor,
borderWidth: '0 0 1px 0',
};
export const RowStyle = {
...BottomBorder,
marginTop: 4,
marginBottom: 4,
} as const;
export const ObjectContainerStyle = {

View File

@@ -13,6 +13,7 @@ import {Tag} from '../../../../types';
type CodeInspectorProps = {
tags: Tag[];
name: string;
androidId?: string;
};
export const CodeInspector: React.FC<CodeInspectorProps> = () => {
return <></>;