No description
display.go: menu builder now consults menu.Service.ShowDevTools() and, when enabled, adds Developer > Open DevTools + Close DevTools menu items. Handlers route to the focused window (or the only open window) via the existing webview.devtoolsOpen / webview.devtoolsClose actions — which already land on Wails WebviewWindow.OpenDevTools / CloseDevTools. Tests: Good/Bad/Ugly coverage for both MCP tool handlers in tools_webview_test.go plus a menu-level test in display_test.go that clicks the built items and verifies mock devtools state flips open/closed, with a disabled-config case. tools_webview.go already had the handlers + registration on this branch; locked down with tests instead of re-implementing. Closes tasks.lthn.sh/view.php?id=31 Co-authored-by: Codex <noreply@openai.com> Co-Authored-By: Virgil <virgil@lethean.io> |
||
|---|---|---|
| .core | ||
| .forgejo/workflows | ||
| docs | ||
| internal | ||
| pkg | ||
| stubs/wails | ||
| ui | ||
| .gitignore | ||
| .gitmodules | ||
| CLAUDE.md | ||
| go.mod | ||
| go.sum | ||
| go.work | ||
| go.work.sum | ||
| LICENSE.txt | ||