Commit graph

12 commits

Author SHA1 Message Date
Matt Van Horn
7f0a5cd06a
fix(hitl-edit-panel): move duplicate-tag check into functional setTags
Fixes #1248

handleAddTag had tags in its useCallback dependency array only so the
closure-level duplicate check could read it, which forced the callback
to re-create on every tag mutation and compared new additions against
a potentially-stale closure value.

Collapse the duplicate check into the functional setTags updater so
the check always runs against the latest state, and drop tags from
the dependency array - the callback is stable for the component's
lifetime and downstream memoization won't get invalidated on every
keystroke.
2026-04-21 01:43:20 -07:00
DESKTOP-RTLN3BA\$punk
17642493eb chore: linting 2026-03-31 14:45:46 -07:00
JoeMakuta
fb72bb2b06 refactor: implement dynamic imports for PlateEditor in multiple components with loading skeletons 2026-03-30 19:26:33 +02:00
Anish Sarkar
838d38a67a feat: implement document preview functionality in DocumentsSidebar and enhance mobile experience with vaul drawer 2026-03-29 04:20:22 +05:30
Anish Sarkar
bbd5ee8a19 feat: enhance Google Calendar event update functionality
- Introduced helper functions `_is_date_only` and `_build_time_body` to streamline the construction of event start and end times for all-day and timed events.
- Refactored the `create_update_calendar_event_tool` to utilize the new helper functions, improving code readability and maintainability.
- Updated the Google Calendar sync service to ensure proper handling of calendar IDs with a default fallback to "primary".
- Modified the ApprovalCard component to simplify the construction of event update arguments, enhancing clarity and reducing redundancy.
2026-03-25 20:35:23 +05:30
Anish Sarkar
a9683bb1dc feat: add support for HTML content in HitlEditPanel and PlateEditor components for only Confluence HITL tool 2026-03-22 02:42:51 +05:30
Anish Sarkar
de8841fb86 chore: ran linting 2026-03-21 13:20:13 +05:30
Anish Sarkar
5e23949af6 feat: implement date and time picker in HITL edit panel
- Added a DateTimePickerField component to allow users to select date and time in the HITL edit panel.
- Updated the EmailsTagField to use a ref for onChange to improve performance.
- Modified the ExtraField type to support "datetime-local" for better event management in Google Calendar tools.
2026-03-20 23:07:54 +05:30
Anish Sarkar
b4309f13be feat: add email tag input functionality to HITL edit panel
- Updated the HITL edit panel to support multiple email inputs using a tag input component.
- Modified the ExtraField type to include "emails" as a valid type.
- Enhanced the Gmail draft creation process to utilize the new email input format for "To", "CC", and "BCC" fields.
2026-03-20 22:46:49 +05:30
Anish Sarkar
f4c0c8c945 feat: add initial logic for HITL for gmail and google calendar connectors 2026-03-20 18:47:06 +05:30
Anish Sarkar
5ea347121b feat: add showCloseButton prop to HITL edit panel for improved customization
- Introduced showCloseButton prop to control the visibility of the close button in the HITL edit panel.
- Updated the component to conditionally render the close button based on the new prop.
2026-03-17 23:58:50 +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