mirror of https://github.com/langgenius/dify.git
This comprehensive restore includes: ## Test Run System Restoration - Restore test-run-menu.tsx component with multi-trigger support and keyboard shortcuts - Restore use-dynamic-test-run-options.tsx hook for dynamic trigger option generation - Restore workflow-entry.ts utilities for entry node detection and validation - Integrate complete test run functionality back into run-mode.tsx ## Block Selector System Fixes - Fix workflow block selector constants by uncommenting BLOCKS and START_BLOCKS arrays - Restore proper i18n translations for trigger node descriptions using workflow.blocksAbout keys - Filter trigger types from Blocks tab to prevent duplication with Start tab - Fix trigger node handle display to match start node behavior (hide left input handles) ## Workflow Validation System Improvements - Restore unified workflow validation using correct getValidTreeNodes(nodes, edges) signature - Remove duplicate Start node validation from isRequired mechanism - Eliminate "user input must be added" validation error by setting Start node isRequired: false - Fix end node connectivity validation to properly detect valid workflow chains ## Component Integration - Verify all dependencies exist (TriggerAll icon, useAllTriggerPlugins hook) - Maintain keyboard shortcut integration (Alt+R, ~, 0-9 keys) - Preserve portal-based dropdown positioning and tooltip structure - Support multiple trigger types: user_input, schedule, webhook, plugin, all This restores the complete test run functionality that was missing from feat/trigger branch by systematically analyzing and restoring components from feat/trigger-backup-before-merge. |
||
|---|---|---|
| .. | ||
| chat-variable-button.tsx | ||
| checklist.tsx | ||
| editing-title.tsx | ||
| env-button.tsx | ||
| global-variable-button.tsx | ||
| header-in-normal.tsx | ||
| header-in-restoring.tsx | ||
| header-in-view-history.tsx | ||
| index.tsx | ||
| restoring-title.tsx | ||
| run-and-history.tsx | ||
| run-mode.tsx | ||
| running-title.tsx | ||
| scroll-to-selected-node-button.tsx | ||
| test-run-menu.tsx | ||
| undo-redo.tsx | ||
| version-history-button.tsx | ||
| view-history.tsx | ||
| view-workflow-history.tsx | ||