Skip to content
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

Constant Autolinking #21

Open
asafshpigler opened this issue Jan 5, 2023 · 2 comments
Open

Constant Autolinking #21

asafshpigler opened this issue Jan 5, 2023 · 2 comments
Labels
🚀 Feature Something new, the plugin should do

Comments

@asafshpigler
Copy link

asafshpigler commented Jan 5, 2023

Is your feature request related to a problem? Please describe.
no problem, just greedy systems guy 🤩 this plugin is already amazing

Describe the solution you'd like
I would love to have an auto-link feature, which links keywords as I type along, same functionality, and different trigger, (without asking permission in popup)

Describe alternatives you've considered
🍪

Additional context
auto connecting automatically comes closest to an ACTUAL second brain. one that makes connections for you
I'm really excited about this idea

@asafshpigler asafshpigler added the 🚀 Feature Something new, the plugin should do label Jan 5, 2023
@GoulartNogueira
Copy link

GoulartNogueira commented Dec 23, 2023

My idea on how to implement this

MVP

  1. Use the current "Scan Note" feature.

  2. Trigger:

  • Manually (using a shortcut)
  • Schedule: Automatically trigger the function every X seconds / minutes on the current note.

Done 🎉


MVP Issues:

If I have a word that I don't want to link, it will keep spanning it over and over.

To solve this:

  • Increase the schedule period. (does not solve, but minimizes the issue)
  • Maybe it should "remember" to not link that again. But that requires some persistent memory and would drastically change the architecture of the project.

Instant solution:

We can already implement this MVP using a CRON on Scan Note.

@GoulartNogueira
Copy link

GoulartNogueira commented Dec 23, 2023

Another idea

To solve the MVP issues, we must scan only the latest changes on the current file.

  1. Adapt the function so it scans only a substring of the file.
    (For example, just one line.)

  2. Trigger:

  • At every new line break? (hitting enter)
  • At every new word?

Potential issues:

  • Complexity to adapt the scan functions
  • Will it work for copy-paste? / Imported files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 Feature Something new, the plugin should do
Projects
None yet
Development

No branches or pull requests

2 participants