jensmtg / influx

An alternative backlinks plugin, which displays relevant and formatted excerpts from notes with linked mentions, based on the position of mentions in the notes' hierarchical structure (bullet level indentation).
MIT License
310 stars 14 forks source link

Doesn't show up on some pages #81

Open sawft99 opened 1 year ago

sawft99 commented 1 year ago

Describe the bug I have pages where the information doesn't show up anywhere on the bottom.

To Reproduce I am not sure how to reproduce. It just seems to be an issue in my vault I do have every thing to be included by default

Expected behavior All pages to have influx information

Screenshots The last line of my page where Influx should start to display but doesn't

SS1

Desktop (please complete the following information):

Additional context The page that is within my problem vault.

merrkry commented 1 year ago

Same here, back links only show in Live Preview and only shows in some pages.

cakechaser commented 1 year ago

For me it's not showing anything on the pages with a header embedded on another page with ![[...]] Could be the same thing in your vault.

For example in the scenario below it won't show any backlinks on Page 1 in Live Preview.

Page 1:

## Header
info

Page 2:

![[Page 1#Header]]
LaikeSF commented 1 year ago

I am having similar issues, but I do not have any backlinks in a header. With the new update to Obsidian to prevent memory leaks, the following error is now being thrown

p.js:1 Error: Plugin "influx" is not passing Component in renderMarkdown. This is needed to avoid memory leaks when embedded contents register global event handlers. at t.render (app.js:1:1255232) at t.renderMarkdown (app.js:1:1255013) at ApiAdapter.eval (plugin:influx:23434:47) at Generator.next (<anonymous>) at eval (plugin:influx:66:61) at new Promise (<anonymous>) at __async (plugin:influx:50:10) at ApiAdapter.renderMarkdown (plugin:influx:23432:12) at ApiAdapter.eval (plugin:influx:23492:38) at Generator.next (<anonymous>) t.render @ app.js:1 plugin:influx:23281 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'filter') at InlinkingFile.eval (plugin:influx:23281:37) at Generator.next (<anonymous>) at fulfilled (plugin:influx:53:24)

sawft99 commented 9 months ago

Another issue I notice. If I have page A and page B. Page A starts with a ! in the title. It links to page B and Influx completely disappears from the bottom portion of page B. Even after I remove the ! from the title it takes awhile to come back.

I think linking from a table also breaks it. If i have a table, vocabulary for example, and I link back to the original document where the definition came from, the original document loses the influx portion at the botto. If I cut everything in the vocab document the text returns in the original document. If i make a link in the vocab document such as [[originaldoc]] the full influx info will appear again in the original doc. If i then delete the [[originaldoc]] link in my vocab doc and then repaste my table back in, the influx info does not update on the original document and even shows the referenced link that no longer exists.

In both situations even after taking corrective measures the influx does not show up in reading mode.

ivan-lednev commented 9 months ago

The plugin's been abandoned. Check out an alternative implementation: https://github.com/ivan-lednev/better-search-views