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

mendersoftware / mender-server / 10423

11 Nov 2025 04:53PM UTC coverage: 74.435% (-0.1%) from 74.562%
10423

push

gitlab-ci

web-flow
Merge pull request #1071 from mendersoftware/dependabot/npm_and_yarn/frontend/main/development-dependencies-92732187be

3868 of 5393 branches covered (71.72%)

Branch coverage included in aggregate %.

5 of 5 new or added lines in 2 files covered. (100.0%)

176 existing lines in 95 files now uncovered.

64605 of 86597 relevant lines covered (74.6%)

7.74 hits per line

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

100.0
/frontend/src/js/common-ui/dialogs/ConfirmDismissHelpTips.tsx
1
// Copyright 2019 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 { Button, DialogActions, DialogContent } from '@mui/material';
2✔
15

2✔
16
import { BaseDialog } from '@northern.tech/common-ui/dialogs/BaseDialog';
2✔
17
import storeActions from '@northern.tech/store/actions';
2✔
18
import { useAppDispatch } from '@northern.tech/store/store';
2✔
19
import { setOnboardingCanceled } from '@northern.tech/store/thunks';
2✔
20

2✔
21
const { setShowDismissOnboardingTipsDialog } = storeActions;
4✔
22

2✔
23
export const ConfirmDismissHelptips = () => {
4✔
24
  const dispatch = useAppDispatch();
3✔
25
  const onClose = () => dispatch(setOnboardingCanceled());
3✔
26
  return (
3✔
27
    <BaseDialog open title="Dismiss the Getting Started help?" onClose={onClose}>
2✔
28
      <DialogContent>Hide the help tips? You haven&apos;t finished your first update yet.</DialogContent>
2✔
29
      <DialogActions className="flexbox space-between">
2✔
UNCOV
30
        <Button onClick={() => dispatch(setShowDismissOnboardingTipsDialog(false))}>Cancel</Button>
2✔
31
        <Button variant="contained" onClick={onClose}>
2✔
32
          Yes, hide the help
2✔
33
        </Button>
2✔
34
      </DialogActions>
2✔
35
    </BaseDialog>
2✔
36
  );
2✔
37
};
2✔
38

2✔
39
export default ConfirmDismissHelptips;
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

© 2025 Coveralls, Inc