v1.9.0-alpha.18
fabiospampinato
released this
23 Jul 00:56
·
4 commits
to master
since this release
- Ensuring inline code in headings has a sensible padding applied to it
- New command: attachment.delete
- Added a “Delete” context menu item for attachments
- New command: editor.focus
- Ensuring jumping to a line in the editor via CmdOrCtrl+DoubleClick something in previews works
- Ensuring data directory titles use a consistent forward slash across all platforms
- Added a (currently empty) “Settings” help page
- Added links to the respective help pages to the Settings and Shortcuts editors
- Renamed “Unmaximize” to “Restore” (Linux & Windows)
- Reversed order of window title sections
- Removed the “data directory” section from windows titles for now
- Mentioning “CSS/JS” rather than “code” in titles and descriptions of commands related to the custom code editor
- Added a “useSetting” React hook
- Added support for autosaving note editors with a given interval
- New settings: editor.autosave.enabled, editor.autosave.interval
- Ensuring a minimum autosave interval of 5000 milliseconds is used
- Added a “Modernizr” library
- Ensuring notifications don’t overlap with the statusbar
- Ensuring nothing is rendered over the titlebar
- Ensuring dialogs, quick picks and quick modals don’t overlap with the titlebar and the statusbar
- Ensuring nothing is rendered over the statusbar
- Ensuring fullscreen modals don’t overlap with the titlebar and the statusbar
- More reliably enforcing that anything that is not meant to overlap with the titlebar and the statusbar doesn’t do it
- Enforcing a slightly better maximum height for non-fullscreen modals
- Ensuring the maximum height of windowed lists is calculated correctly accounting for the titlebar and the statusbar
- Displaying a maximum of 9 items at once in quick picks
- Ensuring “Notable” is displayed in the custom titlebar whenever there is enough space for it
- Removed useless titlebar semaphore spacer
- Ensuring the zoom level has no impact on context menus
- Ensuring the current zoom level is accounted for when calculating the height of the tags list
- New React hook: useActiveEditor
- New React hook: useEditorSelections
- New React hook: useActiveEditorSelections
- Refreshing the “Cursors” statusbar item much more efficiently and quickly
- Ensurin the word counter supports CJK languages
- Added a standalone “Words” lib
- New context keys: hasModal, hasFullscreenModal
- New React hook: useNoteDirtyContent
- Reimplemented the statusbar words counter in a much more efficient way, while also refreshing it more promptly, and displaying it only when a note is visible
- Ensuring the process explorer gets updated at most once per second
- Using monospace numbers throughout the statusbar, greatly reducing the amount of pixels updated in many cases
- New React hook: useActivePreview
- Slightly optimized heading-related functions for previews
- New React hook: usePreviewHeading
- Reimplemented the current heading statusbar item in a much more efficient way, while also refreshing it more promptly, and displaying it only when needed
- New React component: “PreviewChildren”
- Ensuring all components using the “preview” class use it via one of the “Preview*” components
- Added a few utilities
- Ensuring the app reloads automatically rather than getting stuck some times during development
- Caching the most recent 100 katex expressions, improving subsequent renders by ~40%
- Caching the most recent 100 asciimath expressions, improving subsequent renders by ~75%
- Caching the most recent 100 plantuml expressions, improving subsequent renders by ~50%
- Caching the most recent 100 syntax highlighting blocks, improving subsequent renders by ~65%
- Mermaid: implemented a workaround that ~fixes the issue where some texts would end up truncated
- Caching the most recent 100 mermaid diagrams, improving subsequent renders by ~98%
- Rendering mermaid diagrams as plain images
- Applying string replacements in a much more memory efficient way, improving Markdown compilation performance throughout the app, for some patologically-affected notes even by ~90%
- Rendering emojis is now up to 30x faster
- Ensuring the words counter returns sub-millisecond results for documents of any length
- Using a much stricter regex for matching IPv4 addresses
- Added a new “windowed” rendering mode for notes, which is now enabled by default for larger notes
- Added a “bmkize” function
- Displaying a more human-friendly words count as soon as it goes over 1000
- Updating both the editor and the preview when navigation to a note’s heading
- Added support for passing a custom revealType and scrollType to the "editor.go.line" command
- Revealing the target line at the top when navigating to an heading in the editor, for better alignment with the potential preview on the side
- Implemented a custom schema validation and filtration library
- Replaced “ajv” with the custom validator
- Fixed an issue that caused Mermaid to fail to output valid diagrams
- Updated some dependencies
- Ensuring tags are rendered more visibly in the multi-note editor
- Minor changes