fix: Add missing action icons

This commit is contained in:
2024-02-05 14:25:57 +01:00
parent 84f4d0bd53
commit 1084559688
5 changed files with 9 additions and 6 deletions

View File

@@ -2,10 +2,13 @@
## [Unreleased]
## [0.1.3] - 2024-02-05
### Added
- Display Linear notification reason
- Display Linear project on notification item
- Add missing action icons
## [0.1.2] - 2024-02-01

View File

@@ -5,7 +5,7 @@
"description": "Manage your notifications in a single Universal Inbox",
"icon": "ui-logo-transparent.png",
"author": "dax42",
"version": "0.1.1",
"version": "0.1.3",
"categories": [
"Productivity"
],

View File

@@ -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}

View File

@@ -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)}
/>

View File

@@ -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>
}
/>