• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alkem-io / client-web / #5685

18 Sep 2023 07:44AM UTC coverage: 6.333%. First build
#5685

Pull #4751

travis-ci

Pull Request #4751: Guidance Chat Widget refresh

171 of 8090 branches covered (0.0%)

Branch coverage included in aggregate %.

55 of 55 new or added lines in 7 files covered. (100.0%)

1285 of 14899 relevant lines covered (8.62%)

0.42 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/guidance/chatWidget/ChatWidgetHelpDialog.tsx
1
import DialogWithGrid from '@/core/ui/dialog/DialogWithGrid';
2
import DialogHeader from '@/core/ui/dialog/DialogHeader';
3
import { Box, DialogProps, Typography } from '@mui/material';
4
import { gutters } from '@/core/ui/grid/utils';
5
import { InfoOutlined } from '@mui/icons-material';
6
import Gutters from '@/core/ui/grid/Gutters';
7
import { useTranslation } from 'react-i18next';
8
import WrapperMarkdown from '@/core/ui/markdown/WrapperMarkdown';
9

10
interface ChatWidgetHelpDialogProps extends DialogProps {
11
  onClose?: () => void;
12
}
13

14
const ChatWidgetHelpDialog = ({ onClose, ...props }: ChatWidgetHelpDialogProps) => {
×
15
  const { t } = useTranslation();
×
16

17
  return (
×
18
    <DialogWithGrid
19
      columns={4}
20
      {...props}
21
      onClose={onClose}
22
      sx={{ zIndex: 10000 }}
23
      aria-labelledby="chat-widget-help-dialog"
24
    >
25
      <DialogHeader
26
        id="chat-widget-help-dialog"
27
        title={
28
          <Box display="flex" gap={1}>
29
            <Typography fontSize={gutters()} display="inline">
30
              <InfoOutlined fontSize="inherit" />
31
            </Typography>
32
            {t('chatbot.infoDialog.title')}
33
          </Box>
34
        }
35
        onClose={onClose}
36
      />
37
      <Gutters paddingTop={0}>
38
        <WrapperMarkdown caption disableParagraphPadding>
39
          {t('chatbot.infoDialog.content')}
40
        </WrapperMarkdown>
41
      </Gutters>
42
    </DialogWithGrid>
43
  );
44
};
45

46
export default ChatWidgetHelpDialog;
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc