[PATCH] D111289: [LNT] Refactored the Graph page to use the library plotly instead of jQuery.flot

Pavel Kosov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 02:10:56 PDT 2021


kpdev42 created this revision.
kpdev42 added reviewers: thopre, cmatthews, danilaml.
kpdev42 added a project: LLVM.
Herald added a subscriber: dkolesnichenko.
kpdev42 requested review of this revision.

Added the library Plotly.
Updated the page Graph to use plotly instead of jQuery.flot.
Note the tooltip window may be closed by left doubleclick on the graph area.
Implemented multiple Y axis, Dates as X axis,  cumulative minimum, etc.
Added useful descriptions to all HTTP 400 and 404.
Renamed MatrixDataRequest to PlotParameter and added few helper methods to parse plot parameters and load some data.
Now PlotParameter is a common data holder which is used on many pages.
Added views_util.py with methods to export Graph data to JSON and CSV.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111289

Files:
  lnt/server/ui/api.py
  lnt/server/ui/static/lnt_graph.js
  lnt/server/ui/static/lnt_regression.js
  lnt/server/ui/templates/v4_graph.html
  lnt/server/ui/templates/v4_new_regressions.html
  lnt/server/ui/templates/v4_regression_detail.html
  lnt/server/ui/views.py
  lnt/server/ui/views_util.py
  setup.py
  tests/server/ui/test_api.py
  tests/server/ui/test_matrix_page.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111289.377770.patch
Type: text/x-patch
Size: 114055 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211007/6c5f516a/attachment-0001.bin>


More information about the llvm-commits mailing list