feat: make firewall activity collapsible like other report sections#204
Merged
Conversation
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update markdown to match style of other reports
feat: make firewall activity collapsible like other report sections
Jan 13, 2026
Contributor
Test Coverage Report
Coverage ThresholdsThe project has the following coverage thresholds configured:
Coverage report generated by `npm run test:coverage` |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR makes the Firewall Activity section collapsible by moving the heading inside the <summary> tag, matching the design pattern used by other report sections like Safe Inputs MCP Server Logs and MCP Gateway.
Changes:
- Moved "Firewall Activity" heading from outside to inside the
<summary>tag - Added
▼prefix to the stats line and moved it outside the<summary>tag - Updated all test expectations to match the new format
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/logs/stats-formatter.ts | Restructured markdown output to make the section properly collapsible with title in summary tag |
| src/logs/stats-formatter.test.ts | Updated test expectations to verify the new collapsible format |
| docs-site/src/content/docs/reference/cli-reference.md | Updated example output documentation to reflect the new format |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Mossaka
approved these changes
Jan 15, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Firewall Activity section used a heading outside the
<details>tag, making it non-collapsible unlike other report sections (Safe Inputs MCP Server Logs, MCP Gateway).Changes
src/logs/stats-formatter.ts: Moved "Firewall Activity" into<summary>tag, added▼prefix to stats linesrc/logs/stats-formatter.test.ts: Updated test expectationsdocs-site/src/content/docs/reference/cli-reference.md: Updated example outputBefore/After
Before:
After:
Screenshot
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.