diff --git a/static/app/views/dashboards/dashboardChatPanel.tsx b/static/app/views/dashboards/dashboardChatPanel.tsx index 74dd88cce94632..44288c553ba871 100644 --- a/static/app/views/dashboards/dashboardChatPanel.tsx +++ b/static/app/views/dashboards/dashboardChatPanel.tsx @@ -3,6 +3,7 @@ import {useTheme} from '@emotion/react'; import styled from '@emotion/styled'; import {Alert} from '@sentry/scraps/alert'; +import {FeatureBadge} from '@sentry/scraps/badge'; import {Button} from '@sentry/scraps/button'; import {InputGroup} from '@sentry/scraps/input'; import {Container, Flex, Stack} from '@sentry/scraps/layout'; @@ -111,19 +112,25 @@ export function DashboardChatPanel({ margin="0 auto" style={{zIndex: theme.zIndex.dropdown, marginBottom: '24px'}} > - {hasHistory && ( + setIsHistoryExpanded(prev => !prev)} aria-expanded={isHistoryExpanded} priority="transparent" + disabled={!hasHistory} > {t('Conversation')} ({blocks.length}) - + {hasHistory && ( + + )} - )} + + + + {hasHistory && isHistoryExpanded && ( {blocks.map((block, index) => (