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

vanvalenlab / deepcell-label / 5720549787

pending completion
5720549787

Pull #518

github

web-flow
Merge e73fcb24b into ec79bcd31
Pull Request #518: MAINT: Followup to matplotlib removal.

470 of 1239 branches covered (37.93%)

Branch coverage included in aggregate %.

2559 of 4707 relevant lines covered (54.37%)

279.34 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() {
9
  const export_ = useExport();
×
10
  const downloading = useSelector(export_, (state) => state.matches('downloading'));
×
11

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