Skip to content

WIP: Adding Module History Page

Charles Elliott Hultquist requested to merge devel-module-history into devel-2.2

Added a new page ("history") that plots various electrical tests through the different stages.

  • Created pages/history.py to handle logic to load db .json files, create plots, pass variables to render the html template. Will grab plots from images directory if it is instructed not to recreate plots and those plots exist already.
  • Created templates/history.html with html to create history webpage
  • Edited app.py and pages/route.py to allow for new history page
  • Edited components_table.html to link to history page in the component table

WIP label because there are a few edits to be made:

  • Store images in more organized way (rather than dump in images directory)
  • Add button to recreate plots if desired

Merge request reports