lostintangent / wikilens

🔎 VS Code extension that provides a Roam/Obsidian-like markdown-based notetaking experience for github.dev and VS Code
https://aka.ms/wikilens
125 stars 8 forks source link

Page becomes unresponsive while rendering backlinks #34

Open unqueued opened 11 months ago

unqueued commented 11 months ago

On the latest versions of VSCode on Windows and macOS, this consistently happens.

I tried it with no other extensions.

I'm not sure exactly when this problem was introduced, or if anyone else is experiencing it.

But if a page would have backlinks, it appears to get stuck in a loop with an empty comment and then backlinks.

output

NdagiStanley commented 10 months ago

I'm experiencing the same issue. I've just installed the extension.

Any fix?

unqueued commented 10 months ago

@NdagiStanley Yes, see my linked PR which fixes it: https://github.com/lostintangent/wikilens/pull/35

unqueued commented 10 months ago

@NdagiStanley until it gets merged, you can build from my fork: https://github.com/unqueued/wikilens

In order to build with newer version of node, you need to do:


git clone https://github.com/unqueued/wikilens
cd wikilens
npm install
NODE_OPTIONS='--openssl-legacy-provider' npm package

The you can manually install the wikilens-0.0.6.vsix file into VSCode.

NdagiStanley commented 10 months ago

Great. Thank you, @unqueued. Also, thank you for the instructions, too. It works as expected now.

cc @lostintangent

NdagiStanley commented 10 months ago

@unqueued What did you use to make this gif?

unqueued commented 9 months ago

@NdagiStanley I used arcsine.chronicler https://github.com/arciisine/vscode-chronicler

NdagiStanley commented 9 months ago

Noted Thank you.