No description
  • Rust 48.5%
  • JavaScript 20.9%
  • Shell 14.7%
  • CSS 7.5%
  • HTML 7.4%
  • Other 1%
Find a file
Timur Gordon b8b42f4f4e
cleanup: delete legacy node-card code paths
Accumulated across the v3 iterations the editor had 4 distinct node-card
layouts still shipping in the CSS + JS. Only the final one is live;
everything else was dead. Deleting it.

CSS (hero_logic.css) — removed dead rules:
  .hl-node-header / -icon / -title / -status / -desc / -tags / -tag
  .hl-node[data-kind="..."] kind-coloured stripes
  .hl-node-preview / -preview-empty
  .hl-node-port (replaced by .hl-card-port)
  .hl-node-del / -runchip / -runsum / -runlink / -footer / -run
  .hl-node-grid / -col / -col-in / -col-out / -col-action / -col-chips
  .hl-node-io-row / -io-label / -tag-chip.io*
  .hl-node-runner (inline runner pane — removed earlier)
  .hl-runner-* family (head/body/go/close/field/outfield/list-*/link/json)
  .hl-nf-row / -grid / -grid-2 / -grid-4 / -hint / -title / -desc /
    -kind / -mini / -row-inline / -dim
  .hl-field-row / -label / -label-edit / -preview / -edit / -name-input /
    -type-select / -del
  .hl-action-card / -header / -title / -desc / -actions / -placeholder /
    -row / -name / -footer / -spacer / -meta
  .hl-run-pane / -head / -body / -col / -form / -title / -status /
    -toggle / -output / -logs / -hint
  .hl-editor-topbar, .hl-modebar, .hl-mode-btn + mode-active
  .hl-io-add, .hl-io-format, .hl-io-format-view
  .hl-card-status (pre-redesign run status chip)
  .hl-node.hl-node-runmode rules (run mode was merged into edit)
  .hl-node.hl-node-edit card-box overrides (superseded by .hl-node.hl-card)
  #hl-field-modal-textarea (modal removed)
  @keyframes hl-pulse (unused)

JS (workflow_editor.js) — removed dead functions and handlers:
  setupFieldEditorModal() + readField() + writeField()
  setupSchemaFieldModal()
  showNodeForm() + writeBackNode() + refreshPreview()
  populateModels() + defaultAiConfig()
  parseSchemaProps() + serializeSchema() + renderSchemaPropsEditor()
  commitSchemaEditor() + window.hlSchemaAddField
  defaultName() — replaced by empty-string default in addNodeFromPalette
  actionNameFor() — action names come from the picker, not auto-generated
  __kind / ai_config.* / script / transform_expr / condition_expr /
    retry_count / timeout_secs branches in setupInlineEditing (card
    doesn't emit those data-field values any more)
  Legacy `interpolate_template` residue (moved to hero_proc earlier)

Templates (workflow_editor.html) — removed dead modals:
  #hl-field-modal (long-form textarea editor)
  #hl-schema-field-modal (per-field metadata form)

Total diff: -1500 lines, +~60 lines (mostly comments explaining what's
actually live now). CSS 2130 → 1239, JS 1708 → 1130, template 192 → 131.

Rendering, event wiring, and the hl-card-* redesign land exactly as
before — this commit is purely legacy removal.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 17:22:40 +02:00
crates cleanup: delete legacy node-card code paths 2026-04-15 17:22:40 +02:00
src/logic Add generated RPC, types, and OSIS server source files 2026-04-15 11:34:41 +02:00
.gitignore feat: add hero_logic_ui admin dashboard 2026-04-13 09:35:46 +02:00
buildenv.sh feat: add hero_logic_ui admin dashboard 2026-04-13 09:35:46 +02:00
Cargo.lock refactor: delegate {{var}} templating to hero_proc 2026-04-15 13:02:44 +02:00
Cargo.toml feat: v3 workflow editor — typed I/O, unified card, inline runner 2026-04-15 11:40:29 +02:00
Makefile build: detect hero_proc down and print actionable error in make run 2026-04-13 15:32:52 +02:00