This is a web dashboard to be used with MolSSI's [Simulation Environment for Atomistic and Molecular Modeling](https://molssi-seamm.github.io) (SEAMM). This dashboard will allow users to view results of their calculations (jobs), keep track of their simulation procedures (flowcharts), and group their jobs into projects.
This PR is to address the long load times experienced for large-er text files. The files are really not that large (~150 KB), but are still resulting in long load times. This occurs because of the syntax highlighting program, in particular, the addition of line numbers when the file is syntax highlighted cause very long load times. Syntax highlighting itself does not seem to take too long.
This PR makes the following change:
Code lines are only added if the file is less than 75 KB in size. Otherwise, it is still highlighted, but no line numbers are displayed.
Other options would be to discard line numbers completely.
This PR is to address the long load times experienced for large-er text files. The files are really not that large (~150 KB), but are still resulting in long load times. This occurs because of the syntax highlighting program, in particular, the addition of line numbers when the file is syntax highlighted cause very long load times. Syntax highlighting itself does not seem to take too long.
This PR makes the following change:
Other options would be to discard line numbers completely.