π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
chore: ai modal disclamier added (#3970)
Anmol Singh Bhatia0bc4b6cece3c
diff --git a/web/components/core/modals/gpt-assistant-popover.tsx b/web/components/core/modals/gpt-assistant-popover.tsxindex 590015e122..deffd883af 100644--- a/web/components/core/modals/gpt-assistant-popover.tsx+++ b/web/components/core/modals/gpt-assistant-popover.tsx@@ -7,6 +7,8 @@ import useToast from "hooks/use-toast";import { usePopper } from "react-popper";// uiimport { Button, Input } from "@plane/ui";+// icons+import { AlertCircle } from "lucide-react";// componentsimport { RichReadOnlyEditorWithRef } from "@plane/rich-text-editor";import { Popover, Transition } from "@headlessui/react";@@ -250,8 +252,17 @@ export const GptAssistantPopover: React.FC<Props> = (props) => {/>)}/>- <div className={`flex gap-2 ${response === "" ? "justify-end" : "justify-between"}`}>- {responseActionButton}+ <div className="flex gap-2 justify-between">+ {responseActionButton ? (+ <>{responseActionButton}</>+ ) : (+ <>+ <div className="flex items-center justify-center gap-2 text-sm text-custom-primary">+ <AlertCircle className="h-4 w-4" />+ <p>By using this feature, you consent to sharing the message with a 3rd party service. </p>+ </div>+ </>+ )}<div className="flex items-center gap-2"><Button variant="neutral-primary" size="sm" onClick={onClose}>Close