Repository navigation
feat(git): enhance automation node handling with plugin configuration… - #701
Conversation
… and match labels
There was a problem hiding this comment.
ℹ️ No critical issues — two minor suggestions inline.
Reviewed changes
Reviewed the full 13-file diff at 21a70b6 (frontend-only).
- Git palette section:
git.*node types are split out of the Plugins lists into a dedicated Git group in all three Add menus, with theGit:prefix stripped inside that group (automation-node-palette.tsx). - Condition match labels: plugin/Git conditions now label their match output with the configured expected value instead of "Matched", threaded through
AutomationCanvasvia a newconditionMatchLabelprop (automation-canvas.tsx,$automationId.tsx). - Plugin action/trigger summaries: configured values are read through the declared
configSchemaand rendered as node-body summaries; the built-in Wait action showsWait {n}m. - No-config notice: plugin/Git conditions and actions whose schema declares no fields show a "needs no configuration" notice instead of the raw JSON editor (
automation-node-config-panel.tsx). - i18n: new keys added across all nine locales (verified key paths present in each).
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏
… and improve wait description handling
There was a problem hiding this comment.
✅ No new issues found. Both prior findings are addressed cleanly.
Reviewed changes
Reviewed the incremental delta at bb7b51e — two files changed since the prior review at 21a70b6, both responding to earlier feedback.
- Restored the
Built-inheading: the Add Condition and Add Action menus now gate theirBuilt-inlabel ongit* + plugin*counts, so it renders again now that Git types are split out of the plugin lists. - Fixed the Wait fallback: an unconfigured or non-positive
wait_minutesnow shows thenotConfigureddescription instead ofWait 0m.
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏
…ons and improve match label functionality
There was a problem hiding this comment.
✅ No new issues found. The
8c901a7delta is a clean refactor plus tests.
Reviewed changes
Reviewed the incremental delta at 8c901a7 (5 files, 240+/77−) on top of the prior approval at bb7b51e. All previous threads remain resolved.
- Extracted label helpers into
apps/web/src/lib/automation-plugin-config.ts:isGitNodeType,gitNodeShortLabel,pluginConfigRows, andpluginMatchLabel. Behavior matches the prior inline implementation, with enum values now also de-underscored (ready_for_review→ "Ready for review") and arrays/objects formatted without[object Object]. - Unit tests added (
automation-plugin-config.test.ts) covering empty schemas, unconfigured configs, defaults-vs-explicit values, enum prettification, array/object formatting, whitespace collapse, and the single-enumpluginMatchLabelcase. conditionMatchLabelnow opts out of schema defaults (useDefaults: false), so an unconfigured condition falls back to "Matched" as documented;describePluginNoderetains defaults for action/trigger summaries.- Palette simplification:
PluginTypeGrouptakes agitboolean instead of alabelKeystring; the actual file renders one label per group and routes all four call sites correctly. - Canvas: adds
title={b.label || undefined}to branch labels for truncated-label tooltips. - i18n: verified
branchFallbackand all prior keys (palette.git,description.pluginField,waitMinutes,noConfigNeeded) exist in all nine locales;branchFallbackis correctly nested underautomation.nodeConfig.description.
The new vitest file couldn't be executed in this sandbox (bun unavailable), but its expectations line up with the implementation. Remaining risk is unchanged: no e2e/component coverage for the automation UI, and the author hasn't checked it end-to-end in the running app.
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

Summary
Makes the Git nodes in the automation builder easier to find and read. Git triggers, conditions and actions get their own Git section in the Add menus instead of being listed under "Plugins", and the graph now shows what each node is configured to do.
Changes
git.) are listed under a "Git" group in Add Trigger / Add Condition / Add Action, separate from plugins. TheGit:prefix is dropped inside that section; nodes on the canvas keep it.Title: value(e.g.Target Branch: main). An unconfigured condition still falls back to "Matched".Wait {n}m.palette.git,description.pluginField,description.waitMinutes,nodeConfig.noConfigNeeded) added with translations in all nine locales.Frontend only; no API changes.
Testing
tsc -b, biome and the i18n locale tests pass.