Repository navigation
feat(dashboard): each source's numbers, and the sources compared - #463
Merged
Merged
Conversation
gx1400
force-pushed
the
feat/dashboard-sources
branch
from
October 28, 2026 12:57
64594c8 to
ba0d15e
Compare
With two or more sources, a Source picker shows All sources or one: the engine keeps the same counters again per source, a copy another source brought first counting for this one too, while All sources counts it once. All sources adds Sources compared: each source's stations heard, packets and the stations no other source heard. Each source's counters are kept across restarts, and their hours in metrics.db for 7 days. Closes #454
gx1400
force-pushed
the
feat/dashboard-sources
branch
from
October 28, 2026 13:21
ba0d15e to
928cfc9
Compare
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.
Closes #454. Stacked on #462. It depends on #460 for
metrics.db.Engine:
DashboardCountersper source, the same class as the whole feed's. Every packet a source lists is counted there.RecordSource) is summarized and counted for this source. All sources still counts it once.GetSourceDashboardAsync(range, sourceId, filter)works for every range, including 7 days from that source's hours. Farthest, weather, the tables and heard on RF stay the whole feed's.Dashboard.Comparison(DashboardSourceRow: stations, packets, heard only here) is on the All sources dashboard when there are two or more sources. Over 7 days it covers the last 24 hours.dashboard-history.json(HistorySnapshot.Sources, optional, so older files still load) and hourly inmetrics.db.metrics.dbmoves to schema 2 with asourcecolumn. A schema 1 file from feat(dashboard): a 7 days range, from hours kept 90 days #460 builds is set aside and started afresh; none was ever released.UI:
Spec: F1.22 behavior 7a and the service surface.
Tests:
Release build, all tests and csharpier pass locally.