Add analytics page #28
Merged
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.
This pull request introduces a comprehensive weekly GitHub metrics collection workflow, updates the deployment process to auto-publish analytics when metrics are updated, and refreshes the site’s visual style to align with the Vector Institute brand. It also updates documentation and pre-commit settings to support the new analytics features.
GitHub Metrics Collection & Automation:
.github/workflows/collect-metrics.ymlworkflow to automatically collect and commit GitHub repository metrics weekly, with data validation, commit logic, and summary reporting..github/workflows/deploy-catalog.ymlto auto-trigger deployment when metrics are updated, ensuring the analytics dashboard is always current. Also adds a condition to only deploy if metrics collection succeeded. [1] [2]Analytics Dashboard & Documentation:
README.mdwith a new section describing the analytics dashboard, its features, and instructions for manual and automated metrics collection, including token requirements.Pre-commit & Data Handling:
.pre-commit-config.yamlto exclude the new metrics data files from typo checks, preventing unnecessary linting on generated analytics data.Branding & Visual Refresh:
catalog/app/globals.cssand updates UI components incatalog/components/hero.tsxandcatalog/app/page.tsxto use the official Vector Institute color palette, improving visual consistency and branding across the site. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]