gui/pkg/window
Snider f884d698b2
Some checks failed
Security Scan / security (push) Failing after 9s
Test / test (push) Has been cancelled
fix(display): correct GetWindowTitle and add WS input validation
GetWindowTitle was returning info.Name (the window's identifier) instead
of the actual title. Added Title() to the PlatformWindow interface and
Title field to WindowInfo so the real title flows through queries.

Added wsRequire() helper and input validation for all webview:* WS
message cases — window name is required for every webview action, and
selectors/URLs are validated where they'd cause errors if empty.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 16:25:29 +00:00
..
layout.go refactor(display): compose window/systray/menu sub-packages into orchestrator 2026-03-13 12:27:19 +00:00
messages.go fix(display): correct GetWindowTitle and add WS input validation 2026-03-13 16:25:29 +00:00
mock_platform.go fix(display): correct GetWindowTitle and add WS input validation 2026-03-13 16:25:29 +00:00
mock_test.go fix(display): correct GetWindowTitle and add WS input validation 2026-03-13 16:25:29 +00:00
options.go feat(window): add Wails v3 adapter 2026-03-13 12:12:05 +00:00
platform.go fix(display): correct GetWindowTitle and add WS input validation 2026-03-13 16:25:29 +00:00
register.go feat(window): add IPC layer — Service, Register factory, message types 2026-03-13 13:25:34 +00:00
service.go fix(display): correct GetWindowTitle and add WS input validation 2026-03-13 16:25:29 +00:00
service_test.go feat(window): add file drop support to PlatformWindow interface 2026-03-13 14:36:55 +00:00
state.go refactor(display): compose window/systray/menu sub-packages into orchestrator 2026-03-13 12:27:19 +00:00
tiling.go feat(window): add tiling, snapping, stacking, and workflow layouts 2026-03-13 12:09:31 +00:00
wails.go fix(display): correct GetWindowTitle and add WS input validation 2026-03-13 16:25:29 +00:00
window.go refactor(display): compose window/systray/menu sub-packages into orchestrator 2026-03-13 12:27:19 +00:00
window_test.go feat(window): add tiling, snapping, stacking, and workflow layouts 2026-03-13 12:09:31 +00:00