Allow exploring all events in table view
Summary: This lets you debug when events go off screen Reviewed By: lblasa Differential Revision: D48395787 fbshipit-source-id: 51a6eb74fa0f61c34f25e86a6ee40bf5969379ee
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1bffe8bc6b
commit
22d1bc2552
@@ -78,20 +78,18 @@ export const FrameworkEventsInspector: React.FC<Props> = ({
|
||||
<Typography.Title level={3}>Event timeline</Typography.Title>
|
||||
|
||||
<Layout.Horizontal center gap padh="medium">
|
||||
{node.tags.includes('TreeRoot') && (
|
||||
<Tooltip title="Explore all tree events in table">
|
||||
<Button
|
||||
shape="circle"
|
||||
icon={<TableOutlined />}
|
||||
onClick={() =>
|
||||
onSetViewMode({
|
||||
mode: 'frameworkEventsTable',
|
||||
treeRootId: node.id,
|
||||
})
|
||||
}
|
||||
/>
|
||||
</Tooltip>
|
||||
)}
|
||||
<Tooltip title="Explore events in table">
|
||||
<Button
|
||||
shape="circle"
|
||||
icon={<TableOutlined />}
|
||||
onClick={() =>
|
||||
onSetViewMode({
|
||||
mode: 'frameworkEventsTable',
|
||||
nodeId: node.id,
|
||||
})
|
||||
}
|
||||
/>
|
||||
</Tooltip>
|
||||
<Dropdown
|
||||
overlayStyle={{minWidth: 200}}
|
||||
overlay={
|
||||
|
||||
Reference in New Issue
Block a user