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
feat(server): redesign demo UI with real-time lattice and zoom (#387)
* feat(server): redesign demo UI with real-time lattice and zoom
- Add /lattice endpoint returning SVG as JSON
- Show morpheme table and lattice graph side-by-side in real time
(previously lattice opened in a new tab via Lattice button)
- Highlight lattice node on morpheme row click
- Add zoom controls (+/-, Fit, Reset, Ctrl+wheel) for SVG graph
- Auto-fit zoom to container on each analysis
- Split inline CSS/JS into asset/demo.css and asset/demo.js
- Embed assets via embed.FS; serve static files at /asset/
* chore: fix golangci-lint errors in LatticeHandler
* chore: fix demo HTML bugs and add LatticeHandler tests
* refactor(server): hide HTML templates from /asset/ and clean up
* chore(server): skip lattice rendering on empty input
* feat(server): add SVG/PNG download dropdown to lattice demo UI
* feat(server): improve lattice zoom anchoring and morpheme selection
* docs: replace webapp gif with demo video in README
chore: Update kagome-dict and fix Go version (#356)
* chore: Update kagome-dict
* chore: Replace b.Loop() with for loop for Go 1.23 support
* chore: Replace t.Context() with context.Background() for Go 1.23 support