Skip to content

Commit 6121f89

Browse files
committed
feat: scaffold for new buttons
1 parent 59fac4b commit 6121f89

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

static/app/views/issueList/pages/dynamicGrouping.tsx

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import {
3131
IconClock,
3232
IconClose,
3333
IconCopy,
34+
IconEllipsis,
3435
IconFire,
3536
IconFix,
3637
IconSeer,
@@ -520,6 +521,34 @@ function ClusterCard({
520521
{t('View All Issues') + ` (${cluster.group_ids.length})`}
521522
</Button>
522523
</Link>
524+
<DropdownMenu
525+
items={[
526+
{
527+
key: 'resolve',
528+
label: t('Resolve'),
529+
onAction: () => {},
530+
},
531+
{
532+
key: 'archive',
533+
label: t('Archive'),
534+
onAction: () => {},
535+
},
536+
{
537+
key: 'dismiss',
538+
label: t('Dismiss'),
539+
onAction: () => {},
540+
},
541+
]}
542+
trigger={triggerProps => (
543+
<Button
544+
{...triggerProps}
545+
size="sm"
546+
icon={<IconEllipsis size="sm" />}
547+
aria-label={t('More actions')}
548+
/>
549+
)}
550+
position="bottom-end"
551+
/>
523552
</CardFooter>
524553
</CardContainer>
525554
);

0 commit comments

Comments
 (0)