feat: added tracker for page, page block, and gpt (#623)
* refactor: made events function generic * feat: added tracker for page, page block, and gpt
This commit is contained in:
parent
50275fd2ad
commit
66ed6a1dc8
14 changed files with 375 additions and 360 deletions
|
|
@ -21,11 +21,7 @@ import { CustomMenu, Input, Loader, TextArea } from "components/ui";
|
|||
// icons
|
||||
import { LayerDiagonalIcon } from "components/icons";
|
||||
import { ArrowPathIcon } from "@heroicons/react/20/solid";
|
||||
import {
|
||||
BoltIcon,
|
||||
CheckIcon,
|
||||
SparklesIcon,
|
||||
} from "@heroicons/react/24/outline";
|
||||
import { BoltIcon, CheckIcon, SparklesIcon } from "@heroicons/react/24/outline";
|
||||
// helpers
|
||||
import { copyTextToClipboard } from "helpers/string.helper";
|
||||
// types
|
||||
|
|
@ -326,6 +322,7 @@ export const SinglePageBlock: React.FC<Props> = ({ block, projectDetails }) => {
|
|||
)}
|
||||
/>
|
||||
<GptAssistantModal
|
||||
block={block}
|
||||
isOpen={gptAssistantModal}
|
||||
handleClose={() => setGptAssistantModal(false)}
|
||||
inset="top-2 left-0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue