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.
This commit is contained in:
Anish Sarkar 2026-03-20 22:46:49 +05:30
parent 282e913c50
commit b4309f13be
5 changed files with 105 additions and 16 deletions

View file

@ -160,13 +160,14 @@ export function RightPanel({ documentsPanel }: RightPanelProps) {
)}
{effectiveTab === "hitl-edit" && hitlEditOpen && hitlEditState.onSave && (
<div className="h-full flex flex-col">
<HitlEditPanelContent
title={hitlEditState.title}
content={hitlEditState.content}
toolName={hitlEditState.toolName}
onSave={hitlEditState.onSave}
onClose={closeHitlEdit}
/>
<HitlEditPanelContent
title={hitlEditState.title}
content={hitlEditState.content}
toolName={hitlEditState.toolName}
extraFields={hitlEditState.extraFields}
onSave={hitlEditState.onSave}
onClose={closeHitlEdit}
/>
</div>
)}
</div>