fix: add Enter key handlers to all auth and nickname inputs #3

Merged
ryan merged 2 commits from fix/enter-key-handlers into main 2026-03-03 01:34:22 +00:00
Owner

Summary

  • Add data-on:keydown.key_enter to the username field on login/register pages and the nickname input on the join-game prompt, so pressing Enter submits the form from any field
  • Add *.templ to the .gitignore allowlist (was missing, templ source files were previously force-added)
## Summary - Add `data-on:keydown.key_enter` to the username field on login/register pages and the nickname input on the join-game prompt, so pressing Enter submits the form from any field - Add `*.templ` to the `.gitignore` allowlist (was missing, templ source files were previously force-added)
ryan added 1 commit 2026-03-03 01:06:10 +00:00
fix: add Enter key handlers to all auth and nickname inputs
All checks were successful
CI / Deploy / test (pull_request) Successful in 14s
CI / Deploy / lint (pull_request) Successful in 25s
CI / Deploy / deploy (pull_request) Has been skipped
4f1ee11fa3
Pressing Enter on the username field in login/register or the nickname
field in the join-game prompt now submits the form, matching user
expectations. Also add *.templ to the gitignore allowlist.
ryan added 1 commit 2026-03-03 01:27:46 +00:00
chore: gitignore generated _templ.go files, track .templ sources
Some checks failed
CI / Deploy / test (pull_request) Failing after 13s
CI / Deploy / lint (pull_request) Failing after 24s
CI / Deploy / deploy (pull_request) Has been skipped
2bea5bb489
Generated _templ.go files are deterministic output from .templ sources,
same as output.css from input.css. Remove them from version control to
reduce diff noise and merge conflicts. Add build:templ and live:templ
tasks to the Taskfile so generation happens as part of the build.
ryan merged commit 9c3f659e96 into main 2026-03-03 01:34:22 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ryan/games#3