Skip to content

Add goodlinks extension#17335

Merged
raycastbot merged 19 commits intoraycast:mainfrom
nicolas-marien:ext/goodlinks
Mar 4, 2025
Merged

Add goodlinks extension#17335
raycastbot merged 19 commits intoraycast:mainfrom
nicolas-marien:ext/goodlinks

Conversation

@nicolas-marien
Copy link
Contributor

@nicolas-marien nicolas-marien commented Feb 26, 2025

Description

Interact w/ GoodLinks.

  • List unread
  • Save clipboard
  • Open random link

Screencast

Video: Introducing GoodLinks

Checklist

- chore: add readme
- chore: add changelog
- chore: add screenshot
- fix: lint
- chore: rename command
- feat: add random link command
- chore: remove unused types
- feat: list links
- chore: ensure application is installed
- feat: initial commit
@raycastbot raycastbot added the new extension Label for PRs with new extensions label Feb 26, 2025
@raycastbot
Copy link
Collaborator

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.

@nicolas-marien nicolas-marien marked this pull request as draft February 26, 2025 08:15
@nicolas-marien nicolas-marien marked this pull request as ready for review February 26, 2025 08:19
@pernielsentikaer pernielsentikaer self-assigned this Mar 3, 2025
@pernielsentikaer
Copy link
Collaborator

@greptileai can you do the initial review while I test the extension 😊

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR adds a new GoodLinks extension for Raycast with commands to save links from clipboard, list unread links, and open random links from the GoodLinks app.

  • The description for random-link command in package.json is incomplete, missing what it opens a random link "from"
  • The starred property in src/utils/types.ts is typed as string but appears to be used as a boolean in the codebase
  • The openLink function in src/utils/url-scheme.ts doesn't encode the URL parameter, which could cause issues with special characters
  • The open function in src/list-unread.tsx should be wrapped in a try/catch block to handle potential errors
  • Missing empty state handling in src/list-unread.tsx when no unread links are found, which could lead to UI flicker

💡 (4/5) You can add custom instructions or style guidelines for the bot here!

16 file(s) reviewed, 10 comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Collaborator

@pernielsentikaer pernielsentikaer left a 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:

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.

nicolas-marien and others added 4 commits March 3, 2025 13:55
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Per Nielsen Tikær <per@raycast.com>
Co-authored-by: Per Nielsen Tikær <per@raycast.com>
Co-authored-by: Per Nielsen Tikær <per@raycast.com>
@nicolas-marien
Copy link
Contributor Author

Thanks @pernielsentikaer 🤘
I'll make some adjustments and get back to you.

@nicolas-marien
Copy link
Contributor Author

@pernielsentikaer I made some changes.
Let me know if that's fine by you 😄

@pernielsentikaer
Copy link
Collaborator

@greptileai can you check again

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

(updates since last review)

This PR continues development of the GoodLinks extension, with several issues still needing attention for better reliability and user experience.

  • The README.md has a duplicate line for "Open random link" with inconsistent naming (GoodLink vs GoodLinks)
  • The showMustBeInstalledToast in isApplicationInstalled.ts should use showFailureToast from @raycast/utils for consistency
  • The command function in random-link.ts should have a more descriptive name and include try/catch for the open call
  • Since there are view commands in package.json, a metadata folder with screenshots should be added per store guidelines
  • The List component in list-unread.tsx should use isLoading to avoid empty state flicker

16 file(s) reviewed, 11 comment(s)
Edit PR Review Bot Settings | Greptile

@pernielsentikaer
Copy link
Collaborator

Can you check a last time @nicolas-marien

nicolas-marien and others added 4 commits March 4, 2025 09:23
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Copy link
Collaborator

@pernielsentikaer pernielsentikaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi 👋

Looks good to me, approved 🔥

@nicolas-marien
Copy link
Contributor Author

Thank you @pernielsentikaer

@raycastbot raycastbot merged commit 1350fb0 into raycast:main Mar 4, 2025
2 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2025

Published to the Raycast Store:
https://raycast.com/nicolas-marien/goodlinks

@raycastbot
Copy link
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new extension Label for PRs with new extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants