Commit graph

32 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
283b4194cc feat: enhance permission handling and user feedback for Gmail and Google Calendar tools
- Implemented logic to persist authentication expiration status for connectors when insufficient permissions are detected, improving error handling and user experience.
- Updated messages to guide users to re-authenticate in connector settings for Gmail, Google Calendar, and Google Drive tools.
- Added InsufficientPermissionsResult type and corresponding UI components to display permission-related messages consistently across Gmail and Google Calendar tools.
2026-03-20 19:36:00 +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
3d6ff39bf4 feat: implement Google Drive knowledge base synchronization after file creation
- Added a new GoogleDriveKBSyncService to handle synchronization of newly created Google Drive files with the knowledge base.
- Enhanced the create_file.py tool to include feedback on the success of the knowledge base update, informing users if their file has been added or will be synced later.
- Updated the Google Drive tool metadata service to include parent folder information for improved file organization.
- Modified the UI components to support selection of parent folders during file creation, enhancing user experience and file management.
2026-03-20 15:41:08 +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
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
855c334f7e refactor: replace PencilIcon with Pen in various components for consistent icon usage 2026-03-08 18:32:25 +05:30
DESKTOP-RTLN3BA\$punk
d198c8b89d chore; linting 2026-02-25 01:50:28 -08:00
CREDO23
a57fc1e578 fix warning card to surface success message alongside kb deletion failure 2026-02-24 13:51:03 +02:00
CREDO23
2b3c5e377f fix create file card showing stale args after approval 2026-02-24 13:50:12 +02:00
CREDO23
30ab464ba7 fix reauth error handling and stale log messages 2026-02-24 13:33:47 +02:00
CREDO23
45b784cda6 update ui text for delete google drive file 2026-02-24 13:20:25 +02:00
CREDO23
e89b68520a rename trash_google_drive_file to delete_google_drive_file 2026-02-24 13:18:39 +02:00
CREDO23
6265e9a437 add delete_from_kb support to trash google drive file tool 2026-02-24 13:01:55 +02:00
CREDO23
24aa7c51a4 use return_url to redirect back after google drive reauth 2026-02-24 12:38:52 +02:00
CREDO23
afbf448f88 pass thread_id in reauth request from trash-file card 2026-02-23 22:08:35 +02:00
CREDO23
b7e0209453 pass thread_id in reauth request from create-file card 2026-02-23 22:08:07 +02:00
CREDO23
5acddb89fb add insufficient_permissions card with reauth button to google drive tool UIs 2026-02-23 21:54:41 +02:00
CREDO23
da48f24d7a add trash google drive file tool UI component 2026-02-20 21:05:26 +02:00
CREDO23
7d25778927 add create google drive file tool UI component 2026-02-20 20:40:30 +02:00