summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2014-09-29change #2 to issue #74Anmol Agrawal
2014-09-29rhizicore: fix popping node on top left when creating a new nodeAlon Levy
The fix is ugly. Basically we are relying on the force layout [1] for the locations of the nodes. I've hidden the node until the first tick. Since we do a tick calculation (tick is a function in rhizicore) when adding a node there is no associated delay. [1] https://github.com/mbostock/d3/wiki/Force-Layout
2014-09-29rhizicore: remove some more empty linesAlon Levy
2014-09-29rhizicore: remove unused code from tickAlon Levy
2014-09-29rhizicore: dash bugfixAlon Levy
another refactor introduced (by cd7157955d15802f34dee6ac4578ae249f3e397d), forgot to change style at update instead of enter.
2014-09-29rhizicore: fix bug: hide links not currently focused or temporaryAlon Levy
bug introduced by cd7157955d15802f34dee6ac4578ae249f3e397d
2014-09-29rhizicore: add TODO to get rid of mouse click overlay rectAlon Levy
2014-09-29rhizicore: bug fix: draw links below nodesAlon Levy
bug introduced in cd7157955d15802f34dee6ac4578ae249f3e397d before that we recreated the links and nodes every update, and since all links were created before nodes the document order was <link> <link> <node> <node> which per SVG rendering order [1] leads to nodes being drawn on top of links. But after that commit the new links and nodes where created as they were being edited, so we got <link> <node> <link> <node> With this commit all links are created in a single group, getting back the correct order: <g> <link> <link> </g> <node> <node> nodes are ungrouped but there is no need for that (except that it looks strangely assymetrical). [1] http://dev.w3.org/SVG/modules/renderorder/SVGRenderOrder.html
2014-09-29rhizicore: myGraph: some cleanupAlon Levy
2014-09-28rhizicore: prevent click event when dragging a nodeAlon Levy
2014-09-28rhizicore: add TODO note to handle escape keyAlon Levy
2014-09-28rhizicore: we had a <g> leak, this fixes itAlon Levy
still have new/edited node visible at 0,0 briefly while edited The fix is by using d3 enter/update/exit and not killing all the nodes every time we run update.
2014-09-28rhizicore/update: use object for slight readability win/lose (line win)Alon Levy
2014-09-28rhizicore: remove deadcode and empty lines, fix single line ifsAlon Levy
2014-09-28textanalysis: move graph touching function to non ui partAlon Levy
2014-09-28textanalysis-ui: lookup textanalyser a single timeAlon Levy
2014-09-28robot: reduce number of globalsAlon Levy
2014-09-28textanalysis-ui: protect #textanalyser access for easier node.js usage for ↵Alon Levy
testing
2014-09-28s/TextAnalyser2/textAnalyser2/ plus use function as varsAlon Levy
2014-09-28history: correct spelling mistake in field s/linkes/links/Alon Levy
2014-09-28history: save json as text editor viewableAlon Levy
2014-09-28rhizicore: start responsive ui: svg width/height in percentAlon Levy
2014-09-23Fixes #51: type changes on mixed case / upper case node namesAlon Levy
2014-09-23textanalysis-ui: a little cleanupAlon Levy
according to my yet unwritten coding conventions: 1. no single line blocks 2. no empty lines without a good reason
2014-09-23rhizicore: adding nodes that exist is currently common practice, drop ↵Alon Levy
verbose logging
2014-09-23Fixes #50: drop parenthesis for prefix including sentencesAlon Levy
Previously: prefix #a does #b => ((a, b), [(a, b, "does (prefix)")]) now: => ((a, b), [(a, b, "prefix #a does #b")])
2014-09-23add a function comment to TextAnalyzer2; marking up it needs fixingAlon Levy
2014-09-23fix a #50 noticed error (introduced in af27835b)Alon Levy
2014-09-21textanalysis-ui: Fixes #42 - remove helper text when sentence is edited then ↵Alon Levy
deleted
2014-09-21Fixes #41: conjugation/connector only sentences keep their linksAlon Levy
2014-09-21textanalysis: drop two noisy logs introduced a few commits agoAlon Levy
2014-09-21rhizicore cleanup: use single if for a conjunction, reindentAlon Levy
2014-09-21Fixes #59 (rename node title changing case only results in node deletion)Alon Levy
2014-09-21rhizicore.js: Fix autosuggest on loadAlon Levy
Auto suggest doesn't work for nodes loaded from local storage Fixes #60
2014-09-21rhizicore: set minimal svg size to (1000,1000)Alon Levy
Works around a problem where you load rhizi with a small window size and then enlarge it, since we don't dynamically change the svg size (and it is fixed instead of filling a parent div or such) we lose access to a lot of the screen (i.e. can't drag nodes there, can't see anything there, etc).
2014-09-21textanalysis: multiple changes to autocompleteAlon Levy
1. move the sugg variable to textanalysis.js instead of the ui part 2. use a callback for the autocomplete widget (it supports three options: array, string as url for a json returning service, or callback) 3. use a dictionary instead of an array to keep the list of suggestions. We iterate on the dictionary instead of using a Trie or some other datastructure in the callback. But the dictionary avoids iteration when adding a word. Overall a loss in performance, but not noticeable. Googling / memory suggests a Trie is what we want here, but I'm postponing that for later. See: http://ejohn.org/blog/javascript-trie-performance-analysis
2014-09-21textanalysis-ui: add note about 200 Hz text analysis being perhaps overzealousAlon Levy
2014-09-21textanalysis-ui: spaces before and after assignment and opening curliesAlon Levy
2014-09-21scripts/autocomplete.js: use an instead of aAlon Levy
2014-09-21scripts/textanalysis.js cleanup: put switch & cases on same columnAlon Levy
2014-09-21scripts/autocomplete.js cleanup: remove empty lines at wrong placesAlon Levy
2014-09-12textanalysis-ui: use value and not keyAlon Levy
Fixes #58
2014-08-20textanalysis & textanalysis-ui split completeAlon Levy
2014-08-19textanalysis: remove usage of $Alon Levy
2014-08-19start breaking textanalysis to logic and uiAlon Levy
2014-08-19textanalysis: move two globals into textanalysis, only used by this function ↵Alon Levy
and reset early
2014-08-19textanalysis.js: some indentation and one if-bool rewriteAlon Levy
2014-08-19TextAnalyzer2: remove unused variableAlon Levy
2014-08-19rhizicore: history: fix dereference of undefinedAlon Levy
2014-08-19textanalysis: remove unused variableAlon Levy