Verstak Core Platform + UI Shell — plugin runtime, capability registry, vault API, event bus, sync client
 
 
 
 
 
 
Go to file
mirivlad 8e5690e8f7 feat: intercept GDK button 8/9 for mouse back/forward navigation
WebKitGTK does not propagate XButton1/XButton2 (buttons 8 and 9) into
DOM events — event.button and event.buttons are always 0 for these
clicks. This prevents the frontend from detecting hardware back/forward
mouse buttons for history navigation.

Solution: patch Wails' window.c on Linux to intercept button-press-event
at the GTK signal level (before WebKit processes it). For button 8/9 we
call webkit_web_view_run_javascript() to dispatch a native CustomEvent
('verstak:navigate-back' / 'verstak:navigate-forward') into the page,
allowing the frontend to navigate history without any workaround on the
JS side.

The patch is applied automatically during build via scripts/build.sh:
  go mod vendor → patch -p0 < patches/window.c.button-press.patch
Vendor directory is gitignored.
2026-06-21 13:49:13 +08:00
cmd/smoke-platform feat: milestone 5b — frontend bundle host + VerstakPluginAPI stub 2026-06-17 17:39:50 +08:00
docs core: Milestone 7b — Files explorer and Default Editor improvements 2026-06-20 19:20:13 +08:00
frontend core: Milestone 7b — Files explorer and Default Editor improvements 2026-06-20 19:20:13 +08:00
internal core: Milestone 7b — Files explorer and Default Editor improvements 2026-06-20 19:20:13 +08:00
patches feat: intercept GDK button 8/9 for mouse back/forward navigation 2026-06-21 13:49:13 +08:00
scripts feat: intercept GDK button 8/9 for mouse back/forward navigation 2026-06-21 13:49:13 +08:00
.gitignore feat: intercept GDK button 8/9 for mouse back/forward navigation 2026-06-21 13:49:13 +08:00
AGENTS.md Implement milestone 6b workbench routing skeleton 2026-06-19 07:51:57 +08:00
README.md Initial commit 2026-06-16 06:35:41 +03:00
go.mod feat: add core vault layer with capability registration 2026-06-16 20:37:48 +08:00
go.sum feat: add scripts/build.sh, test.sh, check.sh + gofmt + go mod tidy 2026-06-16 12:11:55 +08:00
main.go feat: add sync backend methods 2026-06-20 02:25:25 +08:00
wails.json feat: plugin discovery, capability/contribution/permission registries, Plugin Manager UI 2026-06-16 12:00:43 +08:00

README.md

verstak-desktop

Verstak Core Platform + UI Shell — plugin runtime, capability registry, vault API, event bus, sync client