Commit Graph

101 Commits

Author SHA1 Message Date
Nikhil-Doye 686db1bae5 Add clear all workflows functionality and confirmation dialog
- Enhanced WorkflowList component to include a "Clear All" button for deleting all workflows, with a confirmation prompt to prevent accidental deletions.
- Updated WorkflowToolbar component to implement a dialog for confirming the reset of all nodes in the current workflow, ensuring user awareness of irreversible actions.
- Improved user interface with visual feedback for critical actions, enhancing overall usability and safety in workflow management.
2025-10-27 15:53:58 -04:00
Nikhil-Doye 4bcf36e1dd Implement secure credential management for database connections
- Introduced SecureCredentialManager for encrypted storage of sensitive database credentials, including passwords and connection strings.
- Updated DatabaseConnectionManager to utilize secure credential storage, ensuring plaintext credentials are never saved.
- Added methods for securely storing, retrieving, updating, and deleting credentials, enhancing security and compliance.
- Implemented credential migration for existing connections to transition from plaintext to secure storage.
- Enhanced connection management with features for masked credentials and secure access, improving overall security posture.
2025-10-27 15:46:49 -04:00
Nikhil-Doye dc146df77d Add comprehensive API error handling and validation utilities
- Introduced apiErrorHandler module for structured error management in API calls, including timeout handling, retries, and response validation.
- Implemented safeAPICall function to wrap API calls with error handling and retry logic.
- Enhanced existing services (openaiService, embeddingProcessor, llmProcessor) to utilize the new error handling utilities, improving robustness and user feedback.
- Added validation functions for OpenAI-like responses and embedding responses to ensure data integrity.
- Improved error logging and user-friendly messages for better debugging and user experience.
2025-10-27 15:08:12 -04:00
Nikhil-Doye 05cf50b3a3 Add concurrency limiting functionality to execution engine
- Introduced ConcurrencyLimiter class to manage concurrent operations and prevent resource exhaustion.
- Implemented run, runAll, and runAllOrThrow methods for executing functions with concurrency control.
- Enhanced ExecutionEngine to utilize concurrency limiting when executing parallel groups and nodes, improving resource management and execution efficiency.
- Integrated mapWithConcurrency and mapWithConcurrencySettled functions for mapping operations with concurrency control.
2025-10-27 15:00:32 -04:00
Nikhil-Doye 571a5a04e5 Add test input configuration feature to ExecutionPanel
- Introduced TestInputConfigurator component for configuring test inputs in workflows.
- Enhanced ExecutionPanel to include a button for opening the test input configuration modal.
- Integrated test input management logic using the new TestInputManager service to handle input mappings and validation.
- Updated workflow execution logic to apply test inputs based on user configuration, improving flexibility and usability in testing scenarios.
2025-10-27 14:56:56 -04:00
Nikhil-Doye e1cf8e38a7 Add workflow validation features and UI components
- Introduced WorkflowValidationPanel component to display validation results and issues in the WorkflowEditor.
- Integrated comprehensive workflow validation logic using the new WorkflowValidationEngine, which checks for errors, warnings, and overall workflow structure before execution.
- Enhanced WorkflowEditor to include a validation status badge that toggles the visibility of the validation panel.
- Updated ExecutionEngine to utilize the new validation engine, ensuring workflows are validated prior to execution, with detailed error messages for user feedback.
- Added visual indicators for validation status, improving user experience and workflow management.
2025-10-27 14:49:38 -04:00
Nikhil-Doye ce9f7932c3 Add execution logging and event handling components
- Introduced ExecutionLogger component to display real-time execution logs, including workflow and node events.
- Added NodeExecutionIndicator component to visualize the status and progress of individual nodes during execution.
- Enhanced WorkflowEditor to integrate execution logging, allowing users to toggle the logger and view execution metrics.
- Implemented execution event bus to manage and emit events related to workflow execution, including start, progress, completion, and errors.
- Updated ExecutionEngine to emit relevant events during execution phases for improved tracking and user feedback.
2025-10-27 14:30:04 -04:00
Nikhil-Doye b61ddef31a Enhance README.md with new data flow architecture section
- Added a detailed data flow architecture diagram using Mermaid syntax to illustrate the workflow execution process.
- Expanded the introduction to emphasize the capabilities of the AI workflow builder.
- Improved overall content structure for better clarity and user understanding.
2025-10-25 20:55:21 -04:00
Nikhil-Doye ee4844d593 Add architecture diagram documentation for workflow builder
- Introduced a comprehensive architecture diagram detailing the high-level system architecture, component architecture, and data flow for the workflow builder.
- Included visual representations using Mermaid syntax to illustrate frontend layers, state management, core services, AI/ML services, external integrations, and data processing.
- Documented the technology stack, key features, and architecture principles to provide clarity on system design and functionality.
2025-10-25 12:41:41 -04:00
Nikhil-Doye 1649788ce7 Add Slack integration test script and enhance natural language processing for notifications
- Introduced a new test script to verify Slack integration with AI Copilot, including intent classification and entity extraction for reminders.
- Enhanced the natural language processing service to support new entity types for database operations, notifications, and email automation.
- Updated workflow generation logic to include Slack and database operations, ensuring proper handling of notifications and messages.
- Expanded entity extraction to cover additional notification types and channels for improved integration capabilities.
2025-10-24 00:42:32 -04:00
Nikhil-Doye 1efe6db5a2 Enhance README.md with improved formatting and content updates
- Updated the introduction to highlight the AI workflow builder's capabilities.
- Enhanced feature sections with icons and clearer descriptions for better readability.
- Added new sections for workflow management, execution, testing, and advanced features with corresponding icons.
- Improved quick start instructions and added visual elements for clarity.
- Included example workflows with icons to illustrate use cases.
- Updated troubleshooting and support sections for better user guidance.
2025-10-23 17:15:47 -04:00
Nikhil-Doye 408ab9b1e2 Remove Slack integration components, including SlackWizard, SlackNode, slackProcessor, SlackService, and related configurations, to streamline the codebase. 2025-10-23 17:02:26 -04:00
Nikhil-Doye 63de59f957 Add Gmail integration configuration fields to NodeConfiguration
- Introduced detailed configuration fields for Gmail integration, including access token, operation type, recipient, subject, body, message ID, and search query.
- Enhanced user experience by providing tailored input options for various Gmail operations, supporting send, read, reply, forward, draft, label, search, and attachment functionalities.
2025-10-23 17:00:17 -04:00
Nikhil-Doye b6226cb1a8 Update labelData type in GmailService for improved type safety 2025-10-23 16:50:01 -04:00
Nikhil-Doye 3b095dbafe Add Gmail integration support across components
- Introduced Gmail integration in ConfigurationWizard with a new wizard step for Gmail operations.
- Updated NodeLibrary to include Gmail as a node type with associated color coding.
- Enhanced BaseNode to represent Gmail with an appropriate icon.
- Configured nodeTypeConfigs for Gmail with detailed descriptions and common use cases.
- Added Gmail-specific fields in fieldConfigs for operation configuration.
- Implemented GmailService and gmailProcessor for handling various Gmail operations, including sending, reading, and managing emails.
- Created GmailNode component for visualizing Gmail operation details, including status and configuration.
- Developed GmailWizard component for configuring Gmail operations with dynamic form fields based on selected operation type.
- Updated ProcessorRegistry to recognize Gmail-related patterns for improved operation handling.
2025-10-23 16:49:04 -04:00
Nikhil-Doye 0756db7e0e Add 'discord' node type to NodeLibrary for integration support 2025-10-23 16:37:54 -04:00
Nikhil-Doye 72918c1ad7 Add Discord integration support across components
- Introduced a new 'discord' entry in the ConfigurationWizard for Discord integration setup.
- Updated NodeLibrary to include Discord as a node type with associated color coding.
- Enhanced BaseNode with Discord icon representation.
- Configured nodeTypeConfigs for Discord with detailed descriptions and common use cases.
- Added connection suggestions for Discord nodes to facilitate integration patterns.
- Implemented DiscordService and discordProcessor for handling various Discord operations, including sending messages, managing channels, and user interactions.
- Created DiscordWizard component for configuring Discord operations with dynamic form fields based on selected operation type.
- Added DiscordNode component for visualizing Discord operation details, including status and configuration.
2025-10-23 16:31:39 -04:00
Nikhil-Doye 24f687191f Enhance FieldWithHelp and NodeConfiguration components with nodeType support
- Added nodeType prop to FieldWithHelp for dynamic field configuration based on node type.
- Updated getFieldConfig function to retrieve node-specific field configurations.
- Integrated nodeType in NodeConfiguration to pass relevant type to input fields, improving flexibility for different operations.
2025-10-23 16:03:14 -04:00
Nikhil-Doye 80f7d2f600 Add Slack integration configuration fields to NodeConfiguration
- Introduced configuration fields for Slack integration, including bot token, operation type, channel, message text, and user ID.
- Enhanced user experience by providing tailored input options for various Slack operations.
2025-10-23 15:56:01 -04:00
Nikhil-Doye 096a87ece0 Enhance WorkflowEditor performance and clean up connectionSuggestions
- Utilized useMemo in WorkflowEditor to optimize node retrieval based on currentWorkflow.
- Removed unused cycle detection logic from connectionSuggestions to streamline the codebase.
2025-10-23 15:54:03 -04:00
Nikhil-Doye b194addd76 Refactor WorkflowEditor and connection suggestion logic; add SlackNode export
- Removed unused connection handling functions from WorkflowEditor to streamline the component.
- Updated connectionSuggestions to improve cycle detection with a new hasCycleWithEdges function.
- Exported SlackNode from the nodes index for enhanced integration with Slack operations.
2025-10-23 15:26:23 -04:00
Nikhil-Doye 62d0398a50 Add Slack integration support in WorkflowEditor and execution engine
- Updated WorkflowEditor to include SlackNode in node types for enhanced workflow visualization.
- Modified executionEngine to support Slack operations by importing the slackProcessor.
- Enhanced ProcessorRegistry to recognize Slack-related patterns for improved operation handling.
2025-10-23 15:25:01 -04:00
Nikhil-Doye 5ca121b2ab Add SlackWizard component for configuring Slack operations
- Introduced SlackWizard component to facilitate the configuration of various Slack operations, including sending messages, managing channels, and setting reminders.
- Implemented dynamic form fields based on selected operation type, enhancing user experience with tailored input options.
- Added state management for operation selection and configuration updates, ensuring real-time feedback and validation.
2025-10-23 15:10:22 -04:00
Nikhil-Doye 4136930cb5 Add SlackNode component for enhanced Slack operation visualization
- Introduced SlackNode component to display Slack operation details, including status, configuration, and relevant metadata.
- Implemented dynamic rendering of operation icons and labels based on the selected Slack operation type.
- Enhanced user experience with status indicators and error displays for better feedback on operation outcomes.
2025-10-23 15:08:47 -04:00
Nikhil-Doye 578456b8de Add slackProcessor function for handling Slack operations
- Implemented slackProcessor to validate Slack configuration and execute operations using SlackService.
- Added error handling for configuration validation and operation execution to ensure robust integration.
- Standardized response format for successful operations, including relevant metadata.
2025-10-23 15:07:35 -04:00
Nikhil-Doye e518a70d37 Add SlackService class to handle various Slack operations
- Implemented SlackService to manage Slack API interactions, including sending messages, managing channels, user operations, file uploads, reactions, and reminders.
- Added error handling and configuration validation for each operation to ensure robust integration with Slack.
- Introduced a makeRequest method for streamlined API calls to the Slack endpoint.
2025-10-23 15:07:03 -04:00
Nikhil-Doye 315e01cf12 Add Slack integration support across components
- Introduced a new 'slack' entry in the ConfigurationWizard for Slack integration setup.
- Updated NodeLibrary to include Slack as a node type with associated color coding.
- Enhanced BaseNode with Slack icon representation.
- Configured nodeTypeConfigs for Slack with detailed descriptions and common use cases.
- Added connection suggestions for Slack nodes to facilitate integration patterns.
2025-10-23 15:05:40 -04:00
Nikhil-Doye 800328f166 Add Slack integration types and update NodeType for enhanced functionality
- Introduced a new 'slack' entry in NodeType to support Slack operations.
- Added SlackOperation type and SlackConfig interface to define various Slack operations and their configurations, enhancing integration capabilities.
2025-10-23 15:04:05 -04:00
Nikhil-Doye fde48770f1 Enhance NodeConfiguration with step property and format options for improved readability
- Added a new 'step' property to the FieldConfig interface for better configuration of numeric fields.
- Reformatted the options array in the operation configuration for improved readability and maintainability.
2025-10-23 14:52:20 -04:00
Nikhil-Doye 635a33845b Remove unused icon imports from BaseNode component for cleaner code 2025-10-23 14:51:32 -04:00
Nikhil-Doye 46251f166a Refactor NodeConfiguration to enhance database operation handling
- Introduced a new FieldConfig interface for better type safety and clarity in field definitions.
- Consolidated database operation configurations under a single "database" entry, streamlining the configuration process.
- Updated field labels and placeholders to improve user guidance and consistency across database operations.
2025-10-23 14:51:08 -04:00
Nikhil-Doye d71ceeac4b Add Trash2 icon to UnifiedDatabaseNode for enhanced operation options 2025-10-23 14:50:33 -04:00
Nikhil-Doye 6f824e22ed Refactor UnifiedDatabaseNode operation icons for improved readability
- Updated the operationIcons definition in UnifiedDatabaseNode to enhance code clarity by formatting the type declaration across multiple lines.
- Simplified the ProcessorRegistry by consolidating database operation types into a single "database" entry, streamlining the configuration for database-related tasks.
2025-10-23 14:49:55 -04:00
Nikhil-Doye 6958653a75 Remove unused imports from UnifiedDatabaseNode and UnifiedDatabaseService for cleaner code 2025-10-23 14:49:31 -04:00
Nikhil-Doye 077b4dcc45 Refactor database node configuration to unify database operations
- Consolidated individual database operation types (query, insert, update, delete) into a single "database" entry for improved clarity and maintainability.
- Updated connection suggestions and common patterns to reflect the new unified structure, enhancing the overall configuration of database nodes.
2025-10-23 14:49:13 -04:00
Nikhil-Doye c849e7e4d8 Consolidate database operation types in NodeLibrary component
- Unified individual database operation types (query, insert, update, delete) into a single "database" entry for improved clarity and maintainability.
- Updated associated color mappings to reflect this consolidation, enhancing the overall structure of the NodeLibrary component.
2025-10-23 14:48:54 -04:00
Nikhil-Doye 33214f66e1 Add database operation configuration to fieldConfigs
- Introduced a new 'operation' entry in fieldConfigs to define various database operations (Query, Insert, Update, Delete, Aggregate, Transaction).
- Enhanced user guidance with descriptions, help text, and examples for each operation type.
- Updated field mappings to consolidate database operation parameters under a single entry for improved clarity and maintainability.
2025-10-23 14:48:43 -04:00
Nikhil-Doye 88ff76e38b Consolidate database operation labels into a single entry for improved clarity
- Updated the ConfigurationWizard component to unify individual database operation labels (query, insert, update, delete) under a single "Database Operations" label.
- This change enhances the clarity of the configuration interface and aligns with recent refactoring efforts to streamline database management.
2025-10-23 14:48:28 -04:00
Nikhil-Doye 521fcb19a9 Refactor database node configuration to unify operations under a single entry
- Consolidated individual database operation configurations (query, insert, update, delete) into a single unified database configuration.
- Updated the component structure to enhance clarity and maintainability, with a focus on setting up database operations.
- Adjusted validation logic to ensure proper handling of operation parameters and connection IDs.
2025-10-23 14:48:09 -04:00
Nikhil-Doye b092917e68 Enhance UnifiedDatabaseNode with type safety for operations
- Updated the UnifiedDatabaseNode component to use the DatabaseOperation type for better type safety in operation handling.
- Refined operationIcons and operationLabels to utilize TypeScript's Record utility, improving code clarity and maintainability.
2025-10-23 14:47:59 -04:00
Nikhil-Doye b4bb7608fb Update UnifiedDatabaseService to use updateLimit instead of limit in DatabaseConfig
- Changed the property name from 'limit' to 'updateLimit' in the DatabaseConfig interface for better clarity on its purpose.
- Updated the UnifiedDatabaseService to reflect this change, ensuring consistency across database operations.
2025-10-23 14:47:45 -04:00
Nikhil-Doye cf6813f6d5 Refactor database node structure to unify operations under a single component
- Consolidated individual database operation nodes (query, insert, update, delete) into a single UnifiedDatabaseNode for streamlined management.
- Updated WorkflowEditor and related components to utilize the new unified database structure, enhancing code clarity and reducing redundancy.
- Introduced DatabaseWizard for configuring various database operations, improving user experience and flexibility in workflow design.
- Updated node type configurations and execution engine to support the new unified approach, ensuring compatibility with existing features.
- Removed deprecated database operation nodes and adjusted related imports and exports accordingly.
2025-10-23 14:45:50 -04:00
Nikhil-Doye ee44ba537a Remove onboarding features from WorkflowToolbar component
- Eliminated onboarding-related state and UI elements from the WorkflowToolbar, including the tutorial button and modal.
- Cleaned up unused imports related to onboarding, streamlining the component's code structure.
2025-10-22 18:49:28 -04:00
Nikhil-Doye 229035e79f Add interactive tutorial and connection management features
- Introduced a new InteractiveTutorial component to guide users through creating workflows step-by-step.
- Added ConnectionSuggestions and ConnectionValidation components to assist users in establishing valid connections between nodes.
- Enhanced the WorkflowEditor to integrate connection management features, improving user experience and workflow design.
- Updated onboarding system to include tutorial prompts, encouraging users to engage with new features.
- Implemented utility functions for managing connection suggestions and validations, ensuring robust workflow integrity.
2025-10-22 18:39:06 -04:00
Nikhil-Doye 9dadf94b1b Add @tailwindcss/line-clamp for improved text truncation in NodeLibrary
- Updated package.json and package-lock.json to include @tailwindcss/line-clamp version 0.4.4.
- Modified tailwind.config.js to register the line-clamp plugin.
- Enhanced NodeLibrary component to utilize line-clamp for better text handling in descriptions, improving UI clarity.
2025-10-22 17:49:23 -04:00
Nikhil-Doye 906b62bdfe Refactor NodeConfiguration and NodeLibrary components for improved clarity and performance
- Removed unused imports and streamlined the code structure in NodeConfiguration and NodeLibrary components.
- Updated CSS for field labels to enhance styling consistency.
- Optimized category generation in NodeLibrary using useMemo for better performance.
- Cleaned up commented-out code and unnecessary variables to improve readability.
2025-10-22 00:30:04 -04:00
Nikhil-Doye 2701b4c94c Add help system and field configuration components
- Introduced a new help system with styled help icons and panels for user guidance.
- Created FieldWithHelp component to integrate help text and examples for various input fields.
- Added comprehensive field configurations for different node types, enhancing user experience and clarity.
- Implemented tests for dual-label system to ensure proper configuration and validation of node types and fields.
- Updated NodeConfiguration and NodeLibrary components to utilize new help features and improve accessibility.
2025-10-21 23:47:27 -04:00
Nikhil-Doye f909a3c38a Refactor LabelChangeDialog and NodeLibrary components for improved readability and functionality
- Cleaned up whitespace and formatting in LabelChangeDialog for better code clarity.
- Enhanced the structure of JSX elements in LabelChangeDialog to improve readability.
- Moved the getColorClasses function back to its original location in NodeLibrary for better organization.
- Added missing IDs to nodes and edges in workflow structures for consistency and clarity.
- Updated workflow serialization to ensure proper handling of node and edge IDs during import.
2025-10-21 21:27:29 -04:00
Nikhil-Doye 7dd679c6e8 Add comprehensive processor system with enhanced diagnostics and validation
- Introduced a ProcessorRegistry for managing supported, deprecated, and experimental node types.
- Enhanced defaultProcessor to provide detailed diagnostics, warnings, and execution metadata for unsupported and deprecated node types.
- Implemented comprehensive tests for defaultProcessor and node type diagnostics utilities, ensuring robust functionality and error handling.
- Developed utilities for generating node type diagnostics and summaries, improving workflow validation and user feedback.
- Updated workflowValidator to check for unsupported and deprecated node types, providing suggestions for alternatives.
- Enhanced documentation to reflect new features and usage examples for the processor system.
2025-10-20 17:59:26 -04:00
Nikhil-Doye 7e3c204119 Add accessibility enhancements to NodeLibrary component
- Implemented comprehensive keyboard navigation and screen reader support, ensuring all interactive elements are accessible.
- Added ARIA roles and labels for improved semantic structure and user interaction.
- Introduced focus management features, including visual focus indicators and focus restoration after actions.
- Developed an AccessibilityTestPanel for testing various accessibility features and compliance with WCAG 2.1 AA guidelines.
- Enhanced CSS for high contrast mode and reduced motion support, improving visual accessibility.
- Documented accessibility improvements and testing recommendations in NodeLibraryAccessibility.md for future reference.
2025-10-20 17:37:50 -04:00