-
-
Notifications
You must be signed in to change notification settings - Fork 10
feat: Workflows. #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
aryanranderiya
wants to merge
45
commits into
develop
Choose a base branch
from
feat/workflows-insane
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
feat: Workflows. #136
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Implemented CreateWorkflowModal for creating new workflows. - Added WorkflowCard to display individual workflows. - Created WorkflowPage to manage and display workflows. - Introduced workflow data structures and options for triggers and integrations. - Updated index files to export new components and data.
…actor calendar view and update CardStackContainer indicators
…tionality - Split ChatPage into smaller components for better readability and maintainability. - Introduced custom hooks for chat layout and scroll behavior to encapsulate related logic. - Enhanced the WeeklyCalendarView component with new subcomponents: CalendarHeader, DateStrip, and CalendarGrid. - Implemented smooth scrolling to the first event in the calendar view. - Updated ScrollToBottomButton to conditionally adjust its position based on message presence. - Created sections for chat layout: ChatSection, CardStackSection, NewChatSection, and GridSection. - Improved drag-and-drop functionality for file uploads in chat. - Added placeholder content in the GridSection alongside the WeeklyCalendarView.
…efactor WeeklyCalendarView usage
…mponents for improved scrolling behavior
…ilsView and useUnreadEmails hook for improved email handling
… into feat/workflows-insane
…splay of use case cards
- Introduced a new ReminderScheduler class that inherits from BaseSchedulerService for managing reminder tasks. - Updated FastAPI endpoints to utilize the new reminder_scheduler for creating, updating, canceling, and listing reminders. - Refactored reminder task processing to streamline execution and scheduling logic. - Implemented a new scheduler model for better task management and status handling. - Removed redundant functions and centralized task scheduling logic within the ReminderScheduler. - Enhanced error handling and logging throughout the reminder service.
… into feat/workflows-insane
- Added workflowApi service for creating, updating, deleting, and executing workflows. - Introduced ScheduleBuilder component for building cron schedules with presets and custom options. - Created WorkflowGeneratingShimmer and WorkflowSkeletons components for loading states. - Developed hooks for workflow creation and polling to manage workflow states. - Implemented utility functions for cron expression handling and tool category management.
…CreateWorkflowModal, ScheduleBuilder, and WorkflowPage components; add workflow worker functions for processing and notifications.
…els with validation
…adjust related logic
- Implemented CreateWorkflowModal for creating new workflows. - Added EditWorkflowModal for editing existing workflows. - Introduced WorkflowModal component to handle common modal functionality. - Enhanced WorkflowCard to display activation status and improved layout. - Updated WorkflowPage to manage workflow creation and editing states. - Integrated workflow polling for real-time updates during creation and editing. - Refactored workflow skeletons for better loading state representation. - Removed unused tool utility functions to streamline codebase.
feat: implement ARQ for email processing queue in mail webhook service refactor: replace RabbitMQ with ARQ for workflow generation task in todo service feat: enhance workflow worker with optimized update functions for workflow steps and metrics feat: create cleanup script for old and invalid workflow steps in the database feat: add WorkflowErrorBoundary component for error handling in workflow UI refactor: integrate WorkflowErrorBoundary into WorkflowPage for better error management refactor: implement usePolling hook for generic polling logic in workflows
…execution scheduling
… feat/workflows-insane
…nts and clarify forbidden step types
…config and improving error handling during polling
- Removed unused `__init__.py` file in utils directory. - Introduced `redis_utils.py` for managing Redis connection pooling. - Added `workflow_utils.py` for centralized error handling and workflow document transformation. - Updated `workflow_worker.py` to include a new method for regenerating workflow steps. - Enhanced `WorkflowHeader` component to display regeneration status. - Modified API calls in `workflowApi.ts` to remove success message for regeneration. - Updated `WorkflowModal` to handle regeneration with improved user feedback and error handling. - Created new components `WorkflowRegenerationLoader` and `WorkflowRegenerationSuccess` for better UI during regeneration. - Adjusted hooks in `useWorkflowCreation.ts` to return detailed workflow creation results.
…ion phase handling
…useTodos hook, and clean up Redux store - Added `useTodoData` hook for improved todo data handling and filtering. - Removed the deprecated `useTodos` hook and its associated Redux slice. - Cleaned up Redux store by removing todo-related reducers and selectors. - Updated WorkflowModal to include auto-focus on input and hide close button. - Removed unused todo selectors and actions from the Redux index.
…ent timezone utilities for better handling and display
… removed return null which fixed the animation abruptly stopping when closing.
- Introduced a new function `getDefaultAccordionValues` to dynamically calculate which accordions should be open by default. - The function checks for the existence of system conversations and starred chats, adding them to the default values if they exist. - Expanded the default values to include all time frame sections, ensuring all are displayed expanded by default. - Updated the Accordion component to use the new function for setting default values, improving readability and maintainability.
…ted models and services
- Enhanced conversation saving to include selected workflows. - Updated agent call to handle selected workflows. - Modified message construction to incorporate workflow execution context. - Introduced new prompts for workflow execution. - Updated LLM client to support workflow-related operations. - Added new components and hooks for managing workflow selection in the UI. - Integrated workflow selection into the chat and todo sections. - Created types for workflow data and steps for better type safety. - Improved user experience by allowing workflows to be executed directly from todo items.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.