Skip to content

v2.2.1: polish overview and expand statistics - #186

Merged
fifthsegment merged 2 commits into
masterfrom
home-stats-polish
Sep 24, 2026
Merged

fifthsegment merged 2 commits into
masterfrom
home-stats-polish

Conversation

@fifthsegment

@fifthsegment fifthsegment commented Sep 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • redesign the home page around concise gateway status, recent activity, setup progress, and connection details
  • replace the legacy stats view with decision-log KPIs, a request timeline, domain/device/policy rankings, and traffic breakdowns
  • extend the decision summary API with selectable windows, reach metrics, top domains, policy counts, and timeline buckets
  • associate and label devices by MAC address first, then DNS hostname, then IPv4
  • show user-defined device names beside raw client IPs in the decision log without changing the stored/API decision schema
  • refresh device-modal decision activity while open and serialize live log/stat polling to avoid stale responses
  • report aggregate upload, download, and total proxy traffic since process startup through an authenticated, no-store endpoint
  • remove unused onboarding instruction components and bump GateSentry to 2.2.1

Verification

  • go test -race ./gatesentryproxy/...
  • cd application && go test ./...
  • cd ui && yarn vitest run (39 tests passed)
  • cd ui && yarn check (baseline matched: 19 known errors and 19 known warnings)
  • ./scripts/frontend.sh validate
  • make verify
  • authenticated smoke tests for decision-schema redaction, log and modal polling, traffic polling, and proxy counter increments
  • reviewed desktop and mobile screenshots for Home, Stats, and Logs

🤖 Generated with [CC]

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov-commenter

codecov-commenter commented Sep 24, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 77.35849% with 36 lines in your changes missing coverage. Please review.
✅ Project coverage is 48.46%. Comparing base (aaa154b) to head (1ec61e3).

Files with missing lines Patch % Lines
gatesentryproxy/traffic.go 77.96% 8 Missing and 5 partials ⚠️
...plication/webserver/endpoints/handler_decisions.go 57.69% 8 Missing and 3 partials ⚠️
application/dns/discovery/mdns.go 63.63% 2 Missing and 2 partials ⚠️
application/webserver/webserver.go 0.00% 3 Missing ⚠️
application/runtime.go 0.00% 2 Missing ⚠️
application/webserver.go 0.00% 1 Missing ⚠️
application/webserver/types/types.go 0.00% 1 Missing ⚠️
gatesentryproxy/transparent.go 0.00% 1 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #186      +/-   ##
==========================================
+ Coverage   48.07%   48.46%   +0.38%     
==========================================
  Files         123      125       +2     
  Lines       11005    11138     +133     
==========================================
+ Hits         5291     5398     +107     
- Misses       5025     5042      +17     
- Partials      689      698       +9     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Co-Authored-By: [CC] <noreply@anthropic.com>
@fifthsegment
fifthsegment merged commit b9e3a50 into master Sep 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants