Skip to content

1.0.9

Choose a tag to compare

@github-actions github-actions released this 16 Sep 22:36
· 21 commits to master since this release

Re-Supercharged Links — Performance & Architecture Refactor

This release focuses on runtime consistency, maintainability, and incremental performance improvements across Live Preview, Read Mode, and settings UI rendering.

✨ Highlights

  • Introduced a unified rule resolution engine for deterministic style matching.
  • Reduced duplicated matching logic across rendering pipelines.
  • Improved observer lifecycle safety with duplicate observer prevention.
  • Consolidated rule reordering logic into a single shared engine.
  • Refactored visible-link update flow into smaller, testable routines.

🔧 What changed

1) Unified rule resolution

  • Added a central resolver (rule-resolver) used by multiple pipelines.
  • Live Preview now resolves styling through the same matching model used elsewhere.
  • Read Mode mutation flow was migrated to the same resolution strategy.

2) Observer deduplication and lifecycle hardening

  • Added container/key-based observer dedup logic to avoid duplicate MutationObserver registrations after repeated layout changes.
  • Preserved existing behavior while reducing redundant observer overhead.
  • Cleaned observer teardown flow and reset plugin-level observer arrays on disconnect.

3) Rule ordering consolidation

  • Moved reorder behavior to one shared routine (rule-order-engine).
  • Removed duplicated move logic from settings tab class.
  • Preserved animation and active edit-row synchronization behavior.

4) View updater refactor

  • Split updateVisibleLinks into smaller focused routines:
    • properties pane updates
    • tab header updates
    • internal link updates
  • No intended behavior changes; this is a structure/maintainability refactor.

5) Cleanup and migration

  • Removed legacy call paths after migration to unified resolver.
  • Kept compatibility where needed during transition, then cleaned dead code/imports after verification.
  • Improved internal comments and consistency in strict typing patterns.

✅ Result

  • More consistent styling output across UI contexts.
  • Lower risk of rule drift between Live Preview and Read Mode.
  • Cleaner architecture for future optimization work.
  • Safer incremental maintenance with smaller, isolated routines.

Notes

This release is intentionally focused on internal quality, runtime coherence, and technical debt reduction.
If you notice edge cases in specific third-party view integrations, please open an issue with reproduction steps and view/plugin context.