Go to file
caoqianming 69ae0b05b7 feat(web): add toast notifications + WS disconnect alert
- New toast.js module: showToast(message, type, duration)
  - types: error / warning / success / info
  - duration=0 → persistent until dismissed or manually closed
  - click to dismiss early
  - shake animation on appear
- WS disconnect: persistent red error toast "后端连接断开,正在重连…"
- WS reconnect: dismisses disconnect toast, shows green "连接已恢复" for 3s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 13:08:14 +08:00
docs docs: update feature spec with current implementation status 2026-03-25 08:27:09 +08:00
migrations feat(control): add unit and event foundation 2026-03-24 10:20:23 +08:00
src feat(control): batch start/stop auto control for all enabled units 2026-03-25 13:05:23 +08:00
web feat(web): add toast notifications + WS disconnect alert 2026-03-25 13:08:14 +08:00
.gitignore feat: 软件第一个版本 2026-03-03 13:32:05 +08:00
API.md docs(api): rewrite API.md to cover all current endpoints 2026-03-25 08:50:47 +08:00
Cargo.lock feat: add page 2026-03-11 13:23:05 +08:00
Cargo.toml feat(page): add page table and CRUD handlers 2026-03-11 13:54:14 +08:00