Document File preview implementation

This commit is contained in:
mirivlad 2026-06-27 23:51:20 +08:00
parent 0ce2334b64
commit f826ff864e
2 changed files with 11 additions and 7 deletions

View File

@ -136,10 +136,9 @@ view-only provider for `.md` / `.markdown` files.
Назначение: Назначение:
- просмотр изображений; - read-only preview for text-like files through `api.files.readText`;
- просмотр text-like файлов; - metadata view for image files until binary streaming exists;
- базовый PDF/image metadata preview, если возможно; - `Open External` action through `api.files.openExternal`.
- fallback to system open.
Provides: Provides:
@ -150,6 +149,9 @@ viewer.text
preview.file preview.file
``` ```
Текущий статус: базовый `verstak.file-preview` implemented as a view-only
provider for text-like files and image metadata.
## 6. `official.activity` ## 6. `official.activity`
Назначение: Назначение:

View File

@ -50,8 +50,10 @@ Known remaining gaps:
- Sidecar host is not implemented. - Sidecar host is not implemented.
- Files/Notes are usable but not complete: restore, binary streaming, watcher, - Files/Notes are usable but not complete: restore, binary streaming, watcher,
richer conflict UX, and Notes trash/delete UX are still incomplete. richer conflict UX, and Notes trash/delete UX are still incomplete.
- File/image preview, activity, journal, browser inbox conversion workflow, - Activity, journal, browser inbox conversion workflow, search, secrets, and
search, secrets, and templates plugins are not complete product features. 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 - Browser extension repository has protocol, queue, and Chromium/Firefox build
scaffold; desktop has a local receiver and mounted-view inbox plugin, but no scaffold; desktop has a local receiver and mounted-view inbox plugin, but no
pairing model, domain binding, or conversion workflow yet. pairing model, domain binding, or conversion workflow yet.
@ -126,7 +128,7 @@ Goal: add the next visible product layer as replaceable plugins.
Tasks: Tasks:
- [x] implement `verstak.markdown-preview` provider plugin; - [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 search provider/index contract and official search plugin;
- implement activity event log plugin; - implement activity event log plugin;
- implement journal/worklog plugin that can consume activity suggestions. - implement journal/worklog plugin that can consume activity suggestions.