Skip to content

Conversation

os1rix
Copy link
Contributor

@os1rix os1rix commented May 25, 2025

vite, react, typescript, shadcn stack

os1rix added 18 commits May 25, 2025 03:48
…lock component

- Updated TopToolbar and WorkflowCanvas to remove references to selectedWorkflow, relying solely on currentWorkflowData.
- Introduced WorkflowCategoryBlock component to categorize and display workflows in the WorkflowSidebar.
- Adjusted AppContext to manage currentWorkflowData and removed selectedWorkflow state.
- Enhanced workflow service methods for better data fetching and handling.
- Refactored WorkflowEditor and WorkflowCanvas to improve state management and validation using zod schemas.
- Updated action types in WorkflowStepNode and WorkflowCanvas for consistency.
- Enhanced step addition, deletion, and editing functionalities in WorkflowEditor.
- Improved workflow update logic in AppContext to handle metadata and step changes.
- Removed unused types and cleaned up imports across components.
- Removed taskId prop from LogViewer, utilizing currentTaskId from context instead.
- Added a new Welcome component to guide users on initial load.
- Enhanced WorkflowCanvas to adjust node positioning and improve layout.
- Updated WorkflowItem to handle display mode changes when selecting workflows.
- Improved loading state management in WorkflowSidebar for better user experience.
…nd improve node rendering

- Modified step IDs and step numbers in WorkflowCanvas to start from 1 instead of 0 for better user clarity.
- Updated WorkflowStepNode to conditionally render the target handle based on the new step number logic.
- Cleaned up the display of action types in WorkflowStepNode for improved visual consistency.
- Introduced SortableStep component for managing individual workflow steps with drag-and-drop support.
- Updated WorkflowEditor to utilize DndContext and SortableContext for reordering steps.
- Enhanced step addition, deletion, and editing functionalities.
- Added new dependencies for dnd-kit to facilitate drag-and-drop interactions.
- Improved error handling and user feedback during workflow updates.
- Added 'last-month' category to WorkflowSidebar for better workflow organization.
- Updated workflow categorization logic to use the most recent timestamp from workflow steps.
- Refactored AppContext to support async add and delete operations for workflows, improving error handling.
- Modified executeWorkflow method to utilize zod for input field validation.
- Removed obsolete types and cleaned up imports across components.
…tibility

- Removed unnecessary '--reload' flag from uvicorn command in README and CLI for cleaner execution.
- Updated README formatting for better readability.
- Added Windows event loop policy in backend API to ensure compatibility on Windows systems.
- Enhanced logging in workflow service to debug event loop type.
…user experience

- Replaced individual dialog state management with a unified activeDialog state in AppContext for better control over dialog visibility.
- Introduced UnsavedChangesDialog component to prompt users about unsaved changes before navigating away.
- Updated RunAsToolDialog and RunWorkflowDialog to utilize activeDialog state for opening and closing.
- Enhanced TopToolbar and WorkflowSidebar to check for unsaved changes before executing actions.
- Improved overall state management and user feedback during workflow operations.
…ced workflow recording experience

- Added EditRecordingDialog component to allow users to edit and save recorded workflows.
- Introduced RecordingInProgressDialog to inform users when a recording is ongoing and provide options to cancel or continue.
- Updated WorkflowSidebar to manage recording state and integrate new dialogs for improved user interaction.
- Enhanced AppContext to support recording status and data management.
- Refactored DeleteWorkflowDialog to handle asynchronous confirmation and improve user feedback during deletion.
…xperience

- Updated EditRecordingDialog to include a confirmation dialog for unsaved changes before closing.
- Refactored state management in EditRecordingDialog to handle workflow data more effectively.
- Enhanced RunWorkflowDialog to utilize input schema for dynamic input fields, improving user input handling.
- Added required field indicators and validation for inputs in RunWorkflowDialog.
- Improved error handling and user feedback in AppContext for workflow operations.
…edback and layout

- Added toast notifications in EditRecordingDialog for successful and failed workflow builds.
- Introduced a new formatStepAttributes function to improve step description display.
- Updated RunAsToolDialog to feature a more visually appealing "Coming Soon" message.
- Refactored layout in EditRecordingDialog for better spacing and usability.
- Adjusted AppContext to include fetchWorkflows method for improved workflow management.
… display

- Removed the formatStepAttributes function and handleDeleteStep logic for cleaner code.
- Introduced a new statistics summary section displaying total steps, step types, and recording time.
- Updated layout for better readability and user experience, including improved headings and spacing.
- Adjusted optional fields in workflow layout types for consistency.
- Incremented revision number to 2.
- Added new packages: `aiohappyeyeballs` (2.6.1), `aiohttp` (3.12.2), `aiosignal` (1.3.2), `attrs` (25.3.0), and `yarl` (1.20.0) with their respective source URLs and wheel files.
- Updated existing package dependencies to reflect the new additions and ensure compatibility.
- Updated EditRecordingDialog to include a loader during the building process and improved placeholder text for automatic name generation.
- Enhanced RecordingInProgressDialog to display a loading state when cancelling a recording.
- Introduced new utility functions in WorkflowItem for displaying workflow timestamps and identifying new workflows.
- Refactored WorkflowSidebar to manage recording status more effectively and added a confirmation dialog for ongoing recordings.
- Updated AppContext to include a new 'cancelling' recording status and improved error handling in workflow operations.
- Enhanced API service methods for recording management, including cancellation functionality.
- Added conditional checks in LogViewer to prevent polling and cancellation actions when no task ID is present.
- Introduced a new getStatusColor function in LogViewer for better status representation.
- Updated RunWorkflowDialog to include input validation and error handling for required fields.
- Enhanced user feedback in RunWorkflowDialog with validation error messages and improved button states during execution.
- Refactored TopToolbar to disable actions when a workflow is running, ensuring better user interaction.
@os1rix os1rix marked this pull request as ready for review May 28, 2025 01:28
os1rix added 7 commits May 28, 2025 11:32
- Updated LogViewer to include additional dependencies for log polling.
- Removed unused workflowError state from RunWorkflowDialog for cleaner code.
- Refactored AppContext to utilize workflowService for fetching logs and cancelling workflows, enhancing API interaction.
- Deleted obsolete pollingService file to streamline service management.
…d error handling

- Updated WorkflowEditor to provide detailed success and error feedback using toast notifications.
- Refactored updateWorkflow method in AppContext to return metadata and step responses, improving error handling and response management.
- Introduced synchronization of workflow filenames with internal names in the backend service to ensure consistency.
- Enhanced error handling in the backend service for better user feedback during workflow updates.
…lity

- Removed the onClose prop from LogViewer for a simplified interface.
- Adjusted padding and layout in LogViewer for better visual consistency.
- Updated Index component to include a toggle for the LogViewer, enhancing user interaction.
- Refactored display mode handling in AppContext to streamline workflow status management.
- Improved error handling in backend services for better feedback during workflow operations.
- Added deleteStep method in WorkflowService to handle step removal from workflows.
- Introduced WorkflowDeleteStepRequest model for structured deletion requests.
- Updated backend service and router to support step deletion via API.
- Enhanced frontend components to integrate step deletion functionality, ensuring a seamless user experience.
- Adjusted workflow layout types to include new step types for better flexibility.
@os1rix os1rix changed the title brand new ui incoming brand new ui Jun 4, 2025
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.

1 participant