chore: deploy analytics sites with trend charts#4846
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the generated static analytics dashboards (AnVIL Explorer, HCA Data Explorer, LungMAP) in gh-pages/ to support export-event trend charts, and simplifies file download reporting to “count-only” totals to reduce payload/UI complexity.
Changes:
- Add
event_charts.jsontime-series data files for each site and updateindex.htmlto fetch/render trend charts via Chart.js. - Change file download datasets (
file_downloads.json,file_download_events.json) from row-level tables to total-only JSON and update templates accordingly. - Update per-app
generate_static_site.pyscripts to write output directly into the deployablegh-pages/folders.
Reviewed changes
Copilot reviewed 20 out of 21 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| gh-pages/lungmap/index.html | Adds event trend chart rendering and converts file download sections to total-only cards. |
| gh-pages/lungmap/data/meta.json | Regenerated metadata timestamp. |
| gh-pages/lungmap/data/file_downloads.json | Switches to { "total": ... } format. |
| gh-pages/lungmap/data/file_download_events.json | Switches to { "total": ... } format. |
| gh-pages/lungmap/data/event_charts.json | Adds monthly event chart series data. |
| gh-pages/hca-explorer/index.html | Adds event trend chart rendering and converts file download sections to total-only cards. |
| gh-pages/hca-explorer/data/pageviews.json | Regenerated pageview data. |
| gh-pages/hca-explorer/data/monthly_traffic.json | Regenerated traffic series data. |
| gh-pages/hca-explorer/data/meta.json | Regenerated metadata + updated rollup values. |
| gh-pages/hca-explorer/data/file_downloads.json | Switches to { "total": ... } format. |
| gh-pages/hca-explorer/data/file_download_events.json | Switches to { "total": ... } format. |
| gh-pages/hca-explorer/data/event_charts.json | Adds monthly event chart series data. |
| gh-pages/anvil-explorer/index.html | Adds event trend chart rendering and converts file download sections to total-only cards. |
| gh-pages/anvil-explorer/data/meta.json | Regenerated metadata timestamp. |
| gh-pages/anvil-explorer/data/file_downloads.json | Switches to { "total": ... } format. |
| gh-pages/anvil-explorer/data/file_download_events.json | Switches to { "total": ... } format. |
| gh-pages/anvil-explorer/data/event_charts.json | Adds monthly event chart series data. |
| analytics/lungmap-analytics/sheets/generate_static_site.py | Changes generator output directory to gh-pages/lungmap. |
| analytics/hca-explorer-sheets/generate_static_site.py | Changes generator output directory to gh-pages/hca-explorer. |
| analytics/anvil-explorer-sheets/generate_static_site.py | Changes generator output directory to gh-pages/anvil-explorer. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
NoopDog
approved these changes
May 21, 2026
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.
Ticket
Closes #4825
Summary
gh-pages/directory for deploymentevent_charts.jsondata files for all three apps (HCA, AnVIL Explorer, LungMAP)Test plan
🤖 Generated with Claude Code