- #ZETTLR FOR WINDOWS FULL#
- #ZETTLR FOR WINDOWS CODE#
- #ZETTLR FOR WINDOWS FREE#
- #ZETTLR FOR WINDOWS WINDOWS#
See for this (especially the behaviour and styling of the windows) the corresponding interface guidelines below Block 1: Migrate the Dialogs to their own BrowserWindow Instances ✅ This will allow us to finally get the DOM right, and make it more concise.
#ZETTLR FOR WINDOWS CODE#
Furthermore, the DOM code of the main renderer (and, to a lesser extent, all other BrowserWindows) is pretty chaotic. This is to reduce boilerplate code, unify the application and finally follow one design system. Zettlr 2.0 will – from a UI perspective – be based exclusively on Vue.
#ZETTLR FOR WINDOWS WINDOWS#
The custom application menu (necessary for Windows and Linux) can be styled with regard to the CSS rewrite below. However, native context menus in Electron are hard, especially if you want to follow the security guidelines (displaying a fully compliant context menu requires you to gather context info in the renderer, send that to main, have main display the menu, and send back the result to the renderer). People have lamented this, and rightfully so. This will even cut the algorithmic complexity of binary search, rendering this search O(n) where n = Path segments. Rather, we need to search for paths, because the file tree is built using paths, so we can actually split a path we want into its constituent parts, and then follow the correct nodes immediately, without having to search possibly huge file trees where we could know beforehand that the file is not in there.
#ZETTLR FOR WINDOWS FULL#
As some person has thankfully unearthed (too lazy to find the issue r/n), searching depth-first and breadth-first through the full file tree based on arbitrary numbers is completely inefficient.
An alternative would be to create a modal window on top of the main renderer and lock the window positions and sizes of both windows. Instead, we'll fall back to an earlier version of the guidelines for this, where we can actually use a separate Window. I'm not going to abandon the in-renderer modals just to reintroduce them for one platform.
Many critics have lamented the lack of consistency across Electron applications, and I'm beginning to see why.