NOTE: while currently functional, the code currently contains several entry points for data to enter the actual application. This should be refactored and simplified before this PR is merged.
Specifically:
the table is populated both by populateTable in uploader.js, and through PHP code in index.php
uploading a file currently triggers confirmUpload -> renderOnReload -> addLinksAndLinks -> updateEdges. Refreshing the page with F5 jumps in at renderOnReload. This whole sequence is unclearly named and does a bunch of double stuff.
@suvayu Shall we work on this together on Thursday?
Fixes #70 , fixes #77
NOTE: while currently functional, the code currently contains several entry points for data to enter the actual application. This should be refactored and simplified before this PR is merged.
Specifically:
populateTable
inuploader.js
, and through PHP code inindex.php
confirmUpload -> renderOnReload -> addLinksAndLinks -> updateEdges
. Refreshing the page with F5 jumps in atrenderOnReload
. This whole sequence is unclearly named and does a bunch of double stuff.@suvayu Shall we work on this together on Thursday?