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. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| block-selector | ||
| constants | ||
| datasets-detail-store | ||
| header | ||
| help-line | ||
| hooks | ||
| hooks-store | ||
| nodes | ||
| note-node | ||
| operator | ||
| panel | ||
| plugin-dependency | ||
| run | ||
| simple-node | ||
| store | ||
| utils | ||
| variable-inspect | ||
| workflow-preview | ||
| block-icon.tsx | ||
| candidate-node.tsx | ||
| constants.ts | ||
| context.tsx | ||
| custom-connection-line.tsx | ||
| custom-edge-linear-gradient-render.tsx | ||
| custom-edge.tsx | ||
| dsl-export-confirm-modal.tsx | ||
| features.tsx | ||
| index.tsx | ||
| node-contextmenu.tsx | ||
| panel-contextmenu.tsx | ||
| selection-contextmenu.tsx | ||
| shortcuts-name.tsx | ||
| style.css | ||
| syncing-data-modal.tsx | ||
| types.ts | ||
| update-dsl-modal.tsx | ||
| workflow-history-store.tsx | ||