Add resource thumbnails on generation page #642
This pull request adds thumbnail images to the resource generation page. When a user changes the requested resource combination on the generation form, the preview image updates. Adds management commands to the pipeline as well. Updates all resources for this change.
Also improves CI testing by using smarter conditionals to only test required jobs (rather than creating job, spooling up environment, then detecting to skip job).
This command creates thumbnail images of PDF resources and stores them in the 'build' folder for 'collect_static' to find. Next steps: - Only display one page per resource. - Allow resource to specify which page to display as thumbnail. - Add in frontend connections to display thumbnails.
If no page is specified, a custom exception is thrown.
@@ Coverage Diff @@ ## develop #642 +/- ## =========================================== + Coverage 85.8% 87.53% +1.73% =========================================== Files 84 88 +4 Lines 2219 2303 +84 Branches 271 283 +12 =========================================== + Hits 1904 2016 +112 + Misses 253 231 -22 + Partials 62 56 -6