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

mendersoftware / mender-server / 14281

15 Apr 2026 12:18PM UTC coverage: 48.321% (-0.001%) from 48.322%
14281

push

gitlab-ci

web-flow
Merge pull request #1682 from mzedel/fix/tracking-integration

fix(gui): removed react-ga workaround to allow re-enabling ga tracking

4083 of 5747 branches covered (71.05%)

Branch coverage included in aggregate %.

65331 of 137904 relevant lines covered (47.37%)

5.76 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 = {
17✔
21
  complete: {
2✔
22
    icon: <MaterialDesignIcon path={SleepIcon} />,
2✔
23
    description: () => 'Complete, awaiting new devices'
2✔
24
  },
2✔
25
  queued: {
2✔
26
    icon: <QueuedIcon />,
2✔
27
    description: () => 'Queued to start'
363✔
28
  },
2✔
29
  paused: { icon: <RotateLeftOutlined fontSize="inherit" />, description: window => `Paused until next window ${window}` }
2✔
30
};
2✔
31

2✔
32
export const DeploymentStatusNotification = ({ status }: { status: string }) =>
17✔
33
  statusMap[status] ? (
797✔
34
    <Typography variant="body2" className="flexbox align-items-center">
2✔
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