arXiv / arxiv-submission-ui

User interface of NG submit system.
MIT License
2 stars 6 forks source link

Variables for Submission UI file processing templates #58

Closed JaimieMurdock closed 5 years ago

JaimieMurdock commented 5 years ago

This PR adds several variables to the templates to enable better handling of errors and warnings.

In particular, there is a master status template variable, that should correspond to the Status enum for the compiler service module. The status template variable however does not take an enum right now, just something to work right now. This variable controls the display of the primary warning/error message.

A separate set of template variables — messages warnings errors — expects a list of strings to print as the messages. These are passed into the "TeXLive Compiler Summary" box.

There are two changes in the Pipfile: arxiv-submission-core is pinned to 0.6.2rc3 and mypy_extensions has been added.

Finally, I'm still getting the compiler service working properly. That will be incorporated as a fix on ARXIVNG-1440.