This is currently disabled though (value in route/index.js is
commented out) as it is not possible at the moment to create
new projects fully from scratch from the frontend. See comment
on previous commit.
NB: projects may be created fully from scratch by making an API
request with a suitable YAML / JSON configuration file, thusly:
curl -vs "https://[hostname]/api/project" -X POST \
-H "Content-Type: application/yaml"
--data-binary @/path/to/configuration.yaml
This is not usable at the moment as the backend requires even
more details, such as binning parameters, which this dialogue
does not provide.
It might be a matter of relaxing the rules on the backend or,
perhaps more likely, rethinking the project creation / editing
frontend. Maybe refactoring the frontend so that saves are done
in one go for the whole configuration as opposed to piecemeal as
currently done might make it easier to work on a configuration
(especially a new one) fully offline.
Until now, credentials were set indirectly by reading the browser's
cookie store. This change allows us to receive credentials via other
mechanisms, notably WebSockets.
It operates in one of these modes:
* facet="bars" (default): shows a barplot.
* facet="lines": shows a lineplot.
* facet="area": shows a lineplot where the area between the
line(s) and y=0 is filled with a colour.
The component takes a list of shots and operates in one of these
modes:
* facet="scatter" (default): shows a scatterplot of every shot
where x is the crossline and y are the inline errors.
* facet="crossline": shows a line graph depicting the crossline
error along the line, x is the shotpoint and y is the crossline
error.
* facet="2dhist": shows the crossline error as a 2D histogram.
The z value is the density (number of samples in the bin) and
x and y are the bin centres.
* facet="c-o": provided that the shot data comes from a final
sequence, shows the difference between final and raw positions
along the inline / crossline axes.