generated from EyeSeeTea/dhis2-app-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from EyeSeeTea/feat/DQ-Filters-in-Summary
Feat/dq filters in summary
- Loading branch information
Showing
11 changed files
with
99 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import React from "react"; | ||
import { Typography } from "@material-ui/core"; | ||
import styled from "styled-components"; | ||
import { IssueTable } from "$/webapp/components/issues/IssueTable"; | ||
import { QualityAnalysis } from "$/domain/entities/QualityAnalysis"; | ||
|
||
interface PageProps { | ||
name: string; | ||
analysis: QualityAnalysis; | ||
} | ||
|
||
export const SummaryStep: React.FC<PageProps> = React.memo(({ name, analysis }) => { | ||
return ( | ||
<Container> | ||
<TitleContainer> | ||
<StyledTypography variant="h2">{name}</StyledTypography> | ||
</TitleContainer> | ||
<IssueTable | ||
analysisId={analysis.id} | ||
sectionId={undefined} | ||
reload={0} | ||
showExport | ||
showStepFilter | ||
/> | ||
</Container> | ||
); | ||
}); | ||
|
||
const Container = styled.section``; | ||
|
||
const TitleContainer = styled.div` | ||
min-height: 5rem; | ||
display: flex; | ||
align-items: center; | ||
margin-block-end: 1.75rem; | ||
`; | ||
|
||
const StyledTypography = styled(Typography)` | ||
font-size: 1.2rem; | ||
font-weight: 500; | ||
vertical-align: center; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters