Skip to content

Commit a3692a0

Browse files
authored
fix(jac-client): add missing MouseEvent param to onToggleMode lambda (#5567)
## Summary - Add `_e: MouseEvent` parameter to the `onToggleMode` lambda in the fullstack template's `frontend.cl.jac` to match the `MouseEventHandler` signature expected by `AuthForm` - Fixes `E1100` type error on `jac check` - Tick small refactors count in release notes ## Test plan - [ ] `jac check jac-client/jac_client/templates/fullstack/frontend.cl.jac` no longer reports E1100 on line 196
1 parent 0e90f87 commit a3692a0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/docs/community/release_notes/jac-client.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This document provides a summary of new features, improvements, and bug fixes in
2424
- **Standalone Sidecar Bundling via PyInstaller**: Desktop builds now bundle the Jac sidecar as a standalone executable using PyInstaller by default. The bundled sidecar includes Python, jaclang, jac-client, and configured plugins (jac-scale, byllm, jac-coder via `[desktop.plugins]` in `jac.toml`), eliminating the requirement for end users to have Python installed. Auto-installs Python dependencies from `jac.toml` before bundling. Set `JAC_SIDECAR_STANDALONE=0` to fall back to wrapper script mode.
2525
- **Debug Diagnostic Page**: Added a debug page to the all-in-one example app for diagnosing sidecar/API connectivity issues. Displays API base URL status, Tauri runtime detection, `get_api_url` invoke results, and interactive buttons to test walker spawning and direct HTTP fetch.
2626
- **Plugin Reference Docs**: Added `reference/plugins/jac-client.md` documenting jac-client CLI commands and configuration options.
27-
- 4 small refactors/changes.
27+
- 5 small refactors/changes.
2828

2929
## jac-client 0.3.11 (Latest Release)
3030

jac-client/jac_client/templates/fullstack/frontend.cl.jac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def:pub app -> JsxElement {
193193
onUsernameChange={lambda e: ChangeEvent { username = e.target.value;}}
194194
onPasswordChange={lambda e: ChangeEvent { password = e.target.value;}}
195195
onSubmit={handleSubmit}
196-
onToggleMode={lambda {
196+
onToggleMode={lambda _e: MouseEvent {
197197
isSignup = not isSignup;
198198
error = "";
199199
}}

0 commit comments

Comments
 (0)