frostyfan109 / tranql

A Translator Query Language
https://researchsoftwareinstitute.github.io/data-translator/apps/tranql
MIT License
0 stars 1 forks source link

App.js needs refactoring #120

Open frostyfan109 opened 4 years ago

frostyfan109 commented 4 years ago

It would be nice to have modals refactored into their own files to shorten the file length. More importantly, however, are methods like configureMessage and translateGraph. They are bloated to the point where it is difficult to do anything related to them because it may break something. This would also involve changes to the render chain, because it seems like stuff in the two aforementioned methods should be moved there.

frostyfan109 commented 4 years ago

Large portion of modal refactoring completed in 6d681333406ab8ff8f755c7fff6b0fb652a28985, including moving many modals into their own files and adding a single state field activeModal to manage modals better.