refactor(sqllab): Separate left panel outside of tab container (#36360)

This commit is contained in:
JUST.in DO IT
2025-12-08 11:44:31 -08:00
committed by GitHub
parent 8a00badf45
commit 8d04c33adf
22 changed files with 819 additions and 463 deletions

View File

@@ -165,24 +165,6 @@ const SqlEditorTabHeader: FC<Props> = ({ queryEditor }) => {
</>
),
} as MenuItemType,
{
key: '3',
onClick: () => actions.toggleLeftBar(qe),
'data-test': 'toggle-menu-option',
label: (
<>
<IconContainer>
<Icons.VerticalAlignBottomOutlined
iconSize="l"
css={css`
rotate: ${qe.hideLeftBar ? '-90deg;' : '90deg;'};
`}
/>
</IconContainer>
{qe.hideLeftBar ? t('Expand tool bar') : t('Hide tool bar')}
</>
),
} as MenuItemType,
{
key: '4',
onClick: () => actions.removeAllOtherQueryEditors(qe),