Skip to content

Conversation

@machshev
Copy link
Collaborator

@machshev machshev commented Jan 6, 2026

No description provided.

This higher level wrapper can be used to generate all the reports with
one function. The benefit of this is that the CLI no longer needs to know
what lower level functions are required to generate the whole set of
reports. Making it easier to ensure that the admin command report
generation doesn't diverge from the in flow report generation.

Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
Reduce the block report to an HTML fragment that is loaded with the
wrapper using AJAX requests. Update the summary report links to use a
bootstrap button class (which is nicer than the blue URLs anyway?), and
use HTMX to replace the `#report-content` div with the block report.

The `hx-push-url="true"` is important to make sure the back button on
the browser works as expected.

Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
Script to download the js and css dependencies that the HTML reports
depend on. This means that the reports can be viewed offline and removes
unnecessary dependency on CDN.

Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
Add a static file renderer to go alongside the jinja2 renderer for the
static dependencies that do no need templating. This essentially creates
a copy of the files in the output directory.

Now we have the css/js dependencies locally generated we can update the
report template to use them.

Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
Signed-off-by: James McCorrie <james.mccorrie@lowrisc.org>
@machshev machshev closed this Jan 6, 2026
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.

1 participant