import { responseParser } from 'evidently-ui-lib/api/client-heplers'
import type { ProjectModel } from 'evidently-ui-lib/api/types'
import type { StrictID } from 'evidently-ui-lib/api/types/utils'
import { ensureIDInArray } from 'evidently-ui-lib/api/utils'
import { useCurrentRouteParams } from 'evidently-ui-lib/router-utils/hooks'
import type { ActionArgs } from 'evidently-ui-lib/router-utils/types'
import { Box, Grid, Typography } from 'evidently-ui-lib/shared-dependencies/mui-material'
import { clientAPI } from '~/api'
import type { GetRouteByPath } from '~/routes/types'