feat: add access metrics section to HCA analytics report#4880
Merged
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds DUOS-based access request tracking to the HCA analytics static site, including normalized project page-path grouping and UI adjustments to hide service-related summary/columns when only one access-request service exists.
Changes:
- Enable access request tracking for HCA by configuring
access_request_urls=["duos.org"]and generatingaccess_requests.json. - Normalize access-request
page_pathvalues to the entity base path (e.g.,/projects/<uuid>), improving grouping/aggregation. - Update the static-site template/UI to conditionally hide the access-request service summary cards/column when only one service is present, and set a dynamic entity label in the access-requests table header.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| gh-pages/hca-explorer/index.html | Updates generated static site JS to support service display logic and dynamic entity labeling in the access-requests table. |
| gh-pages/hca-explorer/data/meta.json | Updates generated timestamp metadata for the HCA analytics site build. |
| gh-pages/hca-explorer/data/access_requests.json | Adds generated DUOS access request metrics grouped by project page path. |
| analytics/hca-explorer-sheets/generate_static_site.py | Enables access request tracking for HCA via access_request_urls=["duos.org"]. |
| analytics/analytics_package/analytics/static_site/template/index.html | Updates template logic for access-request services/cards/columns and dynamic entity labeling. |
| analytics/analytics_package/analytics/static_site/fetch.py | Normalizes access-request page paths to entity base paths before aggregation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
NoopDog
approved these changes
Jun 29, 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 #4879
Summary
access_request_urls=["duos.org"]/projects/UUID/get-curl-commandand/projects/UUID/project-metadatamerge into/projects/UUID)Test plan
🤖 Generated with Claude Code