Skip to content

Revamp the main index page and templates folder structure #1062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

myanvoos
Copy link
Collaborator

@myanvoos myanvoos commented May 18, 2025

This PR overhauls the UI of the main index page and the report's overall styling. It introduces:

  • A new nested tables layout with benchmarks now grouped to projects
  • Overpass fonts (inspired by the OSV project)
  • A consistent global colour theme
  • A function to prettify benchmark names i.e. output-hiredis-rediscommandargv now only shows rediscommandargv

It also restructures the template folder, introducing standalone folders for each of the three main pages (index, benchmark, and sample) for better separation of concerns, and modifies the report generation pipeline accordingly.

Previous templates/ structure:

templates/
├─ index.html
├─ benchmark.html
├─ sample.html
├─ base.html
├─ crash.json
└─ index.json

New templates/ structure:

templates/
├── index/
│   ├── index.html
│   ├── index.css
│   └── index.js
├── benchmark/
│   ├── benchmark.html
│   ├── benchmark.css
│   └── benchmark.js
├── sample/
│   ├── sample.html
│   ├── sample.css
│   └── sample.js
├─ base.html
├─ crash.json
└─ index.json

Nested tables preview:

image

Dependencies introduced: Tailwind, Alpine.js

@oliverchang
Copy link
Collaborator

@DavidKorczynski can you help review this?

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.

2 participants