Move changes toggle before mini chat
This commit is contained in:
@@ -2015,9 +2015,7 @@ export const Header: React.FC<HeaderProps> = ({
|
|||||||
return <React.Fragment key={tab.id}>{tabButton}</React.Fragment>;
|
return <React.Fragment key={tab.id}>{tabButton}</React.Fragment>;
|
||||||
};
|
};
|
||||||
|
|
||||||
const desktopSidebarActions = (
|
const desktopChangesPanelAction = !isVSCode ? (
|
||||||
<>
|
|
||||||
{!isVSCode ? (
|
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
<button
|
<button
|
||||||
@@ -2038,7 +2036,10 @@ export const Header: React.FC<HeaderProps> = ({
|
|||||||
<p>{t('header.actions.toggleChangesPanel')}</p>
|
<p>{t('header.actions.toggleChangesPanel')}</p>
|
||||||
</TooltipContent>
|
</TooltipContent>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
) : null}
|
) : null;
|
||||||
|
|
||||||
|
const desktopSidebarActions = (
|
||||||
|
<>
|
||||||
{showPlanTab && (
|
{showPlanTab && (
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
<TooltipTrigger asChild>
|
<TooltipTrigger asChild>
|
||||||
@@ -2224,6 +2225,7 @@ export const Header: React.FC<HeaderProps> = ({
|
|||||||
percentIconClassName="h-5 w-5"
|
percentIconClassName="h-5 w-5"
|
||||||
/>
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
|
{desktopChangesPanelAction}
|
||||||
<HeaderIconActionButton
|
<HeaderIconActionButton
|
||||||
visible={showMiniChatHeaderAction}
|
visible={showMiniChatHeaderAction}
|
||||||
title={isNewSessionDraftOpen ? t('header.actions.newMiniChat') : t('header.actions.openSessionMiniChat')}
|
title={isNewSessionDraftOpen ? t('header.actions.newMiniChat') : t('header.actions.openSessionMiniChat')}
|
||||||
|
|||||||
Reference in New Issue
Block a user