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.
Назначение:
- просмотр изображений;
- просмотр 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`
Назначение:

View File

@ -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.