caoqianming
49a4afa4a4
feat(web): auto-toast on API errors with dismissible notifications
...
Add showToast() utility in api.js and a matching toast stylesheet.
apiFetch now automatically shows a toast for any 400+ response before
re-throwing, so callers can still .catch() for additional handling.
Toasts stack at the bottom-right, auto-dismiss after 4s, and support
error/warning/success/info levels via a left-border colour accent.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 13:43:57 +08:00
caoqianming
a38204511a
refactor(control): align point roles and equipment kind
2026-03-24 13:17:53 +08:00
caoqianming
c50127b9d0
feat(event): stream created events over websocket
2026-03-24 12:28:12 +08:00
caoqianming
1f29eb3871
feat(web): add unit and event management views
2026-03-24 10:56:57 +08:00
caoqianming
4d53ee0337
refactor(web): split index html into flat fragments
2026-03-23 14:14:19 +08:00
caoqianming
6cdc51a249
refactor(point): fold binding into edit action
2026-03-23 13:20:03 +08:00
caoqianming
e55c1d5efb
fix(chart): restore realtime updates and axes
2026-03-23 12:55:12 +08:00
caoqianming
fec7b60d6b
feat(web): reorganize equipment layout and point flows
2026-03-23 12:49:26 +08:00
caoqianming
06ace5e67d
refactor(app): split services and web modules
2026-03-23 11:31:38 +08:00
caoqianming
a691f07e8e
feat(web): add API.md drawer preview
2026-03-20 19:00:46 +08:00
caoqianming
920e37f759
feat(web): add inline point chart panel
2026-03-20 10:54:20 +08:00
caoqianming
7e6c7a7e4c
feat(reconnect): add retry backoff and manual reconnect
2026-03-17 08:15:54 +08:00
caoqianming
dd110919dd
style(web): remove rounded corners and localize card titles
2026-03-16 10:25:32 +08:00
caoqianming
ae134c722a
refactor(ui): redesign web interface with flat modern style
...
Made-with: Cursor
2026-03-16 08:48:12 +08:00
caoqianming
efed6aa816
feat: add page
2026-03-11 13:23:05 +08:00