added investigate to the ui and skipped the places it was missing#1659
added investigate to the ui and skipped the places it was missing#1659SamErde merged 19 commits intomaester365:mainfrom
Conversation
…t test to verify existing test is updated to new framework version
…v6.0.1 next up going through existing content and markdown details
… diffrent cis tests
… all of them and reference to CIS Microsoft 365 Foundations Benchmark v6.0.1 in Tests
…was updated so a few was missing in the list even though they were implemented
… the website which means the links would be broken when building the maester application in docusaurus @SamErde please take a look at this one and see if it is up to par :)
… modified the testResults.ts for better visibility to investigatecount
Not up to standards ⛔
|
There was a problem hiding this comment.
Pull request overview
Updates the Maester report UI to properly include the Investigate (and Skipped) statuses in key visualizations, addressing the missing “Investigate” representation in the “By category” chart (issue #1457).
Changes:
- Adds Investigate as a category in the “By category” area chart.
- Updates the “Test status” donut chart to include Skipped in both the chart and legend/percentages.
- Adjusts the report’s sample
testResultsdata to include a non-zeroInvestigateCount.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| report/src/lib/testResults.ts | Updates placeholder/sample report data used by the frontend template. |
| report/src/components/MtDonutChart.jsx | Adds “Skipped” to the donut chart and percentage calculation. |
| report/src/components/MtBlocksArea.jsx | Adds “Investigate” to the By-category area chart series and colors. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@Mynster9361 thanks for this PR Not including Skipped in the charts was intentional. We don't want to penalize the pass/fail for skipped tests. Tests can be skipped for various reasons including licensing. So it wouldn't be fair to the customer to say they only passed 25% of the tests when in fact they are in a much healthier state for their licensing level. On the bug raised in #1457, that's a valid ask and we can definitely take that part of the PR to include Investigate in the category chart. Thoughts? If you agree, can you update the PR to just fix #1457? |
@merill Question though Is there any plans on including some license requirements for tests that was skipped due to license so we can acurately show how much extra gets added from license to license? |
SamErde
left a comment
There was a problem hiding this comment.
LGTM! Have you built and tested the report template locally already?
yup the ReportTemplate.html is included in the pr even if it is not needed following the docs :) |
|
In addition to adding Investigate, this also adds a Not Tested card to the top.
As an aside -- something for a different PR -- it would be really nice if the status cards were each hyperlinks that set the filter in the list below. For example, click the |
I do agree there is a lot in the top tbf i did not even notice when i made the additional changes it felt natural to me to at least have somewhere to visually show how many tests where not run for one reason or another. I like the idea about adding the filtration but that would properly go into another PR :) |
|
What if we removed the "Skipped" and "Not Tested" cards from the top, but also reduce the "Total tests" by the sum of (Skipped + Not Tested)? I still feel like the top row of cards is too busy and makes it harder to see the important details. |
Sure can do will properly do it a bit later today or tomorrow |
On the "Total Tests" it will now take the total amount of tests and minus (-) with "Skipped" and "Not Tested" Clicking the diffrent cards wioll now apply to the status filter (video attached in my comment as that is easier to show like that) In order to accomplice this i had to move the State of Status "selectedStatus" out to the HomePage.tsx so both the "MtTestSummary.jsx" and the "TestResultsTable.jsx" can utilize the same state rather than having to deal with overwriting each other and updating each other on selection Co-authored-by: Copilot <copilot@github.com>
|
removed "Skipped" and "Not Tested" cards from the top. Clicking the diffrent cards wioll now apply to the status filter (video attached in my comment as that is easier to show like that) 2026-04-26.22-27-45.mp4In order to accomplice this i had to move the State of Status "selectedStatus" out to the HomePage.tsx so both the "MtTestSummary.jsx" and the "TestResultsTable.jsx" can utilize the same state rather than having to deal with overwriting each other and updating each other on selection |
Not up to standards ⛔
|
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 7 changed files in this pull request and generated 6 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ake sure that was working as intended aswell. including a new video as the ui now highlights selected cards instead of making them darker. Co-authored-by: Copilot <copilot@github.com>
Applied Copilots suggestions and added a comment on this one also here is an updated video of how it looks after copilots suggestions 2026-04-26.22-52-28.mp4 |
|
Amazing! I think it's ready to go out. Going to run a test as well. |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 7 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
… summary cards - MtBlocksArea: remove unused Tremor imports (Text, ListItem, CategoryBar) and unused testSummaryColors constant - MtTestSummary: remove unused heroicon imports (ArchiveBoxIcon, ForwardIcon) - MtTestSummary: introduce adjustedTotal (clamped >=0) to prevent NaN/negative display in Total tests metric and percentage denominator - MtTestSummary: add role, tabIndex, onKeyDown (Enter/Space), aria-label, and aria-pressed to interactive cards when onStatusChange is present Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>







Description
Fixes #1457
Invesatigate is now correctly displayed in the "By category" section.
Is now also shown in the top bar and "Test status" Skipped has also been added will add a picture in a comment on this PR
Contribution Checklist
Before submitting this PR, please confirm you have completed the following:
/powershell/tests/pester.ps1on your local system.Join us at the Maester repository discussions 💬 or Entra Discord 🧑💻 for more help and conversations!