Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 41 additions & 48 deletions coffeeAGNTCY/coffee_agents/lungo/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion coffeeAGNTCY/coffee_agents/lungo/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@emotion/styled": "^11.14.0",
"@mui/icons-material": "^7.0.1",
"@mui/material": "^7.0.1",
"@open-ui-kit/core": "^1.6.0",
"@open-ui-kit/core": "^2.1.0",
"@reactflow/node-resizer": "^2.2.14",
"@xyflow/react": "^12.6.4",
"axios": "^1.16.1",
Expand All @@ -43,6 +43,7 @@
},
"devDependencies": {
"@eslint/js": "^9.25.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/dompurify": "^3.0.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
**/

import React from "react"
import { useTheme, useThemeMode, Box } from "@open-ui-kit/core"
import { useTheme, Box } from "@open-ui-kit/core"

import AgentIcon from "@/assets/Coffee_Icon.svg"
import { useAppThemeMode } from "@/hooks/useAppThemeMode"

export interface ChatAvatarCircleProps {
children: React.ReactNode
Expand All @@ -15,7 +16,7 @@ export interface ChatAvatarCircleProps {
export const ChatAvatarCircle: React.FC<ChatAvatarCircleProps> = ({
children,
}) => {
const { isDarkMode } = useThemeMode()
const { isDarkMode } = useAppThemeMode()
const theme = useTheme()
const avatarBg = isDarkMode
? theme.palette.vars.agentcyDarkBlue
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export function FeedCollapseButton({
return (
<ListItemButton
component="button"
type="button"
onClick={onToggle}
aria-expanded={expanded}
sx={mergedSx}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,8 @@ import React, { useCallback, useMemo, useState } from "react"
import KeyboardArrowDown from "@mui/icons-material/KeyboardArrowDown"
import type { SxProps, Theme } from "@mui/material/styles"
import type { SystemStyleObject } from "@mui/system"
import {
Box,
Button,
Menu,
MenuItem,
Tooltip,
type DropdownOption,
} from "@open-ui-kit/core"
import { Box, Button, Menu, MenuItem, Tooltip } from "@open-ui-kit/core"
import type { DropdownOption } from "@/types/dropdownOption"
import { useGraphCanvasLayout } from "@/contexts/graphCanvasLayout"
import {
computePromptsMenuMaxWidth,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@

import type { ReactNode } from "react"
import type { MenuProps } from "@mui/material/Menu"
import type { ButtonProps } from "@mui/material/Button"
import type { TooltipProps } from "@open-ui-kit/core"
import type { DropdownOption } from "@open-ui-kit/core"
import type { ButtonProps, TooltipProps } from "@open-ui-kit/core"
import type { DropdownOption } from "@/types/dropdownOption"
import type { GraphCanvasLayoutMetrics } from "@/contexts/graphCanvasLayout"
import {
getDiscoveryAppApiUrl,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import {
Button,
IconButton,
Link,
Modal,
ModalContent,
ModalTitle,
Dialog,
DialogContent,
DialogTitle,
Stack,
Typography,
} from "@open-ui-kit/core"
Expand Down Expand Up @@ -101,14 +101,14 @@ const OasfRecordModal: React.FC<OasfRecordModalProps> = ({
)

return (
<Modal
<Dialog
open={isOpen}
onClose={onClose}
maxWidth="md"
fullWidth
scroll="paper"
>
<ModalTitle sx={{ pr: 6, position: "relative" }}>
<DialogTitle sx={{ pr: 6, position: "relative" }}>
Directory Information
<IconButton
onClick={onClose}
Expand All @@ -117,9 +117,9 @@ const OasfRecordModal: React.FC<OasfRecordModalProps> = ({
>
<Close />
</IconButton>
</ModalTitle>
</DialogTitle>

<ModalContent dividers>
<DialogContent dividers>
{isDirectoryNode ? (
<Stack sx={{ width: "100%", gap: 1.5 }}>
<Stack sx={{ width: "100%", gap: 1.5 }}>
Expand Down Expand Up @@ -250,8 +250,8 @@ const OasfRecordModal: React.FC<OasfRecordModalProps> = ({
<Typography color="text.primary">No data available</Typography>
</Stack>
)}
</ModalContent>
</Modal>
</DialogContent>
</Dialog>
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ import {
CUSTOM_NODE_WIDTH,
} from "@/utils/graphNodeDimensions"
import { CustomNodeData, ExtraHandle } from "./types"
import TransportRail, { railBackgroundImage } from "./TransportRail"
import TransportRail from "./TransportRail"
import { railBackgroundImage } from "./transportRailBackground"

const POSITION_MAP: Record<ExtraHandle["position"], Position> = {
top: Position.Top,
Expand Down
Loading
Loading