Giter Site home page Giter Site logo

joplin-plugin-referencing-notes's People

Contributors

ambrt avatar cyingfan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

joplin-plugin-referencing-notes's Issues

After Joplin update, all notes with no backlinks include backlinks to themselves

Since upgrading to Joplin 2.13.8, I am experiencing an issue with Automatic Backlinks to note 3.0.3 where a note, if it doesn't have any backlinks, inserts a backlink section with itself listed as a backlink. If a note does have a backlink, it inserts the backlink section correctly.

I am not the only one with this issue; a thread has been created on the Joplin support discussion board discussing this.

I didn't have this issue with Joplin 2.12.19, but when I upgraded to Joplin 2.13.8, the issue manifested itself.

System details

Operating system
Windows

Joplin version
2.13.8

Desktop version info
Joplin 2.13.8 (prod, win32)

Client ID: cde4c37be9de46f8a08687eb5d825088
Sync Version: 3
Profile Version: 44
Keychain Supported: Yes

Revision: 604dcbc

Automatic Backlinks to note: 3.0.3
Emoji: 1.0.4
Markdown Prettier: 0.1.0
MultiMarkdown Table Tools: 1.1.0
Note Statistics: 1.0.4
Paste Special: 1.1.2
Plugin Bundle: 0.5.5
Search & Replace: 2.2.0
Templates: 2.4.0

Generate backlinks for links embedding sub-headings as well

Backlinks appear to only be generated for note level backlinks, not sub-heading backlinks.

e.g. the following link, which is generated by right clicking on a note and selecting "Copy markdown link", has backlinks generated by the plugin

[Deferred Works Planning](:/96aff681f2f34a90b305f1feeb1cf020)

e.g. the following link, which was generated by right clicking on an outline heading within the joplin-outline plugin, can be navigated to using the Joplin app but will not have backlinks generated by the plugin

[Deferred Works Planning#20210506 1300 Deferred Items Discussion](:/96aff681f2f34a90b305f1feeb1cf020#20210506-1300-deferred-items-discussion)

Can you please add support for sub-heading level back links to the plugin?

automatic layout adaptation is lost

The plugin itself works very nice. Thanks! I like the option to insert the backlinks also manually.

First I would like to mention that this plugin is not the only one with this "problem", but it is the only one were I do not understand the source of the problem.

Without the plugin:

  • the width of the side bar and the note bar is fixed (not visible in the examples)
  • when I adapt the joplin app window size, the editor and preview window take up all the rest of the window (also when only one of them is active) and line wrap is active so that no horizontal scrolling is needed
  • looks like this (there is also a scrollbar for vertical scrolling)
    image

With the plugin:

  • the width of the side bar and the note bar is fixed
  • when I adapt the joplin app window size the size of the editor and/or preview pane is fixed, either when enlarging or when making it (joplin window) smaller at a certain size even in both resizing directions
  • there exists an additional empty right hand pane
  • This
    image
    is a joplin window with only preview active and I just enlarged the joplin window but the preview pane does not adapt its size only the empty right hand pane gets wider.
  • What I like even less when I make it smaller in the horizontal direction, I can not see everything anymore (no scrollbar available)
    image

System
The plugins which seem not to have this problem do not display any icons and also no further information in an additional pane.
Backlinks v 2.0.5 (probably older versions as well)
The screen shots are from a mac (running MacOS 10.15)
Joplin 1.7.10 (prod, darwin)
Revision: fb1c876 (master)
and
Joplin 1.7.11 (prod, darwin)
Revision: f560563 (master)

But I have the same problem running Joplin 1.7.6 - 1.7.11 on a Win10 device.

Optionally filter out backlinks if already contained in note markdown?

Could we add the option to filter out backlinks from the preview if the linking note is already linked from the current note. This way the plugin can be used to (1) discover unknown/new links and (2) a long backlink list can be reduced/structured by moving backlinks into the note's markup body.

Link to anchors not working anymore when this plugin is enabled

I just noticed that links to anchors (for example [MY TEST](:/bbf237d9d58c4575a36ecbbd286fc845#test-link) are not working when this plugin is enabled. When clicking the link, it opens the note and very briefly jumps to the specified anchor (#test-link in this example), but then it immediately jumps to the beginning of the note.

Disabling this plugin solves the problem.

Tested on Joplin 2.13.8 (Debian Linux).

A new panel on the right of the markdown editor saying : "Change notes back and forth if you see this"

I discussed an issue after installing the "rich markdown" plugin on the joplin forum here.

A new panel on the right of the markdown editor saying : "Change notes back and forth if you see this" appeared and I was unable to go back to normal. (There is a picture in the forum's thread)

I uninstalled the automated backlink plugin finally and used the "Note lik system" plugin instead in order to keep the backlink feature.

Backlinks don't update if note is empty

Just starting to mess around with Joplin as well as this plugin. Looks pretty great!

One thing I noticed as I was testing it out was that if a note/todo had an empty body the backlinks in the rendered body did not update. I'm not sure if this is a bug specifically with this plugin or a consequence of how Joplin handles empty bodies, but I thought I'd mention it.

My use case for this is linking to a todo which sometimes starts without any notes in it but are added later.

Deprecated API

Hi, just FYI seems like this plugin is hitting a deprecated API and is no longer working as of (Pre-release) 2.2.4. More info: https://discourse.joplinapp.org/t/important-plugins-that-use-deprecated-apis-will-no-longer-work/19278

/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/Logger.js:188 18:59:53: joplin.plugins: Uncaught exception in plugin "joplin.plugin.ambrt.backlinksToNote": Error: "joplin.plugin.ambrt.backlinksToNote": No longer supported: joplin.settings.registerSetting() is deprecated in favour of joplin.settings.registerSettings() (deprecated since version 1.8)
    at Plugin.deprecationNotice (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/plugins/Plugin.js:117)
    at JoplinSettings.<anonymous> (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/plugins/api/JoplinSettings.js:85)
    at Generator.next (<anonymous>)
    at /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/plugins/api/JoplinSettings.js:8
    at new Promise (<anonymous>)
    at __awaiter (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/plugins/api/JoplinSettings.js:4)
    at JoplinSettings.registerSetting (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/plugins/api/JoplinSettings.js:84)
    at Object.<anonymous> (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/plugins/utils/executeSandboxCall.js:50)
    at Generator.next (<anonymous>)
    at /Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/plugins/utils/executeSandboxCall.js:8

Feature Request: Show Notebook Path in Backlinks

Hi,

It would be really nice if there was an option to include the notebook title as well as the note title. So for instance if you had a journal structure like so:

  • journal
    • 2021
    • 2022
      • 02 - February
      • 03 - March
        • 10 - Thursday

Then a backlink from that Thursday entry would be presented as "journal/2022/03 - March/10 - Thursday"

I don't really care what the separator is, I just used / by default

Ctrl+Alt+T is used for tagging function

I'd like to report that Ctrl+Alt+T is used for tagging function. It shows at menu Note/Tags. Wonder if you may pick another shortcut for ignore list? Thanks a lot!

No joplin icon in preview pane for automatic backlinks

Hello,

Thank you for your plugin, it's an invaluable addition for a zettelkasten-like workflow in Joplin :).

One thing I have noticed is that usually links that are internal to Joplin show a preceding icon that lets you know that the link won't make you leave the app. This icon appears if I generate the backlinks manually by clicking on the toolbar plugin icon (hand pointing to the left), but the icon doesn't appear in the automatically generated backlinks.

image

I am not sure if it is a bug, or it could be considered a feature, but I believe it would be important to include the link so it is consistent with the rest of joplin.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.