-
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.
Add execution summary stats to the flight evaluation report (#393)
- Creates new header subsection for summary view - Adds new line to header displaying total duration of the execution - Adds new tests - Removes one-liner summary from footer Resolves #388 {minor} Signed-off-by: Esta Nagy <[email protected]>
- Loading branch information
Showing
16 changed files
with
467 additions
and
169 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
107 changes: 107 additions & 0 deletions
107
mission-report/flight-evaluation-report/node/css/45-layout-summary.scss
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,107 @@ | ||
@import "01-variables"; | ||
|
||
body .root-container .summary-view { | ||
position: relative; | ||
margin-bottom: $padding-xl; | ||
|
||
.result-summary { | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
.col-sum-time, | ||
.col-sum-count, | ||
.col-sum-name { | ||
text-align: center; | ||
} | ||
} | ||
|
||
@media only screen and (max-width: $break-point-medium-screen-width-max) { | ||
body .root-container { | ||
$root-width: $break-point-medium-root-width; | ||
$exec-time-width: calc($root-width / 8); | ||
$exec-stat-width: calc($root-width / 12); | ||
$exec-title-width: calc($root-width / 8); | ||
|
||
.summary-view { | ||
|
||
.col-sum-name, .summary-name { | ||
width: $exec-title-width; | ||
max-width: $exec-title-width; | ||
padding: $padding-normal 0 $padding-normal $padding-normal; | ||
} | ||
|
||
.col-sum-time, .sum-time { | ||
width: $exec-time-width; | ||
max-width: $exec-time-width; | ||
padding: $padding-normal 0; | ||
} | ||
|
||
.col-sum-count, .sum-stat { | ||
width: $exec-stat-width; | ||
max-width: $exec-stat-width; | ||
padding: $padding-normal 0; | ||
} | ||
} | ||
} | ||
} | ||
|
||
@media only screen and (min-width: $break-point-large-screen-width-min) and (max-width: $break-point-large-screen-width-max) { | ||
body .root-container { | ||
$root-width: $break-point-large-root-width; | ||
$exec-time-width: calc($root-width / 14); | ||
$exec-stat-width: calc($root-width / 18); | ||
$exec-title-width: calc($root-width / 14); | ||
|
||
.summary-view { | ||
|
||
.col-sum-name, .summary-name { | ||
width: $exec-title-width; | ||
max-width: $exec-title-width; | ||
padding: $padding-normal 0 $padding-normal $padding-normal; | ||
} | ||
|
||
.col-sum-time, .sum-time { | ||
width: $exec-time-width; | ||
max-width: $exec-time-width; | ||
padding: $padding-normal 0; | ||
} | ||
|
||
.col-sum-count, .sum-stat { | ||
width: $exec-stat-width; | ||
max-width: $exec-stat-width; | ||
padding: $padding-normal 0; | ||
} | ||
} | ||
} | ||
} | ||
|
||
@media only screen and (min-width: $break-point-xl-screen-width-min) { | ||
body .root-container { | ||
$root-width: $break-point-xl-root-width; | ||
$exec-time-width: calc($root-width / 15); | ||
$exec-stat-width: calc($root-width / 20); | ||
$exec-title-width: calc($root-width / 15); | ||
|
||
.summary-view { | ||
|
||
.col-sum-name, .summary-name { | ||
width: $exec-title-width; | ||
max-width: $exec-title-width; | ||
padding: $padding-normal 0 $padding-normal $padding-normal; | ||
} | ||
|
||
.col-sum-time, .sum-time { | ||
width: $exec-time-width; | ||
max-width: $exec-time-width; | ||
padding: $padding-normal 0; | ||
} | ||
|
||
.col-sum-count, .sum-stat { | ||
width: $exec-stat-width; | ||
max-width: $exec-stat-width; | ||
padding: $padding-normal 0; | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ | |
} | ||
} | ||
}, | ||
"author": "Istvan zoltan Nagy <[email protected]>", | ||
"author": "Istvan Zoltan Nagy <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@jest/globals": "^29.5.0", | ||
|
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
Oops, something went wrong.