Add Antenna Signal Quality Metrics UI to Experimental Menu#72
Open
clndwhr wants to merge 3 commits intodr-dolomite:developmentfrom
Open
Add Antenna Signal Quality Metrics UI to Experimental Menu#72clndwhr wants to merge 3 commits intodr-dolomite:developmentfrom
clndwhr wants to merge 3 commits intodr-dolomite:developmentfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds an Antenna Insights page under the Experimental menu to display per-antenna cellular signal metrics (RSRP/RSRQ/SINR) with band-aware percentage calculations, but it also includes several additional system/UI features (auth verification, bandwidth monitoring toggle, TTL persistence, ethernet link limiting) and a toolchain/dependency update.
Changes:
- Add Antenna Insights experimental route and a new signal-quality UI component that polls AT command data.
- Extend signal metric percentage calculations to differentiate LTE vs 5G SINR.
- Add/adjust multiple device services & settings scripts (QuecWatch events → Network Insights, bandwidth monitoring settings, TTL persistence, ethernet link speed limit, auth verification) and update dependencies/tooling.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| utils/signalMetrics.ts | Updates signal percentage ranges and adds band-type-aware SINR calculation. |
| tsconfig.json | Switches JSX transform and expands Next type include paths. |
| scripts/cgi-bin/services/quecwatch.sh | Adds centralized logging constants, CFUN-based recovery, and QuecWatch event logging for Network Insights. |
| scripts/cgi-bin/services/network_insights_interpreter.sh | Adds processing of QuecWatch events into interpreted network insights. |
| scripts/cgi-bin/quecmanager/settings/bandwidth_settings.sh | New CGI endpoint to enable/disable bandwidth monitoring via UCI and service management. |
| scripts/cgi-bin/quecmanager/experimental/quecwatch/fetch-quecwatch.sh | Switches “last activity” source from legacy log file to status JSON. |
| scripts/cgi-bin/quecmanager/cell-settings/imei_manager.sh | New helper CGI to store/retrieve previous IMEI in UCI. |
| scripts/cgi-bin/quecmanager/auth_verify.sh | New backend token verification CGI used by ProtectedRoute. |
| scripts/cgi-bin/quecmanager/advance/ttl.sh | Adds separate IPv6 HL support and boot persistence via init script. |
| scripts/cgi-bin/quecmanager/advance/eth_link_limit.sh | New CGI endpoint to cap ethernet link negotiation via ethtool with persistence. |
| postcss.config.mjs | Formatting-only change. |
| package.json | Renames package, switches dev/build/start to Bun, upgrades dependencies, adjusts overrides. |
| components/ui/chart.tsx | Broadens tooltip/legend prop typing for compatibility with updated recharts types. |
| components/theme-provider.tsx | Fixes ThemeProviderProps import path for next-themes. |
| components/settings/ethernet-link-limit-card.tsx | New UI card to configure ethernet link speed limit. |
| components/seasonal/christmas-greeting.tsx | Adds a seasonal greeting dialog shown on Dec 25. |
| components/pages/signal-quality.tsx | New antenna signal UI (polling + per-antenna bars + guidance). |
| components/pages/dns-card.tsx | Tracks initial DNS mode and refines Save button disabled logic. |
| components/home/ethernet-card.tsx | Adds short description text to ethernet info card. |
| components/home/bandwidth-monitor-card.tsx | Adds enabled/disabled state (settings-driven) and a disabled UI state. |
| components/hoc/protected-route.tsx | Adds backend auth token verification before rendering protected content. |
| bun.lock | Adds Bun lockfile for dependency resolution. |
| app/dashboard/settings/personalization/page.tsx | Adds UI controls to toggle live bandwidth monitoring. |
| app/dashboard/layout.tsx | Mounts ChristmasGreeting globally in the dashboard layout. |
| app/dashboard/experimental/layout.tsx | Adds navigation link to Antenna Insights. |
| app/dashboard/experimental/antenna-insights/page.tsx | New Antenna Insights page that renders the signal-quality component. |
| app/dashboard/cell-settings/imei-settings/page.tsx | Adds restore-previous-IMEI flow + dialog and stores previous IMEI before changes. |
| app/dashboard/advanced-settings/ttl-settings/page.tsx | Adds HL value + “sync HL with TTL” UI and POSTs ttl+hl. |
| app/dashboard/advanced-settings/connectivity/page.tsx | Adds EthernetLinkLimitCard to connectivity settings page. |
| README.md | Updates dev prerequisites and adds Bun-based setup instructions. |
| CHANGELOG.md | Updates changelog version and lists new features added. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
🔢 Add Antenna Signal Quality Metrics UI to Experimental Menu
Summary
Implemented a new Antenna Insights page in the experimental menu that provides detailed per-antenna signal quality metrics with real-time monitoring and visual feedback to help users optimize their cellular antenna positioning.
✨ Features Added
Individual Antenna Monitoring
Signal Quality Metrics
Visual Enhancements
User Guidance
🛠️ Technical Implementation
Backend Integration
Frontend Components
app/dashboard/experimental/antenna-insights/page.tsxrouteSignalQualityComponentwith:Signal Processing
utils/signalMetrics.tsutility with:📱 User Experience
🎯 Use Cases
🧪 Testing Notes
This feature provides QuecManager users with professional-grade antenna diagnostics previously only available through complex AT command interfaces, making cellular optimization accessible to all users.