Merge branch 'master' of https://github.com/uid/caesar-web into abby
Closed #181
Working on fullproof scoring engine, in progress.
Scoring engine works! Code is not clean--going to clean up now.
code somewhat cleaner, also now it displays the comments in the comment-reply style rather than in the console
displays dates of old comments
now sorting reused comments and displaying the top 3 options
Cleaned up code. Currently have woring scoring engine which uses student entering comments as a search query, searches through user's previous comments, and displays the top 3 matches underneath in the style of comment replies. Boolean engine code is commented out right now.
modified chunk.js, now can highlight to select text of reused comments
Fixed the view_comment function to be independent of caesars base url. For reused comments, added a hyperlink to the original chunk of reference. TODO figure out how to deal with linking to chunks once students are using the exact same comment for multiple chunks.
Removed commented out boolean engine code.
Added carriage return as a key that will begin searching.
Changed resued comments to be in a div containing text rather than a textarea
Highlight matching keywords in old comments query
Animate reused comment dropdown, changed margins of comments to not have negative margins so animation looks good.
Now loads all staff comments for staff members to reuse. Verbose description of reusing comments in the reuse comment box. Rather slow to load all comments.
Different vis of comment box. Order is more like reply with chunk as header and time/author as author. Less verbose.
Only load distinct comments.
Added a div wrapper around reused comment display to clean up code.
Cleaned code