Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Update actions UI #62

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/app/src/pages/WebhookDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
DropdownDivider,
DropdownItem,
EmptyState,
Icon,
PageLayout,
PageSkeleton,
Spacer,
Expand Down Expand Up @@ -80,6 +81,11 @@ export const WebhookDetails: FC = () => {

const contextMenu = (
<Dropdown
dropdownLabel={
<Button variant='secondary' size='small'>
<Icon name='dotsThree' size={16} weight='bold' />
</Button>
}
dropdownItems={
<>
{contextMenuEdit}
Expand Down
9 changes: 7 additions & 2 deletions packages/app/src/pages/WebhooksList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,14 @@ export const WebhooksList: FC = () => {
actionButton={
canUser('create', 'webhooks') ? (
<Link href={appRoutes.newWebhook.makePath({})}>
<Button variant='secondary' size='mini' alignItems='center'>
<Button
variant='secondary'
size='mini'
alignItems='center'
aria-label='Add webhook'
>
<Icon name='plus' size={16} />
New
Webhook
</Button>
</Link>
) : undefined
Expand Down
Loading