Skip to content

chore: deploy analytics sites with trend charts#4846

Merged
MillenniumFalconMechanic merged 2 commits into
mainfrom
mim/4825-deploy-trend-charts
May 21, 2026
Merged

chore: deploy analytics sites with trend charts#4846
MillenniumFalconMechanic merged 2 commits into
mainfrom
mim/4825-deploy-trend-charts

Conversation

@MillenniumFalconMechanic
Copy link
Copy Markdown
Contributor

Ticket

Closes #4825

Summary

  • Copy regenerated static analytics sites to gh-pages/ directory for deployment
  • Adds event_charts.json data files for all three apps (HCA, AnVIL Explorer, LungMAP)
  • Updates templates with trend chart rendering code
  • Updates file download data to use count-only format

Test plan

  • All three sites verified locally before copying
  • Verify charts appear on deployed site after merge

🤖 Generated with Claude Code

MillenniumFalconMechanic and others added 2 commits May 21, 2026 12:10
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.json time-series data files for each site and update index.html to 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.py scripts to write output directly into the deployable gh-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.

Comment thread gh-pages/anvil-explorer/data/event_charts.json
Comment thread gh-pages/hca-explorer/data/event_charts.json
Comment thread gh-pages/lungmap/data/event_charts.json
Comment thread gh-pages/anvil-explorer/index.html
Comment thread gh-pages/hca-explorer/index.html
Comment thread gh-pages/hca-explorer/index.html
Comment thread gh-pages/lungmap/index.html
Comment thread analytics/anvil-explorer-sheets/generate_static_site.py
Comment thread analytics/hca-explorer-sheets/generate_static_site.py
Comment thread analytics/lungmap-analytics/sheets/generate_static_site.py
@MillenniumFalconMechanic MillenniumFalconMechanic merged commit 6e296c0 into main May 21, 2026
7 checks passed
@MillenniumFalconMechanic MillenniumFalconMechanic deleted the mim/4825-deploy-trend-charts branch May 21, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add monthly trend charts for export events to static analytics pages

3 participants