-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add grab-a-cursor extension #16009
base: main
Are you sure you want to change the base?
Add grab-a-cursor extension #16009
Conversation
- fix: correct title case in package.json - fix: remove unused imports and fix ESLint issues - screenshot + readme edits - jest testing + better error handling - documentation - past to the app + change extension icon + fixes - reset frequently used actions accessible all the time - filtering - favorites + icons changes - fix section sorting logic + new icons - new icon + cursor management + update display preferences - Add \'Most Frequently Added\' section + organize sections + polish icons - fixed colours and svgs - v1 - Initial commit
Congratulations on your new Raycast extension! 🚀 Due to our current reduced availability, the initial review may take up to 10-15 business days 🎄 Once the PR is approved and merged, the extension will be available on our Store. |
This pull request has been automatically marked as stale because it did not have any recent activity. It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi 👋
Thanks for your contribution 💪
I have now tested your extension, and I have some feedback ready for you:
- Could you add at least one screenshot of the extension
I'm looking forward to testing this extension again 🔥
Request a new review when you are ready. Feel free to contact me here or at Slack if you have any questions.
icon={Icon.HeartDisabled} | ||
title="Remove from Favorites" | ||
onAction={() => onRemoveFavorite(cursor)} | ||
shortcut={{ modifiers: ["cmd"], key: "u" }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shortcut={{ modifiers: ["cmd"], key: "u" }} | |
shortcut={Keyboard.Shortcut.Common.Pin} |
Can we use the default Raycast one?
icon={Icon.Heart} | ||
title="Add to Favorites" | ||
onAction={() => onFavorite(cursor)} | ||
shortcut={{ modifiers: ["cmd"], key: "f" }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shortcut={{ modifiers: ["cmd"], key: "f" }} | |
shortcut={Keyboard.Shortcut.Common.Pin} |
Can we use the default Raycast one?
@@ -0,0 +1,108 @@ | |||
import { ActionPanel, Action, Grid, Icon } from "@raycast/api"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { ActionPanel, Action, Grid, Icon } from "@raycast/api"; | |
import { ActionPanel, Action, Grid, Icon, Keyboard } from "@raycast/api"; |
|
||
return ( | ||
<Action.Paste | ||
title={`Paste in ${activeApp?.name || "Active App"}`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we mention SVG
<ActionPanel.Section> | ||
<Action.CopyToClipboard | ||
content={cursor.content} | ||
title={`Copy ${cursor.name}`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we mention SVG
<ActionPanel.Section title="Display Size"> | ||
{currentDisplaySize !== "small" && ( | ||
<Action | ||
icon={Icon.AppWindowGrid3x3} | ||
title="Small" | ||
shortcut={{ modifiers: ["cmd", "shift"], key: "1" }} | ||
onAction={() => onDisplaySizeChange("small")} | ||
/> | ||
)} | ||
{currentDisplaySize !== "medium" && ( | ||
<Action | ||
icon={ | ||
currentDisplaySize === "small" | ||
? Icon.AppWindowGrid3x3 | ||
: Icon.AppWindowGrid2x2 | ||
} | ||
title="Medium" | ||
shortcut={{ modifiers: ["cmd", "shift"], key: "2" }} | ||
onAction={() => onDisplaySizeChange("medium")} | ||
/> | ||
)} | ||
{currentDisplaySize !== "large" && ( | ||
<Action | ||
icon={ | ||
currentDisplaySize === "small" || | ||
currentDisplaySize === "medium" | ||
? Icon.AppWindowGrid2x2 | ||
: Icon.AppWindowGrid3x3 | ||
} | ||
title="Large" | ||
shortcut={{ modifiers: ["cmd", "shift"], key: "3" }} | ||
onAction={() => onDisplaySizeChange("large")} | ||
/> | ||
)} | ||
</ActionPanel.Section> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be confusing, I'd rather just have it in preferences - would that be okay?
We can always add an action to make it faster to change
<Action
onAction={() => openExtensionPreferences()}
title="Open Extension Preferences"
icon={Icon.Gear}
shortcut={{ modifiers: ["cmd", "shift"], key: "," }}
/>
Description
Browse, search, and copy SVG cursors directly from Raycast. Perfect for designers, developers, and content creators who need quick access to cursor assets.
Screencast
Checklist
npm run build
and tested this distribution build in Raycastassets
folder are used by the extension itselfREADME
are placed outside of themetadata
folder