plc_control/web/js
caoqianming b7d55fed81 refactor(web): unify toast — remove duplicate, reuse api.js showToast
- Deleted redundant toast.js (was duplicating api.js's toast with conflicting CSS)
- Extended api.js showToast: returns {dismiss}, supports shake option, guards
  against double-dismiss
- Removed duplicate #toastContainer CSS block from styles.css; added shake
  animation to existing toast CSS
- logs.js: import showToast from api.js; WS disconnect shows persistent error
  toast with shake, reconnect shows success toast

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-25 13:11:23 +08:00
..
api.js refactor(web): unify toast — remove duplicate, reuse api.js showToast 2026-03-25 13:11:23 +08:00
app.js feat(web): dual-view UI — 运维/配置 tab, ops equipment cards with live signal values 2026-03-25 10:25:20 +08:00
chart.js fix(chart): restore realtime updates and axes 2026-03-23 12:55:12 +08:00
docs.js refactor(app): split services and web modules 2026-03-23 11:31:38 +08:00
dom.js feat(control): batch start/stop auto control for all enabled units 2026-03-25 13:05:23 +08:00
equipment.js fix(frontend): pre-select active unit when opening new equipment modal 2026-03-24 16:35:33 +08:00
events.js refactor(web): event card layout to 2-line (meta row + message row) 2026-03-24 16:46:32 +08:00
index.js refactor(web): split index html into flat fragments 2026-03-23 14:14:19 +08:00
logs.js refactor(web): unify toast — remove duplicate, reuse api.js showToast 2026-03-25 13:11:23 +08:00
ops.js feat(control): batch start/stop auto control for all enabled units 2026-03-25 13:05:23 +08:00
points.js fix(web): fix node count showing 2x by counting only details elements 2026-03-25 08:27:06 +08:00
roles.js refactor(control): align point roles and equipment kind 2026-03-24 13:17:53 +08:00
sources.js feat(web): reorganize equipment layout and point flows 2026-03-23 12:49:26 +08:00
state.js feat(web): dual-view UI — 运维/配置 tab, ops equipment cards with live signal values 2026-03-25 10:25:20 +08:00
units.js feat(web): dual-view UI — 运维/配置 tab, ops equipment cards with live signal values 2026-03-25 10:25:20 +08:00