mirivlad
321c8e58d1
feat: Notes plugin + Files improvements + Default editor wiki links
...
plugins/files:
- SVG icons for toolbar actions (iconButton helper)
- Multi-select cut/copy/paste (Ctrl+X/C/V)
- Mouse back/forward button navigation (history stack)
- Navigation history persisted per workspace (window.__filesHistoryByWorkspace)
- Context menu: icons, notes integration (Create Note, Open Overview)
- Drag-and-drop folder target fix
plugins/default-editor:
- Wiki links [[Title]] in notes context (renderInline with isNotesContext)
- Save/Read via Notes API when editorMode === 'notes-markdown'
- Internal link click handler (open note via api.request.open)
plugins/platform-test:
- Mouse Event Inspector card for debugging back/forward buttons
plugins/notes (new):
- Basic notes plugin scaffold (plugin.json + frontend entry)
- Contributes workspace item 'Notes'
2026-06-21 23:23:07 +08:00
mirivlad
d3079be007
fix: Cut/copy/paste path consistency and folder cut support
...
- pasteEntry: source path now scoped for readText, relative for trash
- cutEntry: removed folder guard — folder cut via api.files.move
- copyEntry: hidden from context menu for folders (not supported)
- Clipboard object now carries isFolder flag
2026-06-20 20:23:02 +08:00
mirivlad
8f8f431d4d
plugins(files): Feature 11 — Rename validation
...
- Invalid chars: \ / : * ? " < > | and control chars (0x00-0x1f)
- Invalid names: '.', '..', leading/trailing spaces, trailing dot
- Collision check via api.files.metadata before rename
- Special case for case-only difference
- Errors shown in renameInput.placeholder
2026-06-20 20:02:32 +08:00
mirivlad
c3a14411ab
plugins(files): Feature 10 — Navigation history
...
- History stack with Back/Forward (goBack/goForward)
- historyIndex + navigatingHistory flag for correct stack management
- Toolbar buttons: ← (back) and → (forward) before Up button
- Alt+Left / Alt+Right and Ctrl+[ / Ctrl+] keyboard shortcuts
- Future path trimmed on new navigation (forward state discarded)
- Duplicate paths not pushed to stack
- Refresh and direct loadEntries don't pollute history
2026-06-20 20:01:20 +08:00
mirivlad
4a0656cd09
plugins(files): Feature 9 — Rich file type icons
...
- Added FILE_ICONS lookup with SVG paths for 15 categories
- Added EXT_MAP with 70+ extension-to-category mappings
- Images, video, audio, archives, PDFs get distinct icons
- Documents, spreadsheets, presentations get office-style icons
- Code files (JS/Python/Go/Rust/C/etc.) get a dedicated code icon
- Database, font, config files also get proper icons
- Existing behavior preserved: folder, markdown, json->{ }, generic
- fileIcon simplified to use lookup tables
2026-06-20 19:59:12 +08:00
mirivlad
194b68890b
plugins(files): Feature 8 — Keyboard navigation
...
- ArrowUp/Down: move selection by one item
- Shift+ArrowUp/Down: extend selection range
- Ctrl+ArrowUp/Down: scroll viewport without changing selection
- Home/End: jump to first/last item (Shift to extend)
- PageUp/PageDown: jump by one viewport height
- All navigation keys get preventDefault()
- Existing Enter/Delete/F2/Ctrl+A preserved
2026-06-20 19:56:40 +08:00
mirivlad
e5c63576d0
plugins(files): Feature 7 — Drag-and-Drop
...
- Items are draggable (draggable='true')
- Multi-file drag from selection (selectedPaths)
- Drop on folder moves files via api.files.move()
- Visual feedback: .files-dragging (opacity) + .files-drag-over (dashed outline)
- No-op when source === target folder
2026-06-20 19:55:20 +08:00
mirivlad
e74499a329
plugins(files): Feature 6 — Multi-select
...
- Ctrl+click: toggle single file selection
- Shift+click: range select from last clicked to current
- Ctrl+A: select all visible entries
- Click on empty space: deselect all
- Bulk trash: delete all selected files via Promise.allSettled
- Open/Rename disabled when multiple selected; Trash enabled for bulk
- Refactored: selectedPath (string) → selectedPaths (hash map)
2026-06-20 19:51:13 +08:00
mirivlad
281614e1b4
plugins(files): Feature 5 — Cut/Copy/Paste
...
- pasteEntry: reads clipboard, copies file with collision resolution,
handles 'cut' action (trashe source + clear clipboard)
- Paste toolbar button: disabled when clipboard empty, enabled after cut/copy
- Paste in context menu: shown on empty-space right-click when clipboard
has content
- Folder guard: cut/copy for folders logs not-supported and skips
- updateButtons() toggles paste button state on cut/copy
2026-06-20 19:48:53 +08:00
mirivlad
b5d6694afa
plugins(files): fix document event listener leak in context menu cleanup
2026-06-20 19:47:09 +08:00
mirivlad
2ff75c4dca
plugins(files): context menu, confirm modal, duplicate with collision handling
...
- Feature 1: Right-click context menu with actions (Open, Rename, Duplicate,
Cut, Copy, Trash) and empty-space shortcut for new files
- Feature 3: Custom confirmModal instead of window.confirm(), styled overlay
+ modal with danger mode for trash operations
- Feature 4: Duplicate with smart collision resolution — finds first free
name (copy), (copy 2)... up to 100 attempts using api.files.metadata()
2026-06-20 19:43:58 +08:00
mirivlad
7567e38c4f
plugins: files explorer and default editor improvements
...
- Files plugin: richer file list, breadcrumbs, toolbar, sorting,
filter, rename/trash, row actions
- Default Editor: line numbers, markdown toolbar, Edit/Preview/Split,
reload/revert
- Files plugin.json: update manifest
2026-06-20 19:21:24 +08:00
mirivlad
695c1c83d0
fix: rewrite sync settings UI with dark theme inputs, add auto-sync and interval settings
2026-06-20 03:39:04 +08:00
mirivlad
95aa600704
fix: sanitize sync error messages in frontend, limit displayed length
2026-06-20 03:20:26 +08:00
mirivlad
ef2c8c76c4
fix: use api.backend.call() instead of broken wailsCall, fix styling
...
- Replace direct window['go']['main']['App'] access with api.backend.call()
- Use hardcoded colors matching PluginManager modal theme (#16213e, #0f3460, etc.)
- Labels above inputs, full-width inputs, proper form layout
- Add explicit btn/modal styles instead of relying on CSS variables
2026-06-20 03:02:34 +08:00
mirivlad
bb0811a60c
test: add sync plugin E2E tests
2026-06-20 02:39:36 +08:00
mirivlad
589f98011d
feat: build sync plugin frontend
2026-06-20 02:37:32 +08:00
mirivlad
9dd93f3685
feat: implement SyncStatusBar component
2026-06-20 02:35:18 +08:00
mirivlad
931bc6bf29
feat: implement SyncSettings component
2026-06-20 02:32:23 +08:00
mirivlad
6fb16442cb
feat: create sync plugin structure
2026-06-20 02:28:15 +08:00
mirivlad
12d491a786
fix: scope files plugin to workspace folders
2026-06-19 23:37:10 +08:00
mirivlad
da49788504
feat: add default-editor + files plugins, bundle execution check, fix platform-test diagnostic priority
2026-06-19 16:41:46 +08:00
mirivlad
1d2190fc6c
Add platform-test diagnostic open provider
2026-06-19 07:52:04 +08:00
mirivlad
0cc4552506
fix(platform-test): replace emoji icons with SVG icon key
...
- plugin.json: all emoji icons replaced with "flask" (matches Icon.svelte name)
- statusBar label: "🧪 All Tests Pass" → "[OK] All Tests Pass"
- frontend/src/index.js: emoji in header replaced with '◉' circle
2026-06-17 19:02:58 +08:00
mirivlad
3751f52055
fix(platform-test): badge div call syntax
...
- badgeRow was created with 3rd arg to div(className, children) which was ignored
- Fix: div('', [badge]) wraps badge properly so Frontend Bundle Loaded text renders
2026-06-17 18:51:20 +08:00
mirivlad
7a1926e295
feat: platform-test frontend bundle with VerstakPluginRegister contract
...
- DiagnosticsPanel + PlatformTestSettings components
- VerstakPluginRegister contract (mount/unmount, VerstakPluginAPI)
- Shared dark-theme stylesheet (style.css)
2026-06-17 17:40:01 +08:00
mirivlad
f72e6ef3f2
chore: stop tracking compiled backend binary, add to gitignore
2026-06-17 16:33:48 +08:00
mirivlad
cf532bc6a6
feat: add settingsPanel contribution to platform-test
2026-06-17 03:02:01 +08:00
mirivlad
62ebda1bb9
docs: add plugin packaging documentation
2026-06-16 17:44:02 +08:00
mirivlad
8958561d8e
feat: add dist packaging to build.sh + .gitignore
...
- build.sh: package_plugin() copies plugin.json, frontend/dist, backend binary to dist/<plugin-id>/
- .gitignore: dist/, node_modules/
- Excludes: node_modules, .git, Go source files, test cache
2026-06-16 16:45:58 +08:00
mirivlad
e3e4385b91
fix: add dep checks, npm install fallback, go mod download in build.sh
2026-06-16 12:32:34 +08:00
mirivlad
330adc42f2
feat: add scripts/build.sh, check.sh
2026-06-16 12:12:05 +08:00
mirivlad
8ca5617d0a
feat: add platform-test plugin with diagnostics panel and backend sidecar
2026-06-16 12:01:42 +08:00
mirivlad
2f6a084f63
docs: add AGENTS.md with platform architecture rules
2026-06-16 11:53:19 +08:00
mirivlad
aa2d47a11d
Initial commit
2026-06-16 06:35:43 +03:00