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

vanvalenlab / deepcell-label / 5968887220

24 Aug 2023 09:04PM UTC coverage: 50.975% (-0.3%) from 51.312%
5968887220

Pull #523

github

web-flow
Merge d9b7f8f96 into 84d2bf2ac
Pull Request #523: disabled cells opacity for cell types

472 of 1241 branches covered (0.0%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

16 existing lines in 4 files now uncovered.

2561 of 4709 relevant lines covered (54.39%)

289.83 hits per line

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

0.0
/frontend/src/Project/DisplayControls/ExportButton/DownloadButton.js
1
import GetAppIcon from '@mui/icons-material/GetApp';
2
import { Button, CircularProgress } from '@mui/material';
3
import { green } from '@mui/material/colors';
4
import { useSelector } from '@xstate/react';
5
import React from 'react';
6
import { useExport } from '../../ProjectContext';
7

8
function DownloadButton() {
UNCOV
9
  const export_ = useExport();
×
UNCOV
10
  const downloading = useSelector(export_, (state) => state.matches('downloading'));
×
11

UNCOV
12
  return (
×
13
    <Button
14
      variant='contained'
15
      color='primary'
16
      endIcon={<GetAppIcon />}
17
      onClick={() => export_.send('DOWNLOAD')}
×
18
      disabled={downloading}
19
      sx={{ position: 'relative' }}
20
    >
21
      Download
22
      {downloading && (
×
23
        <CircularProgress
24
          sx={{
25
            color: green[500],
26
            position: 'absolute',
27
          }}
28
        />
29
      )}
30
    </Button>
31
  );
32
}
33

34
export default DownloadButton;
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