• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Alan-Jowett / sonde / 27707411440
82%

Build:
DEFAULT BRANCH: main
Ran 17 Jun 2026 05:37PM UTC
Jobs 1
Files 124
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Jun 2026 05:27PM UTC coverage: 82.212% (-0.01%) from 82.226%
27707411440

push

github

web-flow
feat(web-ui): Custom Dashboards with Computed Metrics (#1142)

* feat(web-ui): add Custom Dashboards with computed metrics

Add Custom Dashboards feature allowing admins to create multi-dashboard views with
algebraic expressions over sensor data.

Requirements (WEB-1100 through WEB-1110):
- Dashboard CRUD operations with tab navigation
- Variable binding to sensor data sources (node ID + reading type)
- Expression editor with safe evaluation (expr-eval 2.0.2, no eval())
- Metric configuration (display name, expression, color)
- Time-series evaluation with algebraic transforms
- Error handling (syntax, runtime, missing data points)
- localStorage persistence scoped per environment
- Environment JSON export/import integration
- Coexistence with existing Sensor Data tab
- Operator precedence documentation
- Soft limits (20 dashboards, 10 metrics) with override capability

Design:
- expr-eval 2.0.2+ integration (DEP-006) loaded from CDN with SRI hash
- Parser-based variable usage detection (prevents false positives)
- Metric re-validation on load (localStorage tamper protection)
- QuotaExceededError handling with user-visible feedback
- Dashboard-scoped variables enable cross-variable expressions
- Vertical metric layout (extensible to grid later)
- Per-dashboard time range (shared by all metrics in dashboard)

Implementation:
- Added Dashboards tab to index.html
- Added ~860 lines dashboard UI/logic to app.js
- Added dashboard-specific CSS styles to style.css
- Integrated with environment persistence and export/import
- Preserved existing Sensor Data functionality

Validation:
- 41 test cases added (T-WEB-1100 through T-WEB-1132 + variants)
- 24/25 existing tests pass (1 test needs update for dashboards field)

Traceability: WEB-1100, WEB-1101, WEB-1102, WEB-1103, WEB-1104, WEB-1105,
WEB-1106, WEB-1107, WEB-1108, WEB-1109, WEB-1110

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>

* Add adversarial-branch-review

Signed-off-by: Alan Jowett <alan.j... (continued)

38475 of 46800 relevant lines covered (82.21%)

248.27 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
81.27
-0.27% crates/sonde-azure-companion/src/main.rs
Jobs
ID Job ID Ran Files Coverage
1 27707411440.1 17 Jun 2026 05:37PM UTC 124
82.21
GitHub Action Run
Source Files on build 27707411440
  • Tree
  • List 124
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27707411440
  • b1309cf7 on github
  • Prev Build on main (#27656431265)
  • Next Build on main (#27710597843)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc