Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Update the AnVIL Explorer and HCA Data Explorer analytics reports to November 2026, with findable-ui's next analytics UI changes #5147

In progress

Description

@frano-m

Context

The static analytics reports for the AnVIL Explorer and the HCA Data Explorer are published to GitHub Pages from gh-pages/anvil-explorer/ and gh-pages/hca-explorer/. Both currently report on July 2026. The previous refresh was "chore: update analytics to July 2026" (#4905).

While regenerating the reports for November 2026, the AnVIL Explorer report failed while resolving dataset titles. Azul rejected the request to https://service.explore.anvilproject.org/index/datasets?size=1000 with Invalid value for parameter `size`, must not be greater than 400.

The reports' styles come from findable-ui's static/analytics.css. The analytics package ships a copy of it in analytics/analytics_package/analytics/static_site/template/ and copies it next to each generated page. UI changes to that stylesheet are under way in findable-ui but have not been released yet. This refresh should ship them.

Change

  1. Set CURRENT_MONTH = "2026-11" in analytics/anvil-explorer/constants.py and analytics/hca-explorer/constants.py.
  2. Lower the dataset page size in analytics/anvil-explorer/generate_static_site.py from 1000 to 400, the largest size Azul accepts.
  3. Regenerate gh-pages/anvil-explorer/ and gh-pages/hca-explorer/.
  4. Once findable-ui releases the analytics UI changes, update the template's analytics.css from that release, and regenerate both reports so their pages pick it up.

Depends on

  • The findable-ui release that carries the analytics UI changes.

Definition of done

  • Both reports show November 2026 as the current month, compared with October 2026.
  • The AnVIL Explorer report generates without errors and shows dataset titles, not UUIDs, in its dataset detail tables.
  • Both reports use the analytics.css from the findable-ui release that carries the analytics UI changes.
  • The pull request stays a draft until that findable-ui release is in.

How to verify

  1. From analytics/anvil-explorer/, run uv run python generate_static_site.py. The run ends with "Static site generation complete!" and no HTTPError.
  2. Do the same from analytics/hca-explorer/.
  3. Run python3 -m http.server 8080 from gh-pages/, and open http://localhost:8080/anvil-explorer/ and http://localhost:8080/hca-explorer/.
  4. On each page, check that the current month is November 2026 and the comparison month is October 2026.
  5. On the AnVIL Explorer page, check that the dataset detail tables show dataset titles.
  6. Compare gh-pages/*/analytics.css with static/analytics.css in the released findable-ui package. They should match, and the new UI changes should show on both pages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions