diff --git a/packages/web/components/MainTabsOrPages/ViewConvo.tsx b/packages/web/components/MainTabsOrPages/ViewConvo.tsx index 327d78b..c130e4d 100644 --- a/packages/web/components/MainTabsOrPages/ViewConvo.tsx +++ b/packages/web/components/MainTabsOrPages/ViewConvo.tsx @@ -47,6 +47,7 @@ import { firestoreDb as db } from "../../services/firebaseService"; import Collections from "@nirvana/common/services/collections"; import TimelineAudioClip from "../Conversations/TimelineAudioClip"; import Modal from "antd/lib/modal/Modal"; +import { configure } from "react-hotkeys"; const testDrawerItems: { linkType: LinkType; @@ -185,6 +186,11 @@ export default function ViewConvo(props: { conversationId: string }) { setCurrConvoModal(ConvoModal.na); }; + // to allow not having commands while editing the input + configure({ + ignoreTags: ["input", "select", "textarea"], + }); + const handleEditTldr = () => { console.log("updating tldr with modal"); }; @@ -219,6 +225,10 @@ export default function ViewConvo(props: { conversationId: string }) { setIsSubmitting(false); }; + const handleAdminEdit = () => { + toast("Coming soon!"); + }; + return ( <> {/* - +