Commit graph

23 commits

Author SHA1 Message Date
Anish Sarkar
b8f3f41326 refactor: update dependencies and streamline assistant-ui package usages 2026-03-24 02:22:51 +05:30
Anish Sarkar
de8841fb86 chore: ran linting 2026-03-21 13:20:13 +05:30
Anish Sarkar
9cd2c1f712 feat: integrate HITL phase management across tool components
- Refactored ApprovalCard in various tools (Gmail, Google Calendar, Google Drive) to utilize the new useHitlPhase hook for improved state management.
- Updated logic to handle tool action phases (pending, processing, complete, rejected) consistently across components, enhancing user feedback during interactions.
- Simplified decision handling by removing direct state management for approval decisions, streamlining the approval process.
- Enhanced UI feedback to reflect the current phase of tool actions, improving user experience during tool interactions.
2026-03-21 11:18:35 +05:30
Anish Sarkar
0d47233580 refactor: remove TriangleAlertIcon from various tool components 2026-03-21 02:09:52 +05:30
Anish Sarkar
ab6eeaf02e feat: add onClose functionality to ApprovalCard across all HITL tools 2026-03-20 23:50:50 +05:30
Anish Sarkar
4b54826d78 refactor: update ApprovalCard to use state for wasAlreadyDecided across all HITL tools
- Changed the wasAlreadyDecided variable to use useState for better state management in ApprovalCard.
- Updated multiple components including Gmail, Google Calendar, and Notion to reflect this change, ensuring consistency across the application.
2026-03-20 23:06:58 +05:30
Anish Sarkar
9b38626723 feat: add pending edits functionality to ApprovalCard across all HITL tools 2026-03-20 21:38:19 +05:30
Anish Sarkar
4bd2071a8d refactor: streamline ApprovalCard component across various tools 2026-03-20 20:53:59 +05:30
Anish Sarkar
151dcd26e1 refactor: enhance UI components for consistency and user experience
- Updated various card components across Google Drive, Linear, and Notion tools to include the `select-none` class for improved user interaction by preventing text selection.
- Ensured consistent styling and behavior in loading states and error handling across different tool UIs, enhancing overall usability and visual coherence.
2026-03-20 17:51:11 +05:30
Anish Sarkar
23c23c7528 feat: implement ToggleGroup and Toggle components for improved label selection
- Introduced ToggleGroup and Toggle components to enhance the user interface for selecting multiple labels in the Linear issue creation and update forms.
- Updated ApprovalCard component to utilize the new ToggleGroup for better label management.
- Refactored label rendering to use Badge components for improved styling and user experience across various components.
2026-03-20 17:32:05 +05:30
Anish Sarkar
9fbf0992f3 feat: add conditional rendering in ApprovalCard component to prevent rendering when a decision has been made and is not a rejection 2026-03-20 16:41:30 +05:30
Anish Sarkar
db5fddb104 feat: replace checkbox inputs with Checkbox component in file deletion UIs
- Updated the file deletion UI components for Google Drive, Linear, and Notion to use the new Checkbox component for better consistency and styling.
- Enhanced the accessibility of the checkbox inputs by associating labels with their respective checkboxes, improving user experience during file deletion operations.
2026-03-20 15:46:43 +05:30
Anish Sarkar
a27c10a5f5 feat: update Google Drive connector UI and authentication handling 2026-03-20 13:39:28 +05:30
Anish Sarkar
75f0975674 feat: enhance Google Drive account authentication handling
- Added checks for expired authentication in Google Drive file creation and deletion tools, returning appropriate error messages for re-authentication.
- Updated the Google Drive tool metadata service to track account health and persist authentication status.
- Enhanced UI components to display authentication errors and differentiate between valid and expired accounts, improving user experience during file operations.
2026-03-20 12:34:30 +05:30
Anish Sarkar
6c37b563c0 fix: update re-authentication messages for Linear and Notion connectors 2026-03-19 01:31:26 +05:30
Anish Sarkar
7ba5e9c662 feat: implement re-authentication flow for connectors and enhance auth expiration handling
- Added a mechanism to mark connectors as 'auth_expired' in the database, allowing the frontend to prompt users for re-authentication.
- Updated Linear and Notion connector routes to handle token refresh failures by invoking the new expiration flagging function.
- Enhanced UI components to display re-authentication options when a connector's authentication status is expired.
2026-03-19 01:20:48 +05:30
Anish Sarkar
df872e261e feat: implement re-authentication flow for Linear and Notion HITL connectors and improve their HITL flow and error states
- Added re-authentication endpoints for Linear and Notion connectors to handle expired authentication.
- Enhanced error handling in issue creation, deletion, and update tools to return appropriate authentication error messages.
- Updated UI components to display authentication status and guide users on re-authentication steps.
- Improved account health checks to ensure valid tokens are used for operations.
2026-03-18 14:10:11 +05:30
Anish Sarkar
5fb33b7cff refactor: improve UI and functionality for Google Drive and Notion HITL tools
- Updated approval components for Google Drive file creation, deletion, and Notion page updates to enhance user feedback and interaction.
- Replaced deprecated icons and streamlined state management for better performance.
- Integrated keyboard shortcuts for approving actions, improving accessibility and user experience.
- Refactored UI elements for consistency and clarity across approval processes.
2026-03-18 03:49:52 +05:30
Anish Sarkar
0b8bee0076 feat: integrate notion-markdown for markdown conversion in NotionHistoryConnector
- Added notion-markdown dependency to pyproject.toml.
- Refactored _markdown_to_blocks method to utilize notion-markdown for converting markdown content to Notion blocks.
- Updated create-notion-page component to replace Loader2Icon with Spinner for improved loading indication.
2026-03-17 23:42:26 +05:30
Anish Sarkar
39ce597907 feat: add HITL edit panel functionality and integrate with existing components
- Introduced HITL edit panel atom for managing state.
- Implemented HITL edit panel component for both desktop and mobile views.
- Updated right panel to include HITL edit tab and handle its visibility.
- Enhanced NewChatPage to incorporate the HITL edit panel for improved user interaction.
2026-03-17 23:33:22 +05:30
Anish Sarkar
855c334f7e refactor: replace PencilIcon with Pen in various components for consistent icon usage 2026-03-08 18:32:25 +05:30
CREDO23
090b69cf1e fix: guard empty update_issue call and unify delete_from_kb naming
- LinearConnector.update_issue: return error early when no fields are
  provided, preventing a silent no-op mutation and unnecessary KB sync
- Rename delete_from_db → delete_from_kb in delete_notion_page tool and
  its frontend component to match the more accurate Linear naming and
  keep both tool APIs consistent for the LLM
2026-02-19 15:22:36 +02:00
CREDO23
4c1fbc7482 reorganize linear and notion tool UI into subfolders 2026-02-18 20:25:51 +02:00