Skip to content

feat: support trigger, subflow and multi-run (gacha) per node#88

Closed
linqiquan wants to merge 20 commits intomainfrom
dev
Closed

feat: support trigger, subflow and multi-run (gacha) per node#88
linqiquan wants to merge 20 commits intomainfrom
dev

Conversation

@linqiquan
Copy link
Contributor

No description provided.

Leeon-Tang and others added 20 commits March 12, 2026 20:23
…esults cleanup

- Directory Import node: full electron + browser implementation with IPC
- Remove custom file preview grid from DirectoryImportBody, use shared ResultsPanel
- Fix iterator capsule positioning: remove dynamic capsuleExtraOffset, use fixed CAPSULE_TOP_OFFSET
- Add event loop yield between topological levels to prevent UI freeze
- File Export: support array inputs from iterator output
…TP server

- Refactor iterator node into generalized subgraph/group node system
  - GroupNodeContainer, GroupIONode, SubgraphBreadcrumb, SubgraphToolbar
  - useGroupAdoption hook (replaces useIteratorAdoption)
  - Dynamic fields editor for group I/O configuration

- Add trigger node system (base, HTTP trigger, directory trigger)
  - HTTP server service with start/stop/status management
  - HTTP response output node
  - HTTP server IPC handlers

- Add ImportWorkflowDialog for importing workflows as subgraphs

- Update execution engine for subgraph and trigger support
- Update workflow/execution/UI stores for group node operations
- Update node palette, config panel, results panel
- Add i18n strings (en, zh-CN) for new features
- Update DB schema for subgraph support
- Split run button with count picker (1/2/3/4/5/8/10x) on each node
  - Sequential runs with auto-randomized seed perturbation
- Select which run result to use as downstream output
  - 'Use as output' button in results panel (stacked + full list views)
  - 'Use as output' button in fullscreen preview overlay
- Preview overlay improvements
  - Video navigation support (prev/next arrows, thumbnail strip)
  - Thumbnail strip for multi-result navigation (images + videos)
  - Adjusted max-height for navigable previews
- Reset stack index on new results arrival
- Use selectedOutputIndex when resolving upstream results for execution
- Add i18n strings for selectAsOutput/selectedAsOutput (all 18 locales)
…ort guard

- Show current workflow in list as disabled with '(current)' label
- Block importing workflows containing trigger nodes into groups
- Display import error messages inline (trigger rejection, general errors)
- Add i18n strings: importContainsTrigger, currentWorkflow (all 18 locales)
- Clear editingGroupId when closing tabs (doCloseTab, closeMultipleTabs)
  to prevent stale subgraph view leaking across workflow tabs
- Remove input/directory-import node (replaced by trigger/directory)
  - Delete handler, registration, browser definition, execution logic
  - Remove from all 18 i18n locale files
  - Clean up CustomNodeBody and NodeIcons references
…n, pagination layout, file export inline params
…ut/http-response, group node; UI polish for run badge, tooltips, guide, collapse
…d input preview with selectedOutputIndex, resolve all tsc errors
- Fix GroupNodeContainer to use dynamic t() translation instead of stale data.label
- Add __userRenamed flag so custom names are preserved after language switch
- Update Visual Workflow Editor screenshot in README
@linqiquan linqiquan closed this Mar 24, 2026
@linqiquan linqiquan deleted the dev branch March 24, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants