Move "Api Keys" listing to filterable table (#12117)

* Move 'Api Keys' listing to filterable table

* Add context menu
Allow copying new keys
This commit is contained in:
Tom Moor
2026-04-19 18:12:32 -04:00
committed by GitHub
parent 7b182f9038
commit 69e8aac4f1
11 changed files with 381 additions and 26 deletions
+6 -4
View File
@@ -1,5 +1,5 @@
import { observer } from "mobx-react";
import { WebhooksIcon } from "outline-icons";
import { PlusIcon, WebhooksIcon } from "outline-icons";
import * as React from "react";
import { useTranslation, Trans } from "react-i18next";
import type WebhookSubscription from "~/models/WebhookSubscription";
@@ -35,10 +35,12 @@ function Webhooks() {
{can.createWebhookSubscription && (
<Action>
<Button
type="submit"
value={`${t("New webhook")}`}
type="button"
onClick={handleNewModalOpen}
/>
icon={<PlusIcon />}
>
{`${t("New webhook")}`}
</Button>
</Action>
)}
</>