fix: Add missing action icons
This commit is contained in:
@@ -27,7 +27,7 @@ export function NotificationActions({ notification, detailsTarget, mutate }: Not
|
||||
return (
|
||||
<ActionPanel>
|
||||
<Action.OpenInBrowser url={notificationHtmlUrl} />
|
||||
<Action.Push title="Show Details" target={detailsTarget} />
|
||||
<Action.Push title="Show Details" icon={Icon.AppWindowSidebarRight} target={detailsTarget} />
|
||||
<Action
|
||||
title="Delete Notification"
|
||||
icon={Icon.Trash}
|
||||
|
||||
@@ -23,7 +23,7 @@ export function NotificationTaskActions({ notification, detailsTarget, mutate }:
|
||||
return (
|
||||
<ActionPanel>
|
||||
<Action.OpenInBrowser url={notificationHtmlUrl} />
|
||||
<Action.Push title="Show Details" target={detailsTarget} />
|
||||
<Action.Push title="Show Details" icon={Icon.AppWindowSidebarRight} target={detailsTarget} />
|
||||
<Action
|
||||
title="Delete Notification"
|
||||
icon={Icon.Trash}
|
||||
@@ -44,7 +44,7 @@ export function NotificationTaskActions({ notification, detailsTarget, mutate }:
|
||||
/>
|
||||
<Action
|
||||
title="Complete Task"
|
||||
icon={Icon.Calendar}
|
||||
icon={Icon.CheckCircle}
|
||||
shortcut={{ modifiers: ["ctrl"], key: "c" }}
|
||||
onAction={() => completeTask(notification, mutate)}
|
||||
/>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Action, ActionPanel, Detail, Icon, List, getPreferenceValues, openExtensionPreferences } from "@raycast/api";
|
||||
import { GoogleMailNotificationListItem } from "./integrations/google-mail/listitem/GoogleMailNotificationListItem";
|
||||
import { Action, ActionPanel, Detail, List, getPreferenceValues, openExtensionPreferences } from "@raycast/api";
|
||||
import { TodoistNotificationListItem } from "./integrations/todoist/listitem/TodoistNotificationListItem";
|
||||
import { GithubNotificationListItem } from "./integrations/github/listitem/GithubNotificationListItem";
|
||||
import { LinearNotificationListItem } from "./integrations/linear/listitem/LinearNotificationListItem";
|
||||
@@ -23,7 +23,7 @@ export default function Command() {
|
||||
markdown={"API key incorrect. Please update it in extension preferences and try again."}
|
||||
actions={
|
||||
<ActionPanel>
|
||||
<Action title="Open Extension Preferences" onAction={openExtensionPreferences} />
|
||||
<Action title="Open Extension Preferences" icon={Icon.Gear} onAction={openExtensionPreferences} />
|
||||
</ActionPanel>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user