Improve Influx reliability, table handling, and performance (2.4.3) - #118
Open
turnipsforme wants to merge 53 commits into
Open
turnipsforme wants to merge 53 commits into
turnipsforme wants to merge 53 commits into
Conversation
Preserve native incoming-link data when augmenting backlink metadata, skip expensive processing for notes without real backlinks, and use full source paths for stable rendered entry identity. Add regression coverage for empty backlink structures and source signatures.
Keep the Influx widget anchored correctly as users type at the document edge, place top widgets after frontmatter, and prevent stale asynchronous decoration requests from overwriting current editor state. Track active editor plugins for targeted refresh and cleanup.
Invalidate the right caches after metadata, rename, delete, and settings changes; refresh open editors and previews after backlink updates; serialize preview rerenders; and clean up preview containers, roots, timers, and stylesheet classes reliably. Synchronize the lockfile with the current package version and dependency tree.
Verify backlink-free notes skip metadata loading, filtering, and markdown rendering work.
Commit the production main.js bundle required by Obsidian and BRAT alongside manifest.json and styles.css.
- Prevent influx rendering inside markdown table cells (render-utils) - Table-aware widget anchor placement in live editor (placement-utils) - Keep master's backlink cache, preview lifecycle and memory improvements
The merged table-cell fixes (suppress influx inside markdown table cells, anchor the widget after leading tables) only reacted to document changes on a 3s debounce. On mobile that glitches the UI: - Tap-to-move caret changes the selection without changing the doc, so suppression state went stale while the caret sat in a table. - When the debounced recompute landed mid-composition with the virtual keyboard open, inserting/removing the block widget forced a re-measure and yanked scroll position away from the caret. Now, mobile-only: when table suppression applies, hide the widget synchronously via StatefulDecorationSet.hideIfShowing() (deferred to a microtask so we never dispatch during an in-progress CM6 update cycle) and keep suppression in sync with selection changes. Desktop behavior is unchanged; suppression logic itself is extracted into shouldSuppressInfluxForTableEditing with regression tests.
|
hey, nice! |
Open title and excerpt links with the source note path, including nested embeds. Detect backlink provider changes, merge overlapping updates, and reuse editor roots without dropping content or collapsed cards. Limit Markdown work across panes and handle failed renders and deleted notes. Add DOM, cache, scheduling, and widget lifecycle regression coverage. Keep the earlier generated bundle; final rebuilding and release are deferred.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release
The PR head is the exact commit published as Influx 2.4.3: https://github.com/turnipsforme/influx/releases/tag/2.4.3. It includes and supersedes #117.
Verification
The upstream Actions run is waiting for a maintainer to approve the workflow from this fork. It has not reported a test failure.
@semanticdata @jensmtg, when you have time, could you review this and approve the pending workflow run?