From f826ff864e50c3c0eb22638fb6340a63b1dc58ad Mon Sep 17 00:00:00 2001 From: mirivlad Date: Sat, 27 Jun 2026 23:51:20 +0800 Subject: [PATCH] Document File preview implementation --- 05_Official_Plugins.md | 10 ++++++---- 07_Full_Implementation_Roadmap.md | 8 +++++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/05_Official_Plugins.md b/05_Official_Plugins.md index d006018..0ea8a36 100644 --- a/05_Official_Plugins.md +++ b/05_Official_Plugins.md @@ -136,10 +136,9 @@ view-only provider for `.md` / `.markdown` files. Назначение: -- просмотр изображений; -- просмотр text-like файлов; -- базовый PDF/image metadata preview, если возможно; -- fallback to system open. +- read-only preview for text-like files through `api.files.readText`; +- metadata view for image files until binary streaming exists; +- `Open External` action through `api.files.openExternal`. Provides: @@ -150,6 +149,9 @@ viewer.text preview.file ``` +Текущий статус: базовый `verstak.file-preview` implemented as a view-only +provider for text-like files and image metadata. + ## 6. `official.activity` Назначение: diff --git a/07_Full_Implementation_Roadmap.md b/07_Full_Implementation_Roadmap.md index ed67f9c..9bbf9aa 100644 --- a/07_Full_Implementation_Roadmap.md +++ b/07_Full_Implementation_Roadmap.md @@ -50,8 +50,10 @@ Known remaining gaps: - Sidecar host is not implemented. - Files/Notes are usable but not complete: restore, binary streaming, watcher, richer conflict UX, and Notes trash/delete UX are still incomplete. -- File/image preview, activity, journal, browser inbox conversion workflow, - search, secrets, and templates plugins are not complete product features. +- Activity, journal, browser inbox conversion workflow, search, secrets, and + templates plugins are not complete product features. +- File/image preview exists as a basic provider, but image rendering still needs + binary streaming support for inline previews. - Browser extension repository has protocol, queue, and Chromium/Firefox build scaffold; desktop has a local receiver and mounted-view inbox plugin, but no pairing model, domain binding, or conversion workflow yet. @@ -126,7 +128,7 @@ Goal: add the next visible product layer as replaceable plugins. Tasks: - [x] implement `verstak.markdown-preview` provider plugin; -- implement basic file/image preview plugin; +- [x] implement basic file/image preview plugin; - implement search provider/index contract and official search plugin; - implement activity event log plugin; - implement journal/worklog plugin that can consume activity suggestions.