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

mendersoftware / mender-server / 14955

04 May 2026 02:42PM UTC coverage: 48.68% (+0.03%) from 48.651%
14955

push

gitlab-ci

web-flow
Merge pull request #1757 from mineralsfree/MEN-9552

MEN-9552: common Link component

4201 of 5922 branches covered (70.94%)

Branch coverage included in aggregate %.

21 of 23 new or added lines in 11 files covered. (91.3%)

1591 existing lines in 176 files now uncovered.

66471 of 139254 relevant lines covered (47.73%)

5.94 hits per line

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

100.0
/frontend/src/js/components/deployments/progress/DeploymentStatusNotification.tsx
1
// Copyright 2026 Northern.tech AS
2✔
2
//
2✔
3
//    Licensed under the Apache License, Version 2.0 (the "License");
2✔
4
//    you may not use this file except in compliance with the License.
2✔
5
//    You may obtain a copy of the License at
2✔
6
//
2✔
7
//        http://www.apache.org/licenses/LICENSE-2.0
2✔
8
//
2✔
9
//    Unless required by applicable law or agreed to in writing, software
2✔
10
//    distributed under the License is distributed on an "AS IS" BASIS,
2✔
11
//    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2✔
12
//    See the License for the specific language governing permissions and
2✔
13
//    limitations under the License.
2✔
14
import { PendingOutlined as QueuedIcon, RotateLeftOutlined } from '@mui/icons-material';
2✔
15
import { Typography } from '@mui/material';
2✔
16

2✔
17
import { mdiSleep as SleepIcon } from '@mdi/js';
2✔
18
import MaterialDesignIcon from '@northern.tech/common-ui/MaterialDesignIcon';
2✔
19

2✔
20
export const statusMap = {
2✔
21
  complete: {
17✔
22
    icon: <MaterialDesignIcon path={SleepIcon} />,
2✔
23
    description: () => 'Complete, awaiting new devices'
2✔
UNCOV
24
  },
2✔
25
  queued: {
2✔
26
    icon: <QueuedIcon />,
2✔
27
    description: () => 'Queued to start'
2✔
28
  },
359✔
29
  paused: { icon: <RotateLeftOutlined fontSize="inherit" />, description: window => `Paused until next window ${window}` }
2✔
UNCOV
30
};
2✔
31

2✔
32
export const DeploymentStatusNotification = ({ status }: { status: string }) =>
2✔
33
  statusMap[status] ? (
17✔
34
    <Typography variant="body2" className="flexbox align-items-center">
797✔
35
      {statusMap[status].icon}
2✔
36
      <span className="margin-left-small">{statusMap[status].description()}</span>
2✔
37
    </Typography>
2✔
38
  ) : null;
2✔
39

2✔
40
export default DeploymentStatusNotification;
2✔
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