Skip to content
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

Use better website solution #3

Open
alexezeder opened this issue Nov 17, 2021 · 0 comments
Open

Use better website solution #3

alexezeder opened this issue Nov 17, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@alexezeder
Copy link
Owner

The basic website generation scheme is simple:

[runner results] -> [sqlite] -> [website generator] -> [static pages]

But currently website generator is a Python script that uses Jinja to bake specified pages. That's bad for few reasons:

  • results are not adjustable by users on website since they are baked in pages by some rules at pages creation time,
  • only limited some commits are displayed on website, no history other that in SQLite database (which is unavailable),
  • because there is no history, there is also no way to create permalinks,
  • UI would be way better with an adjustable commits range, selectable benchmarks and other reactive stuff.

That's why I think the best solution is to use some JS reactive framework, here are some key points:

  • probably Vue.js with routing for permalinks,
  • same website design without any Pages menu, only the main chart element with some settings below,
  • still Chart.js for charts, using this for Vue.js,
  • data should be provided to the static website by either dumping SQLite database to JSON or using sql.js to make request to SQLite right in a browser,
  • data for previous runs should be also available for permalinks.

But that's huge...

@alexezeder alexezeder added the enhancement New feature or request label Nov 17, 2021
@alexezeder alexezeder self-assigned this Nov 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant