-
Notifications
You must be signed in to change notification settings - Fork 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
Bear extension #189
Bear extension #189
Conversation
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.
Awesome extension @hmarr 💣 💪 Happy to see
I found some small corrections to the naming convention
I will give it a spin a bit later to test it further 🚀
Co-authored-by: Per Nielsen Tikær <pnt@klean.dk>
Thanks for the suggestions! I've got a couple more minor changes coming and I'll get a video added too. |
I think this might be good to go now. It now searches by note text and title, prioritising title matches in the ranking. I also added a little demo video in the pull request description. |
Thanks for your contribution @hmarr 💪 It's a pleasure to test your extension 🚀 I just installed Bear and added two new notes, however, the modified time says "Modified in about 5 hours" |
Woah, where can I get one of those time machines?! (Good spot, I think I've fixed it in the last commit. It works for me now and I'm currently UTC+5, but would you mind checking it works for your timezone?) |
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.
Great @hmarr ✌️
Confirmed working with the new timezone
Just a last correction and I think we're good to go 🚀
Co-authored-by: Per Nielsen Tikær <pnt@klean.dk>
Thanks @pernielsentikaer! I applied your suggestion 👍 |
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.
Awesome work @hmarr
Thanks a lot for your contribution, it's much appreciated 💪 🚀
This is now ready to be shipped 🚢
Thanks for your help getting it over the line @pernielsentikaer 🤜🤛 |
* Bear extension * Apply suggestions from code review Co-authored-by: Per Nielsen Tikær <pnt@klean.dk> * Search Bear notes text as well as title * Bear ext: close database on unmount * Add README for Bear extensions * Bear: show modification times in local tz * Update extensions/bear/src/index.tsx Co-authored-by: Per Nielsen Tikær <pnt@klean.dk> * Bear: fix empty state flicker Co-authored-by: Per Nielsen Tikær <pnt@klean.dk>
Description
A small extension for opening Bear notes. You can also preview the note directly in Raycast by executing the secondary action. There are more commands that could be added — creating a new note, for instance. But this is a start!
Bear uses a sqlite database, and I also ran into #135 when trying to use the native sqlite libraries. I ended up using the WASM-compiled SQL.js, which is the same approach taken by #172.
Type of change
Screencast
raycast-bear-demo.mov
Checklist
512x512