Repository navigation
Releases
Releases · rimpk901/obsidian-svg-sticker
1.1.1
1.0.1 — Fix: icons redrawn / re-requested on scroll
Fixed
- Native file explorer: icons no longer flicker or get redrawn while
scrolling or typing in large vaults. The explorer observer used to watch
the wholedocument.bodyand rescan every file and folder on any DOM
change (including its own icon insertions). It now reacts only to newly
added explorer rows and processes just those nodes. - Make.md: scrolling the Spaces tree no longer triggers thousands of
image requests (13k requests / ~33 MB in a few seconds of scrolling with
many icons). Make.md'sgetUIPath()appends a random?0–999suffix to
every image URL, so each re-mounted row of its virtualized tree requested
the icon again. The plugin now strips that suffix, so icons are loaded
once and served from cache.
Improved
- Icon resource paths are cached and invalidated when an SVG changes,
is renamed or deleted. - Editing a note's
stickerfrontmatter by hand updates only that note's row. - Removed
loading="lazy"from explorer icons to avoid visible flicker.
Notes
- The Make.md fix is a temporary workaround that relies on Make.md's
internal API (superstate.ui.getUIPath) and is restored when the plugin
is disabled. It will become unnecessary once Make.md fixes this upstream. - Make.md integration may need adjustment after major Make.md updates.
Installation
Download main.js, manifest.json, styles.css into
.obsidian/plugins/svg-sticker/ and reload Obsidian.
1.0.1 — Исправление: иконки перерисовываются / перезапрашиваются при скролле
Исправлено
- Штатный проводник: иконки больше не мерцают и не перерисовываются
при скролле или наборе текста в больших хранилищах. Раньше обсервер следил
за всемdocument.bodyи при любом изменении DOM заново обходил все файлы
и папки (включая вставку собственных иконок). Теперь он реагирует только
на новые строки проводника и обрабатывает только их. - Make.md: скролл дерева Spaces больше не вызывает тысячи запросов
картинок (13 тыс. запросов / ~33 МБ за несколько секунд при большом
количестве иконок).getUIPath()в Make.md добавляет к URL случайный
суффикс?0–999, поэтому каждая заново смонтированная строка виртуализированного
дерева запрашивала иконку снова. Плагин теперь убирает этот суффикс —
иконки грузятся один раз и дальше берутся из кэша.
Улучшено
- Пути к SVG кэшируются и сбрасываются при изменении, переименовании или
удалении файла. - Ручное изменение
stickerво frontmatter обновляет только строку этой заметки. - Убран
loading="lazy"у иконок проводника, чтобы не было мерцания.
Примечания
- Исправление для Make.md — временное, оно опирается на внутренний API
(superstate.ui.getUIPath) и снимается при отключении плагина. Оно станет
не нужно, когда Make.md исправит это у себя.
SVG Sticker — Release 1.1.0
An update to SVG Sticker focused on bug fixes, improved stability, and performance optimization.
Bug Fixes
- Fixed SVG sticker assignment and removal.
- Improved Make.md Spaces integration.
- Fixed asynchronous operation handling.
- Improved error handling and edge-case reliability.
- Fixed context menu behavior.
Performance Improvements
- Optimized SVG icon handling.
- Improved sticker updates in the file explorer.
- Optimized interface event handling.
- Reduced unnecessary operations and DOM updates.
Compatibility
- Updated compatibility with the Obsidian 1.13+ API.
- Improved stability when working with Make.md.
- Retained support for Russian, English, Korean, and Chinese interface languages.
Release Notes
This update aims to make SVG Sticker more stable, reliable, and efficient.
SVG Sticker v1.0.0 — Initial Release
SVG Sticker v1.0.0
The first release of SVG Sticker for Obsidian!
SVG Sticker lets you personalize your Obsidian vault with custom SVG icons for notes, folders, and Make.md Spaces.
Features
- Assign custom SVG icons to individual notes.
- Add SVG stickers to folders in the native Obsidian File Explorer.
- Integrate with Make.md Spaces through an external adapter.
- Assign icons to multiple Make.md items at once.
- Browse SVG icons in a visual picker with search and pagination.
- Choose a custom icon folder inside your vault.
- Automatically detect the Obsidian interface language.
- Manually select English, Russian, Korean, or Chinese.
Installation
- Download
main.js,manifest.json, andstyles.cssfrom this release. - Create a folder named
svg-stickerinside.obsidian/plugins/. - Copy the downloaded files into that folder.
- Reload Obsidian and enable SVG Sticker in Community Plugins.
Requirements
- Obsidian 1.5.0 or later.
- Make.md is optional. Its integration is available when Make.md is installed and its UI API is accessible.
Notes
Make.md integration uses runtime APIs and may require compatibility adjustments after future Make.md updates.
Thank you for trying SVG Sticker!