Commit Graph

27 Commits

Author SHA1 Message Date
Richard Sauer
05facc24f1 Fix automation: multiple can be ON, turning off only removes unique outputs 2026-04-10 06:46:00 +10:00
Richard Sauer
ba697f410f Add PLC address, ON/OFF values to card editor for all card types 2026-04-09 13:42:21 +10:00
Richard Sauer
61605fb7f2 Custom card colors (text/active/inactive), smart automation toggle logic 2026-04-09 13:32:17 +10:00
Richard Sauer
b76cb7be9e Restore all V1 features: automation, inline +, card editor, popups, burner-fan link 2026-04-09 13:14:16 +10:00
Richard Sauer
9a80739b2d Remove GrapesJS vendor files, cache-bust sortable 2026-04-09 11:56:56 +10:00
Richard Sauer
a10a527a21 Restore full working V1 from login commit 2026-04-08 19:25:32 +10:00
Richard Sauer
561d875e69 Restore editor.html from known-good state (flame animation commit) 2026-04-08 19:21:50 +10:00
Richard Sauer
2da06ca462 Move Hot Fan to Speed Control, rename pages, burner auto-enables fan 2026-04-08 18:48:29 +10:00
Richard Sauer
6374749397 Add blue pencil edit button to card toolbar 2026-04-08 16:44:13 +10:00
Richard Sauer
4686458926 Card properties editor: name, type, color, font size, width, setpoints 2026-04-08 16:40:47 +10:00
Richard Sauer
b4033f210d Automation: bigger heading, no IDLE/ACTIVE text, red/green toggle 2026-04-08 16:35:27 +10:00
Richard Sauer
6c24388e8f Remove popup border, automation simulates linked controls, card resize button 2026-04-08 16:28:06 +10:00
Richard Sauer
57c29b4638 Remove blue outline from popup, use subtle border 2026-04-08 16:21:01 +10:00
Richard Sauer
9c0a58d066 Fix popup: solid dark background, stronger overlay, drop shadow 2026-04-08 16:12:08 +10:00
Richard Sauer
b3a4aa1e36 Fix popup z-index to cover all content 2026-04-08 16:05:51 +10:00
Richard Sauer
4017617c37 User-friendly automation editor with dropdowns and visual UI
- Replace text prompt with proper popup form
- Dropdown to select control (grouped: Temperatures, Motors, Outputs)
- Action dropdown: Turn ON / Turn OFF / Set speed to / Set temp to
- Number input with units (°C or %) only shows when action is "set"
- Add/remove rule buttons
- Save/Cancel buttons
- Non-technical customer can use without typing any code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 16:03:26 +10:00
Richard Sauer
c6e3b0c0eb Replace bottom palette with inline + buttons, add automation card type
- Empty grid slots show + placeholder buttons in edit mode
- Click + to see menu: Temperature, Motor, Output, Burner, Automation
- Automation card: combines temp setpoints, motor speeds, and outputs
  into a single rule-based card (edit rules via click in edit mode)
- Automation cards show rule summary and ACTIVE/IDLE state
- Bottom add-palette removed for cleaner layout

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 15:56:06 +10:00
Richard Sauer
f756de43c5 Add login screen: user picker with initials, new user join, cookie-based session 2026-04-08 13:16:09 +10:00
Richard Sauer
82678f9c58 Replace burner pulse with flame SVG animation 2026-04-08 13:09:54 +10:00
Richard Sauer
0975d031a3 Fix fan/agitator animations, add proper SVG graphics
- Fan: 4 curved blades spinning from center, centered rotation
- Agitator: 3 flat paddles with hub, slower spin, distinct look
- Both now rotate properly around their center (translate+rotate)
- Default equipment: shaker=vibrate, mill=vibrate, brush=glow,
  discharge=flow, temp probes=pulse
- Saved layouts preserved (only default.json changed)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 12:57:07 +10:00
Richard Sauer
1d26f78592 Enhanced animations: state-aware ON/OFF, 6 new animation types
- Linked elements show static red ring when OFF, animate when ON
- Shapes get red tint fill when linked control is OFF
- New animations: blink, vibrate, glow, flow (plus existing fan, agitator, burner, conveyor, pulse)
- Right-click context menu shows all 10 animation options
- Saved layout (current.json) is NOT touched by this update

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 12:52:45 +10:00
Richard Sauer
748f8d5238 Full schematic editor: shapes, animations, labels, arrows, temp probes
- New shape types: label (text), arrow (flow), temp_probe, output_indicator
- Right-click context menu: change shape, animation, color, link to HMI control
- Toolbar: add rect/circle/label/arrow/temp probe/output, delete selected
- IN/OUT now draggable label elements
- Temp probes with pulse animation and color coding
- Arrows with adjustable length and rotation
- Custom colors on any element (fill + stroke)
- All positions/sizes/rotations saved to layout JSON

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 12:28:24 +10:00
Richard Sauer
d87475558d Resize + rotate equipment blocks in schematic editor 2026-04-08 12:18:37 +10:00
Richard Sauer
5f8e7c0ffd Editable machine simulation: drag equipment, rename labels, data-driven SVG 2026-04-08 12:14:20 +10:00
Richard Sauer
5c33a29bc7 Fix relative paths for Caddy prefix stripping 2026-04-08 12:10:57 +10:00
Richard Sauer
592d4bf6fb Fix port conflict: use 5051 externally 2026-04-08 12:00:59 +10:00
Richard Sauer
64254edcf7 Initial commit: BFA Banana Dryer HMI Design Collaboration Tool
Split-screen web app: HMI layout editor + machine simulation.
- Drag/drop card layout with SortableJS
- Add/remove/rename controls and pages
- Comments system with user picker (Richard, Rob, Guido + add more)
- SVG schematic with animated overlays (fan spin, conveyor scroll, burner glow)
- Simulated PLC state in preview mode
- Built-in help manual
- Docker deployment behind Caddy at sauer.com.au/bfa-design

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 11:58:50 +10:00