No description
- Rust 48.5%
- JavaScript 20.9%
- Shell 14.7%
- CSS 7.5%
- HTML 7.4%
- Other 1%
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>
|
||
|---|---|---|
| crates | ||
| src/logic | ||
| .gitignore | ||
| buildenv.sh | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Makefile | ||