Commit Graph

7 Commits

Author SHA1 Message Date
caoqianming f8757a757e i18n(feeder): replace all English UI text with Chinese
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 09:12:15 +08:00
caoqianming 268c5f76af refactor(feeder): remove auto control buttons from unit cards
Start Auto / Stop Auto / Ack Fault belong in the ops view only.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 09:04:27 +08:00
caoqianming 6b9e396044 refactor(feeder): remove batch set-unit from platform config
Batch equipment-unit assignment is now handled via the "选择设备"
modal in app-config. Remove the batch toolbar, checkbox selection,
and related JS/state from the equipment panel in platform config.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 09:00:18 +08:00
caoqianming 3a9b52864b fix(feeder): compact card grid for units and equipment selection modal
- Fix unit-config-list grid by increasing specificity over .list flex
- Equipment selection modal uses card grid (auto-fill 150px) instead
  of one-per-line list
- Widen modal to accommodate card grid

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 08:56:01 +08:00
caoqianming 3e026e1b99 feat(feeder): unit card grid in app-config with equipment selection modal
- Unit cards in app-config use CSS grid (auto-fill 260px min) for
  compact card layout across the full page
- Each card shows bound equipment tags and a "选择设备" button
- Equipment selection modal allows multi-select with checkboxes,
  calls batch set-unit API to bind/unbind, then refreshes
- App-config loads both units and equipments on first switch

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 08:43:59 +08:00
caoqianming bc8b5a24ab fix(feeder): render units in app-config panel, remove from platform-config
- Delete feeder source-panel override (units no longer in platform config)
- Extract buildUnitCard() and render to both unitList and unitConfigList
- Guard null DOM refs for removed unit buttons

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-20 08:31:10 +08:00
caoqianming 9bbbb82459 refactor(web): move feeder HTML, JS, and index into web/feeder
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 08:17:51 +08:00