summaryrefslogtreecommitdiff
path: root/scripts/textanalysis.ui.js
AgeCommit message (Collapse)Author
2014-11-12Fixes #87: hide autocomplete messages; see noteAlon Levy
TODO 1: Autocomplete is spamming the dom. This is a jqueryui bug, or actually by design - it's appending $('<div>')'s with message text to a span parent (no idea why span in particular) and they are never cleaned up. Similar code is used for accessability messages.
2014-11-11textanalysis.ui:LV-426
- clean module header - nod dep change - rename RZ -> rz_core - use non-named module definition
2014-11-11textanalysis: reduce APIAlon Levy
textanalysis exposes the current selected type plus functions to increment or decrement it, hides the typeindex and nodetypes.
2014-11-10graph/textanalysis.ui: lastnode is now the last added node (fixes #124)Alon Levy
2014-11-10rename rhizicore -> rz_core, move towards common rz_ prefixLV-426
2014-11-09default not to commit changes to backendLV-426
2014-11-09commit diff_set upon sentence analysis:LV-426
- backend_commit - allows client accumulating changes & select better commit timing
2014-11-09code standard: use a single var at start of functions (just one big case) ↵Alon Levy
and some whitespace
2014-11-09s/textAnalyser2/textAnalyser/Alon Levy
2014-11-03Fixes #121 - Large part of map unclickable due to autocomplete suggestionsAlon Levy
See http://stackoverflow.com/questions/5643767/jquery-ui-autocomplete-width-not-set-correctly/11845718#11845718 A relevant bug on jquery-ui for width: http://bugs.jqueryui.com/ticket/7303 Additionally I considered measuring the exact width before noticing I can set the width to 10px and the text itself is perfectly clickable, see: http://stackoverflow.com/questions/6961022/measure-bounding-box-of-text-node-in-javascript
2014-10-28textanalysis.ui: use input event if it exists, fallback to polling of 50ms ↵Alon Levy
(not 5ms) otherwise
2014-10-28textanalysis{,.ui}: fix remaining globals, use strictAlon Levy
2014-10-26history switch to events; using a single GRAPH_DIFF action. todo - replay; ↵Alon Levy
zoom in/out; clicks on nodes/edges
2014-10-24textanalysis.ui: shift-tab now changes type back, tab forwardAlon Levy
2014-10-24fixes #106Alon Levy
broken by define addition (require.js)
2014-10-21fix test_analyzer after require.jsAlon Levy
2014-10-20introduce require.js and rewrite testsAlon Levy
Yes, I'm being lazy. The purpose of require.js is to allow writing modules, i.e. individual smaller then the whole files with clear dependencies. This is achieved by using a new api provided by require.js: define, require, requirejs Read more at [requirejs] (http://requirejs.org) Tests have been rewritten to work correctly with require.js; they still use jsdom. Test output is now stored in the repository, all tests are run via run_tests.js; This is a hack - once a good harness (with assertions, suites - unittest like) presents itself it will be used. Hidden here is also using FileSaver for history saving, so history is saved to history.json instead to a random name. Plus dropping some dead code.