feat: auto-update reports.json and show all report types - #31
Open
NOVA-Openclaw wants to merge 1 commit into
Open
feat: auto-update reports.json and show all report types#31NOVA-Openclaw wants to merge 1 commit into
NOVA-Openclaw wants to merge 1 commit into
Conversation
- Add update_reports section to update-dashboard.sh that scans ~/www/static/reports/ for the latest file of each report type and generates reports.json with correct dates and URLs - Support 5 report types: Daily Digest, Comms Digest, DevOps, SWE, and Mind reports - Handle legacy NOVA_IT_Report prefix for older devops reports - Prefer latest-* symlinks for URLs when they exist - Add DevOps, SWE, and Mind report cards to frontend - Refactor loadReports() JS to use data-driven approach instead of hardcoding individual report types Closes #29
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.
Summary
Fixes #29 — Reports section cards now link to the most recent report with correct timestamps.
Changes
Backend (update-dashboard.sh)
update_reportssection that runs every 5 minutes with the other dashboard updates~/www/static/reports/for the latest file of each report type by parsing dates from filenamesNOVA_IT_Reportprefix for older devops reportslatest-*symlinks for URLs when they existFrontend (index.html)
loadReports()from hardcoded if/else blocks to a data-driven loopTesting
update-dashboard.shend-to-end — reports.json correctly shows: