summaryrefslogtreecommitdiff
path: root/src/client/textanalysis.ui.js
AgeCommit message (Collapse)Author
2015-04-02client/typeselection: switch from absolute positioning to child of nodeAlon Levy
means that the text moves with the node now, plus allows for setting the node position asynchronously with setting the typeselection.
2015-03-17client: Bacon/jquery dependency: use shimAlon Levy
add shim requirement for Bacon to have jquery loaded first, since Bacon patches in asEventStream (and other APIs). Undo the Bacon_wrapper non fix: git grep -l Bacon_wrapper | while read f; do sed -i -e s/Bacon_wrapper/Bacon/g $f; done
2015-03-08textanalyuser_input: provide bus for analysis results events (post analysis, ↵Alon Levy
required for completion updates)
2015-03-07client: fix phantom type now that we have 4 types and not 5. Fixes #362Alon Levy
2015-03-07client: use shift-up and shift-down for node type changesAlon Levy
2015-03-02client: extract textanalyser_input componentAlon Levy
Killed some dead code in the process.
2015-03-02textanalyser: switch to div, update to create blue and red spans (Fixes #118 ↵Alon Levy
almost entirely) Missing: - no placeholder text now (since div doesn't support it). Will need to implement it myself, there are plenty of examples And code wise: - need to split out a component graph_input.js which will hide the underlying implementation.
2015-03-02client/textanalysis.ui: update to work with both div and inputAlon Levy
2015-03-01textanalysis.ui.js: adapt to css changesLV-426
2015-03-01client: add Bacon_wrapper, use instead of Bacon; forced loading of jquery ↵Alon Levy
before Bacon
2015-03-01client/textanalysis.ui: make sure existing nodes are visibleAlon Levy
2015-02-17client: expand textanalyser input up to 80%. Fixes #239Alon Levy
drops animation of width because I couldn't get the plus button to animate the same.
2015-02-17client/textanalysis.ui: move main to it's own top level functionAlon Levy
2015-02-11client/textanalysis: on input element click stop handling after completer ↵Alon Levy
handler
2015-02-11client/textanalysis.ui: coding style fix onelinerAlon Levy
2015-02-11client/textanalysis.ui: set typeselection position at node, fixes #261Alon Levy
Note that the selection doesn't move with the node, so it is possible to create a discrepancy, this can happen either when: 1. dragging or zooming the graph 2. causing the bubble animation to playout The selection text will not be next to the node in both cases until Tab is pressed again. Fixing this right now seems too much work, will revisit if this is really bothersome. Would require either timers or another connection, or different implementation as a foreign object under the svg node (and so tied by the layout, no need to change).
2015-02-11client/textanalysis.ui: add helper for body location of SVG nodeAlon Levy
2015-02-11client: remove setting type change suggestion location via graph.findCoordinatesAlon Levy
2015-02-09rz_config: embed in index, remove as moduleAlon Levy
Still missing: remove host/port, let client use same as url it was served on. remove other flags no longer relevant. better mapping of server config to avoid double work?
2015-02-09textanalysis.ui.js: update btn refLV-426
2015-01-13client: move NEW_NODE_NAME to consts, use everywhereAlon Levy
2015-01-13client/graph: editType: drop stateAlon Levy
2015-01-11client/textanalysis: fix node type change on tab to use cursor correctly ↵Alon Levy
(still cannot change type of chained node during editing)
2015-01-06client: fix tab switching; move to new tokenize implementation (not strictly ↵Alon Levy
""right""
2015-01-06client/textanalysis: whitespace in headerAlon Levy
2015-01-06client/analyzeSentence: use specAlon Levy
2015-01-05initial graph_view introduction - mixing circle & force layoutsAlon Levy
2015-01-05introduce commit_and_tx_diff__topo & commit_diff__topoAlon Levy
Multiple fixes / changes. _bugs introduced_ Changes: graph has two change functions (i.e. the internal API): - commit_and_tx_diff_topo This currently transmits, later will optimistically apply first - commit_diff__topo This only applies. Used on the ajax success path for commit_and_tx_diff__topo and when changes are only local. It signals on the diffBus - diffBus - a Bacon.Bus that all UI listens to - selection UI - node/link dialogs - main view (rz_core/update_view__graph) Small changes: whitespace rename filer->filter Completely broken: - text entry. should use commit_diff__topo Problems introduced: selection doesn't work correctly. editing not verified yet
2014-12-28Fixes #238 - tab works againAlon Levy
Broken during recent overzealous precondition addition
2014-12-23use topo_diff for user input changesAlon Levy
pretty large commit, but it mainly boils to - reusing the same format clone returns to the client for topo_diff bad bad code introduced mainly in client side, but server wasn't spared: - graph/commit_topo__diff massages the links too much - this should not be there at all, it should be in the correct format to begin with. server code duplication between clone & topo_diff post processing, should be factored out on the good side: single transaction whenever user presses enter, and the correct place to send back any accumulated diffs (other user changes).
2014-12-16moving files around after repository mergerAlon Levy