diff --git a/extensions/linear/CHANGELOG.md b/extensions/linear/CHANGELOG.md index 432ca4610b4b..12980b9537ed 100644 --- a/extensions/linear/CHANGELOG.md +++ b/extensions/linear/CHANGELOG.md @@ -1,8 +1,12 @@ # Linear Changelog +## [New icons] - 2024-04-26 + +- Use new Linear icons + ## [Fix Creating issue with milestone] - 2024-04-23 -Fix defining milestoneId in payload. +- Fix defining `milestoneId` in payload. ## [Enhanced Notifications] - 2024-03-12 diff --git a/extensions/linear/assets/dark/linear.svg b/extensions/linear/assets/dark/linear.svg index ce351096478a..186eab4ce1f1 100644 --- a/extensions/linear/assets/dark/linear.svg +++ b/extensions/linear/assets/dark/linear.svg @@ -1,6 +1,5 @@ - - - - - + + diff --git a/extensions/linear/assets/light/linear.svg b/extensions/linear/assets/light/linear.svg index d7ec5c3475c7..e2484d708286 100644 --- a/extensions/linear/assets/light/linear.svg +++ b/extensions/linear/assets/light/linear.svg @@ -1,6 +1,5 @@ - - - - - + + diff --git a/extensions/linear/assets/linear-app-icon.png b/extensions/linear/assets/linear-app-icon.png new file mode 100644 index 000000000000..b501bdea4e5c Binary files /dev/null and b/extensions/linear/assets/linear-app-icon.png differ diff --git a/extensions/linear/assets/linear.png b/extensions/linear/assets/linear.png deleted file mode 100644 index a05d67d22ab0..000000000000 Binary files a/extensions/linear/assets/linear.png and /dev/null differ diff --git a/extensions/linear/package-lock.json b/extensions/linear/package-lock.json index 0e437dc0a052..237f9a567748 100644 --- a/extensions/linear/package-lock.json +++ b/extensions/linear/package-lock.json @@ -9,7 +9,7 @@ "dependencies": { "@linear/sdk": "^13.0.0", "@raycast/api": "^1.64.5", - "@raycast/utils": "^1.12.1", + "@raycast/utils": "^1.14.1", "date-fns": "^3.1.0", "file-type": "^18.7.0", "lodash": "^4.17.21", @@ -217,9 +217,9 @@ } }, "node_modules/@raycast/api": { - "version": "1.64.5", - "resolved": "https://registry.npmjs.org/@raycast/api/-/api-1.64.5.tgz", - "integrity": "sha512-VmJQEJs5Bhp7T36TSkJWft1yPZ56CEq/iabORW5UtxrEf7dIurdF6wT91yEq0mCacCg1KKOy/WzS/T/0xvkiIw==", + "version": "1.72.1", + "resolved": "https://registry.npmjs.org/@raycast/api/-/api-1.72.1.tgz", + "integrity": "sha512-jTwwdh9kFN/bGOgtbU3Xnzer2VFyEdjaixoiV7PqJf5TSG4CEj1j/HCS1AIOd+X5TNRPv9EtjqBEpoE8bIlSxg==", "hasInstallScript": true, "dependencies": { "@types/node": "^20.8.10", @@ -278,19 +278,21 @@ } }, "node_modules/@raycast/utils": { - "version": "1.12.1", - "resolved": "https://registry.npmjs.org/@raycast/utils/-/utils-1.12.1.tgz", - "integrity": "sha512-fPv32qdWUVsasbRUcVdOpIstE3G6NiQnaZUduB2e+VO/ObTCMcnngnzrIC8HlTVmwtvMuUSz2yMeys161SJOng==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@raycast/utils/-/utils-1.14.1.tgz", + "integrity": "sha512-Trl24BkyZTxh3FTrJoOWMWu+NecI0At11saUnqubW1dl4CyxmaTFchloicWcNrCRKivAX/xiqda7w5jazTxEfw==", "dependencies": { "content-type": "^1.0.5", "cross-fetch": "^3.1.6", "dequal": "^2.0.3", "media-typer": "^1.1.0", "object-hash": "^3.0.0", - "signal-exit": "^4.0.2" + "signal-exit": "^4.0.2", + "stream-chain": "^2.2.5", + "stream-json": "^1.8.0" }, "peerDependencies": { - "@raycast/api": ">=1.52.0" + "@raycast/api": ">=1.69.0" } }, "node_modules/@raycast/utils/node_modules/signal-exit": { @@ -3703,6 +3705,19 @@ "node": ">=8" } }, + "node_modules/stream-chain": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/stream-chain/-/stream-chain-2.2.5.tgz", + "integrity": "sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==" + }, + "node_modules/stream-json": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/stream-json/-/stream-json-1.8.0.tgz", + "integrity": "sha512-HZfXngYHUAr1exT4fxlbc1IOce1RYxp2ldeaf97LYCOPSoOqY/1Psp7iGvpb+6JIOgkra9zDYnPX01hGAHzEPw==", + "dependencies": { + "stream-chain": "^2.2.5" + } + }, "node_modules/string_decoder": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", diff --git a/extensions/linear/package.json b/extensions/linear/package.json index e5ec06d315ca..9463009ed217 100644 --- a/extensions/linear/package.json +++ b/extensions/linear/package.json @@ -3,7 +3,7 @@ "name": "linear", "title": "Linear", "description": "Bring Linear to every corner of your Mac. Create, search, and modify your issues. Stay on top of your notifications in the menu bar.", - "icon": "linear.png", + "icon": "linear-app-icon.png", "owner": "linear", "access": "public", "author": "thomaslombart", @@ -116,7 +116,6 @@ "description": "Show unread notifications in the Menu Bar.", "mode": "menu-bar", "subtitle": "Linear", - "icon": "linear.png", "interval": "15m", "preferences": [ { @@ -225,7 +224,7 @@ "dependencies": { "@linear/sdk": "^13.0.0", "@raycast/api": "^1.64.5", - "@raycast/utils": "^1.12.1", + "@raycast/utils": "^1.14.1", "date-fns": "^3.1.0", "file-type": "^18.7.0", "lodash": "^4.17.21", diff --git a/extensions/linear/src/helpers/notifications.ts b/extensions/linear/src/helpers/notifications.ts index 5f8e818ec45d..1e2b893712d8 100644 --- a/extensions/linear/src/helpers/notifications.ts +++ b/extensions/linear/src/helpers/notifications.ts @@ -90,14 +90,6 @@ export function getNotificationTitle(notification: NotificationResult) { return notificationTitles[notification.type] || "Unknown notification"; } -export function getNotificationMenuBarIcon(unreadNotifications: NotificationResult[]) { - return { - source: { dark: "dark/linear.svg", light: "light/linear.svg" }, - tintColor: - unreadNotifications.length !== 0 ? { dark: "#5E6AD2", light: "#5E6AD2", adjustContrast: false } : undefined, - }; -} - export function getNotificationMenuBarTitle(unreadNotifications: NotificationResult[]) { return unreadNotifications.length !== 0 ? String(unreadNotifications.length) : undefined; } diff --git a/extensions/linear/src/unread-notifications.tsx b/extensions/linear/src/unread-notifications.tsx index 006ce7f22d61..8a5a0d37ec51 100644 --- a/extensions/linear/src/unread-notifications.tsx +++ b/extensions/linear/src/unread-notifications.tsx @@ -67,13 +67,13 @@ function UnreadNotifications() { return ( diff --git a/extensions/slack-status/CHANGELOG.md b/extensions/slack-status/CHANGELOG.md index 44fb85c51827..37e812ec754a 100644 --- a/extensions/slack-status/CHANGELOG.md +++ b/extensions/slack-status/CHANGELOG.md @@ -1,5 +1,9 @@ # Slack Status Change +## [Fix Slack icon] - 2024-04-26 + +- Make the Slack icon larger on the OAuth screen + ## [Set Slack status from Raycast's root search] - 2024-02-23 - You can now create quicklinks from the `Set Status` command making it possible to set your favorite Slack status from Raycast's root search. diff --git a/extensions/slack-status/package-lock.json b/extensions/slack-status/package-lock.json index b306f4573e60..d65dbdb444c6 100644 --- a/extensions/slack-status/package-lock.json +++ b/extensions/slack-status/package-lock.json @@ -8,7 +8,7 @@ "license": "MIT", "dependencies": { "@raycast/api": "^1.60.0", - "@raycast/utils": "^1.12.5", + "@raycast/utils": "^1.14.1", "@slack/web-api": "^6.4.0", "moment": "^2.29.1", "nanoid": "^5.0.5", @@ -290,9 +290,9 @@ } }, "node_modules/@raycast/api": { - "version": "1.66.2", - "resolved": "https://registry.npmjs.org/@raycast/api/-/api-1.66.2.tgz", - "integrity": "sha512-XwIJpgksAZFFqaCZ0CFbKIJvKP9nrIOxMneRNf6NXFqcGJVBtt5oXrx2j2g6ZBAOwsNxN/L2gQSaeL5WP0HgxQ==", + "version": "1.72.1", + "resolved": "https://registry.npmjs.org/@raycast/api/-/api-1.72.1.tgz", + "integrity": "sha512-jTwwdh9kFN/bGOgtbU3Xnzer2VFyEdjaixoiV7PqJf5TSG4CEj1j/HCS1AIOd+X5TNRPv9EtjqBEpoE8bIlSxg==", "hasInstallScript": true, "dependencies": { "@types/node": "^20.8.10", @@ -359,19 +359,21 @@ } }, "node_modules/@raycast/utils": { - "version": "1.12.5", - "resolved": "https://registry.npmjs.org/@raycast/utils/-/utils-1.12.5.tgz", - "integrity": "sha512-jE5clCfVI4YI3TZjHhTJfuUe4kZBRx13jju1uXoBgjVfKYqpDlgEfipQ2rlfucjjn0D4kghN8NRoMxvaVma0ew==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/@raycast/utils/-/utils-1.14.1.tgz", + "integrity": "sha512-Trl24BkyZTxh3FTrJoOWMWu+NecI0At11saUnqubW1dl4CyxmaTFchloicWcNrCRKivAX/xiqda7w5jazTxEfw==", "dependencies": { "content-type": "^1.0.5", "cross-fetch": "^3.1.6", "dequal": "^2.0.3", "media-typer": "^1.1.0", "object-hash": "^3.0.0", - "signal-exit": "^4.0.2" + "signal-exit": "^4.0.2", + "stream-chain": "^2.2.5", + "stream-json": "^1.8.0" }, "peerDependencies": { - "@raycast/api": ">=1.52.0" + "@raycast/api": ">=1.69.0" } }, "node_modules/@rushstack/eslint-patch": { @@ -2417,6 +2419,19 @@ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true }, + "node_modules/stream-chain": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/stream-chain/-/stream-chain-2.2.5.tgz", + "integrity": "sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==" + }, + "node_modules/stream-json": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/stream-json/-/stream-json-1.8.0.tgz", + "integrity": "sha512-HZfXngYHUAr1exT4fxlbc1IOce1RYxp2ldeaf97LYCOPSoOqY/1Psp7iGvpb+6JIOgkra9zDYnPX01hGAHzEPw==", + "dependencies": { + "stream-chain": "^2.2.5" + } + }, "node_modules/string-width": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", diff --git a/extensions/slack-status/package.json b/extensions/slack-status/package.json index 37fe13fa6b8c..1ff9708f9c50 100644 --- a/extensions/slack-status/package.json +++ b/extensions/slack-status/package.json @@ -36,7 +36,7 @@ ], "dependencies": { "@raycast/api": "^1.60.0", - "@raycast/utils": "^1.12.5", + "@raycast/utils": "^1.14.1", "@slack/web-api": "^6.4.0", "moment": "^2.29.1", "nanoid": "^5.0.5",