[Discussion] Compatibility issues #438
Replies: 18 comments
-
Thanks for such a detailed discussion.
The note links(zotero://note/). You'll no longer be able to open these links, no matter where they are(notes or outside markdown files). However, the links are still stored in your notes and you would be able to access them once you have the plugin re-installed. If you use Zotero<6.0.14, you'll also not be able to view math equations in notes. Updating to the latest version of Zotero would solve this.
A lot of. Another core feature, the note template, only uses Zotero prefs to store the templates and does not rely on other Zotero features. All features related to the note template, like the quick note and bi-directional link, will not be affected by future updates of Zotero. I also maintain a note line parser to build the heading structures, find cursor positions, and decide where to insert the contents. This also uses pure JS and does not rely on Zotero features. The export function relies on the turndown, which is also used by Zotero.
Those UI features, like the note link preview and the workspace layout, are most likely to be affected by UI changes but are also the easiest to recover.
No. Just notice the templates will not be synced by Zotero and you have to copy them if you start from a pure new Zotero installation. The syncing settings are not shared between devices.
Everything besides the note links will continue working.
Yes. If you prefer to process the notes in markdown format, you could export linked notes as separate files and the
The zotero://select can only select the item in your library, while the zotero://note open it directly. We want to open the note if we click the note link, rather than jump to the collection view and have to open it manually. The note link also enables us to open the note in the preview pane of workspace tab, the heading indexing, and support other features like preview, embed, rename, and export. The code of opening a note link is quite simple and independent of other features. As long as Zotero still use protocol handler to process links like zotero://select, we'll be able to use the note links in the same way. Adding it to the Zotero is absolutely better. Currently, this plugin is still in progress and we might have more parameters in the note links. So I think it is not the time to add a possibly unmatured feature to Zotero itself. I'm not the first to create a new type of links. The Zotfile creates a open PDF link and it is finally accepted as a Zotero format in Zotero 6. If there are enough users, arguing to the Zotero team that we should make it a Zotero standard would be more convincing. Best, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Many thanks for this conversation! Thinking through the fundamentals from early on will contribute to this plugin becoming a vital Zotero plugin for years to come, I hope. A few comments:
I sincerely hope that Better Notes would not interfere with native Zotero features. At the moment the Alt+F10 does not work as expected while editing a (Better) note. Instead, it modifies the level of the heading. Breaks my work flow for underlining (Alt+F10, then Tab a couple of times).
Is this what will really happen, if removing better-notes?
For me it works as expected with the first link to be updated after opening Zotero. With the following ones I have the same problem as mjthoraval.
I do not mind clicking twice. But it is annoying that the menu box opens up too easily - even when the cursor is just placed at the end or the beginning of the link. I wish I would have to always right-click separately to open the menu box. Otherwise it becomes cumbersome to navigate in a note.
I am afraid I am of the opposite opinion. I am already well under way trying Better Notes as a Zettelkasten editor. I use my Main Note as an outline. Instead of link colours indicating different link types I would prefer the option to make link colours follow their position as headlines in an outline hierarchy. Which leads to a question: In general, how much of the settings inside Better Notes could be made user-definable? E.g. the colours of the headlines depending on their outline level. |
Beta Was this translation helpful? Give feedback.
-
Wow, thanks for your reply!
I'm sure the Zotero should not crash if the plugin is removed. Only a popup to notify you to select a way to open the link. Like this: The only way to have it work without this plugin would be to add this zotero://note to the Zotero itself. That's what we'll try to do in the future.
This suggestion seems to be reasonable. I'll update the note link format to the zotero://select type at some proper time, with support for both new and old formats. This change would be imperceptible.
This could be discussed in a new thread. The click twice to open a link is the standard behavior of all links in notes, so I guess the Zotero team must have some reason to do that. Press Ctrl/Command and click the link would open the link, as in MS Word. Shift+click is a good suggestion. I'll mark it as todo.
As @IpeTek said, there must be some bugs with the update function. I'll check that. A two-arrow update would cause the linked note's first line to lose its style if you have complex styles like background color or italics, etc. We discussed this topic in the very early days of this plugin's development but haven't gotten any solution. Any suggestions?
Yes, that's a known problem. Thanks for reporting that. I'll do a fix recently.
Discussions about multiple main notes are here: #58 #137 It's not that easy to have multiple main notes because users will not be able to know which note to insert the link. Opening more notes in the tabs is a practical suggestion.
I'll check that, though this seem to not have a very high priority.
Thanks for the suggestion. Planned.
Yes, I also find it hard to understand for new users. The 'main note' is too wide and abstract. As for allowing all notes to be opened in a tab, that's related to the multiple main notes discussions mentioned above. We could discuss that topic first, then turn to this one.
Adding it here because, in the early development, I found new users don't know where to start after they installed the plugin. Unlike other plugins that have specific functions that can be accessed in a menu or a settings pane, this plugin serves something more complex, a note workflow. The functions are separated in different places and the 'Open Workspace' is just a notice to let users know where to start: Open it, and you'll see the main note. You can start here.
The home button should open or focus the workspace tab. From your description, I guess you are clicking an 'Open PDF' button. The note currently being previewed would have the home button replaced by an 'Open PDF' button, which will open its parent item's attachments. This would not work if it's a standalone note.
Yes, that's what I forgot to hide. The 'recent main notes' menu should only be displayed under 'home' buttons, not the 'open PDF' buttons. |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for your discussions too.
I'm not sure why this happens, but I didn't touch the alt+f1-10. The tab is used to modify heading levels, but I found it is actually rarely used. I'll have it removed in the next release. Maybe we could discuss the shorcut issues later.
I'm sure it won't cause any crashes. You just cannot open the note link without the plugin.
This is a bug. Thanks for reporting.
The display style of the Zotero notes could be customized using the Zotero preferences, see https://forums.zotero.org/discussion/86855/make-note-editor-beautiful. Most of the note-related features are controlled by the templates, which can be found in the Edit->Note Templates and the yellowed ones are used by the Better Notes built-in features. |
Beta Was this translation helpful? Give feedback.
-
I only replied to those questions that I think you are asking me. If I missed anything, please let me know. Thank you all for this meaningful discussion! We could continue to discuss some points here. However, if you find something that is off the topic of compatibility issues, we could start a new issue and discuss them there. |
Beta Was this translation helpful? Give feedback.
-
Some bugs mentioned above are fixed. See https://github.com/windingwind/zotero-better-notes/releases/tag/0.7.5 |
Beta Was this translation helpful? Give feedback.
-
Thank you for your replies. Here is a screen recording of the issue. This is not directly a Zotero issue, so probably should not be reported in the Zotero forums. Maybe it belongs to the zotero-dev forum? Let me know if you need more information to report the issue. Using Zotero 6.0.16-beta.3+29dd0cf5d on Windows 10, all plugins disabled. |
Beta Was this translation helpful? Give feedback.
-
Interestingly, I cannot replicate the issue shown in the screen recording above. Zotero 6.0.15, Win10, only Better Notes (BN) disabled. Instead, I get "Only a popup to notify you to select a way to open the link." as windingwind stated previously. With Better Notes disabled, when I click a BN-note link, I can choose to open the linked note e.g. in Obsidian. However, the note does not open directly and I have to search for it with the note ID copied from the link text (e.g. NFUHDTX8). So, coming back to the core problem, at least with my configuration, BN seems sufficiently future proof at the moment. Before BN I had a habit of exporting my Zotero notes to Zettlr, then editing further there. In both Obsidian and Zettlr links of the BN-exported notes work out of the box. And I can jump from a note in Zotero to its exported copy in O. or Z. by using search. With a two-way sync the Zotero-BN-some markdown editor -combo would make an excellent toolbox for my needs. Concerning discussing further anything goes - either in this or separate threads. |
Beta Was this translation helpful? Give feedback.
-
I confirm that the looping on |
Beta Was this translation helpful? Give feedback.
-
Here is the report in the forums: |
Beta Was this translation helpful? Give feedback.
-
I guess this would require an Obsidian-side plugin to help Ob to recognize which note to open. This is interesting, but I may not have enough time to create an Ob plugin currently.
I think It's OK to discuss in this thread. Once we think one topic is resolved, we could hide the comments. After all, we have already discussed a lot here. |
Beta Was this translation helpful? Give feedback.
-
About the note links compatibility issue: I could create a minimal realization of note links as a plugin, which allows users to open the zotero://note links with no additional functions. Would that be useful? |
Beta Was this translation helpful? Give feedback.
-
This could be the bare-bones service promise by Better Notes, if maintaining that plugin was easy enough through Zotero versions. |
Beta Was this translation helpful? Give feedback.
-
By the way, is it possible to export notes with tags (from the Zotero tagging system) written to the note text with hashtags? Mdnotes does that. Would be useful when editing notes in e.g. Obsidian. |
Beta Was this translation helpful? Give feedback.
-
@windingwind @IpeTek Hashtag tagging ("implicit note tags") seems to be under discussion at Zotero: zotero/zotero#2860 |
Beta Was this translation helpful? Give feedback.
-
Thanks fo letting me know! |
Beta Was this translation helpful? Give feedback.
-
As this thread is not active for a long time, I will convert it to a discussion. Thanks you all and please take a look at the pre-release of next major version, if you are still using this plugin. See #429 |
Beta Was this translation helpful? Give feedback.
-
I think it would be important to clarify which features are compatible with Zotero without this plugin:
Before investing time in organizing my notes with this plugin, it is important for me to understand how safe it is in the long term.
The example of Jurism project is interesting in this aspect. As the developer stopped maintaining it, it became incompatibly with Zotero 6. So all the Jurism users will probably loose the ability to connect with Zotero after some time.
I really appreciate all the work put in developing this plugin. But considering the amount of time invested in organizing my research notes, I would like to be fully aware of the risks before taking that direction.
As an example, I have tested with the Note Link feature: zotero://note/{library ID]/{note ID]
https://zotero.yuque.com/books/share/f3fe159f-956c-4f10-ade3-c87559cacb60/yxpiew
I understand that the note links are not compatible with Zotero without this plugin, is that right?
It is possible to have a zotero://select/ link to a note. So why is it necessary to create a new type of links instead of using the existing one?
If I click on a note link after disabling the plugin, it crashes Zotero into an infinite loop:
[JavaScript Error: "event.target.closest is not a function" {file: "resource://zotero/note-editor/editor.js" line: 68673}]
TypeError: event.target.closest is not a function @resource://zotero/note-editor/editor.js:68673:19
I haven't investigated further this error, but it is quite worrying to me that even the simple links become obsolete without the plugin.
If some features are missing in Zotero, have you tried to get some feedback from the developers to see if this feature could be added in the future directly in Zotero, or to make sure that the way it is done maximizes the compatibility with Zotero without the plugin, to make it more future proof?
Thank you very much again.
Beta Was this translation helpful? Give feedback.
All reactions