raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.37k stars 3.07k forks source link

[Apple Notes] Feature request: Show notes that have linked to the current open notes (backlinks) #12978

Closed eatmoresushi closed 4 months ago

eatmoresushi commented 4 months ago

Extension

https://www.raycast.com/raycast/apple-notes

Description

Thank you so much for building the extension. Apple notes have supported linking to other notes feature. We now can have a noteA mentions (links) noteB. However, when we open noteB, there is no way we could know noteA has linked it. I'm wondering if this raycast extension could add a command to show all the note titles that linked to the current note.

Who will benefit from this feature?

Everyone using the extension

Anything else?

No response

raycastbot commented 4 months ago

Thank you for opening this issue!

🔔 @tumispro @ron-myers @mathieudutour @StevenRCE0 @SKaplanOfficial @tylerwince @thomaslombart @xilopaint you might want to have a look.

💡 Author and Contributors commands The author and contributors of `raycast/apple-notes` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
thomaslombart commented 4 months ago

We do have this feature:

CleanShot 2024-06-17 at 11 16 47@2x

Is that what you were looking for?

eatmoresushi commented 4 months ago

Hi @thomaslombart thanks for the reply. I didn't know you already implemented it under the Search Notes command. That's awesome, this is the feature I'm looking for. However, I'm wondering if it could show the backlinks of current opened note? If I'm already got the Apple Notes app open and viewing one note, and I would like to know if there's any backlink to this note, currently, I would have to search it on Raycast and then check. Is it possible to add one command like Show Backlinks of Current Note?

thomaslombart commented 4 months ago

It's possible to get the current note with some AppleScript, so it's probably doable to do so.

However, a command like Show Backlinks of Current Note looks too specific. We aim to keep the Apple Notes extension powerful yet simple, meaning the commands have to easily be discoverable and generic. Maybe it could be better to name it Current Note which would then open the detail view of a note within Raycast, and so you'd be able to see the backlinks and links from there. What do you think?

eatmoresushi commented 4 months ago

Yeah that would be wonderful!!! Really appreciate. It would be interesting to see what other info you guys come up to shown in this detail view. Only thing I can think of it's creation date and latest modification date, maybe a word count?

thomaslombart commented 4 months ago

We actually already have this view actually 😄

We show the following info on a note detail:

A word count would be nice to have!

eatmoresushi commented 4 months ago

Wow that's nice. Yeah I just saw it from Search Notes. That made me thinking, instead of adding a new command, do you think we could just add a new section in Search Notes at the top, called "current opened notes", so I could quickly check the note detail of my current note. (notes if multiple windows are opened). Or we could have a section just shows the details of current note on top of the lists. Which way do you think would be a better implementation?

thomaslombart commented 4 months ago

I think it's best to keep it as a separate command for various reasons:

eatmoresushi commented 4 months ago

Yes, you are right. That makes total sense. That would mean just a hotkey away from showing the details(includes backlinks) of current note, which is great and exactly what I wanted. Thank you so much for considering and being willing to add this request. It's been fantastic discussing the details with you.

thomaslombart commented 4 months ago

Thanks for the kind words! It's been a pleasure as well 😊