Download dashboard: filters, Unknown-region split, TB readout, active-filters banner - #11870
Open
sh-andriy wants to merge 1 commit into
Open
Download dashboard: filters, Unknown-region split, TB readout, active-filters banner#11870sh-andriy wants to merge 1 commit into
sh-andriy wants to merge 1 commit into
Conversation
…e-filters banner Four download-telemetry dashboard improvements requested on the review call: - Separate the "Unknown" region out of the ranked region charts so a large region-less bucket no longer crowds real countries off the chart. Bars scale to the largest known region; Unknown is reported on its own line under each region chart and the provider table. - Add project (by guid) and user (by email or guid) input filters to the sidebar. They drive the table and every chart, since the dashboard reads the same filtered changelist queryset. - Show a TB reading in brackets next to GB on the headline tiles once a figure is terabyte-scale; GB stays the primary unit. - Add an "applied filters" banner at the top of the charts summarising what the numbers are currently scoped to. Display/admin only — no model, migration or capture-path changes.
sh-andriy
force-pushed
the
feature/pbs-26-15-dashboard-filters-units
branch
from
August 19, 2026 14:46
317b9c2 to
b585333
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.
Four download-telemetry dashboard improvements from the review call. Display/admin only — no model, migration, or capture-path changes, so it's safe to deploy.
1. Separate "Unknown" out of the region charts
A large region-less bucket was crowding real countries off the region charts. Unknown is now pulled out of the ranked list and reported on its own line under each region chart and the provider table; the bars scale to the largest known region so countries stay readable.
2. Filter by project and by user
New sidebar input filters: project (exact resource guid) and user (email or user guid). They drive the table and every chart, since the dashboard reads the same filtered changelist queryset. Uses a free-text input filter rather than a dropdown because both fields are high-cardinality.
3. TB readout next to GB
The headline tiles (Total GB, File vs zip GB) now show a
(x.xx TB)reading in brackets once a figure is genuinely terabyte-scale. GB stays the primary unit; sub-terabyte numbers are unchanged.4. Applied-filters banner
A chip row at the top of the charts summarising exactly what filters/search the numbers are scoped to.
Testing
test_download_events_dashboard,test_download_telemetry).makemigrations --checkclean (no schema changes).manage.py checkclean.annotated == plainguardrail still holds.