You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
examples/server/webui/src/main.js: populate textarea from query string
Allow pre-filling the msg-input textarea with a message supplied via
a query parameter ?m=... and auto-focus the textarea. Example:
http://localhost:8080/?m=What%20is%20your%20name?
Alternatively, allow pre-filling the msg-input textarea via a query
parameter ?q=... and automatically start generating a response, e.g.:
http://localhost:8080/?q=What%20is%20your%20name?
* main.js: fill inputMsg from ?q or ?m
* main.js: once the App is mounted, click(msg-send) on ?q
* main.js: once the App is mounted, focus(msg-input) on ?m
* examples/server/webui/index.html: assign id="msg-send" to the "Send" button
Signed-off-by: Tim Janik <[email protected]>
0 commit comments