added keys and types to the note api for adding and loading notes and chats

This commit is contained in:
csawatzky 2026-03-17 14:46:45 -06:00
parent a2ac900f3e
commit 63bba4f74e
11 changed files with 49 additions and 31 deletions

View file

@ -194,7 +194,7 @@ export default function TaskDrawer(props: Props) {
onClose={() => setOpenNote(false)}>
<Box height={isMobile ? "50vh" : "100vh"} padding={2}>
<Typography style={{ fontWeight: 650 }}>Notes</Typography>
<Chat type={pond.NoteType.NOTE_TYPE_TASK} objectKey={task.key} />
<Chat type={pond.NoteType.NOTE_TYPE_TASK} parent={task.key} parentType={"task"} />
</Box>
</Drawer>
);