summaryrefslogtreecommitdiff
path: root/src/client
AgeCommit message (Collapse)Author
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-02completer: update to work with both input and div elementsAlon Levy
2015-03-02util: add text selection and functional utils for later red&blue inputAlon Levy
2015-03-01client: node_info: status: only admin can change itAlon Levy
2015-03-01textanalysis.ui.js: adapt to css changesLV-426
2015-03-01adding missing 'quoted' function, call introduced in ↵LV-426
dfc93cf003e8b4484e98ead7f7eac63ad10182e7
2015-03-01client/svg-input: rewrite using width:auto, no more measure hack (Fix #338)Alon Levy
Source for inspiration / copying: http://jsfiddle.net/brx3xm59/ http://stackoverflow.com/questions/9308938/inline-text-editing-in-svg comment 2 by John Ktejik
2015-03-01client/graph_view: don't translate/zoom if node already in viewAlon Levy
2015-03-01client: add Bacon_wrapper, use instead of Bacon; forced loading of jquery ↵Alon Levy
before Bacon
2015-03-01client/rz_api_backend: shorten ajax_success print to one lineAlon Levy
2015-03-01view/graph_view: yet another fix for scalingAlon Levy
2015-03-01client/graph_view: fix scalingAlon Levy
2015-03-01client/graph_view: use transition when setting zoom for visibilityAlon Levy
Fixes #339
2015-03-01client/graph_view: fix visibility setting to include scaleAlon Levy
2015-03-01client/textanalysis.ui: make sure existing nodes are visibleAlon Levy
2015-03-01client/selection: make sure selection is visibleAlon Levy
2015-03-01client/graph_view: add a debug message, remove commented out codeAlon Levy
2015-03-01client/graph_view: implement nodes__user_visible (no scale yet, just ↵Alon Levy
translation)
2015-03-01client/text_analysis: provide function to retrieve existing_nodesAlon Levy
2015-03-01client/rz_core: pass zoom_obj_element for manual zoomAlon Levy
2015-03-01client/rz_core: handle manual zoomAlon Levy
2015-03-01client: move obj_take to utilAlon Levy
2015-02-27client: highlight user selected nodes (aka root selection); Fixes #341Alon Levy
2015-02-27client: completer: allow match on start when using node_edge_separatorAlon Levy
Fixes #342
2015-02-27client: bubble: fix resize missing initial valueAlon Levy
2015-02-27client: completer: start of separator string updateAlon Levy
2015-02-27client: graph_view: handle zoom correctly for bubble effectAlon Levy
2015-02-27client: graph_view: handle screen resizeAlon Levy
2015-02-27client/completer: don't quote space by defaultAlon Levy
2015-02-27client: rename separator_symbol to separator_string and move to rz_configAlon Levy
2015-02-25client: selection tools: add link nodes in fanAlon Levy
2015-02-24client/node_edit: prevent delete on enterAlon Levy
Enter when delete button is focused still works, and so does clicking it. But enter while in any other field of the form does not submit now. The timeout for committing is still in effect of course.
2015-02-24attach d3 to #graph-view__canvas html div hookLV-426
2015-02-24client/textanalysis: drop star case. Fixes #330Alon Levy
This fixes the "remove chainlink" (aka star case) part of #330. The rest of #330, i.e. supporting "#1 is #2 not #3" to create two links, now with double spaces, is already fixed by textanalysis refactoring.
2015-02-24client/textanalysis: more accurate comments, s/edge/verb/Alon Levy
2015-02-24client: set double spaces as separator instead of hashAlon Levy
2015-02-24client/textanalysis: fix double spaceAlon Levy
handle correctly node separator containing spaces, of which a double space is a special case.
2015-02-24client/textanalysis: fix empty string caseAlon Levy
2015-02-24client/textanalysis rewriteAlon Levy
I considered breaking this into multiple parts but it is too much work and not worth it at this point. Logically there are two parts: a bunch of support functions, most of them are generic (list_* and obj_*, subsets) plus a few special functions: tokens_to_graph_elements and groups_to_thirds "thirds" is a list of objects representing either a node or a link with start, end and token. The token is the node/link name, the start and end are used to later lookup the node based on cursor position (for type changing from the command line). groups is just an intermediate step where each individual token (space separates them, except when in quotes) is still a separate entry in the list. The logic of textanalysis remains: - prefix (text before the first node) means the first link is the complete sentence - starCase ramains (creating a single center node of the complete sentence and linking everything to it with the 'chained' link name) - and logic is updated to include multiple and sequences (the simple case remains for a single stretch of ands). Simplifications of the code: - single place calls for __addNode and __addLink - no more orderStack, instead we have a thirds array of node,link pairs flattened to a single list, each with start/end in the sentence (this takes into account the hash mark).
2015-02-24client/textanalysis: add new node_token module global variable and use in ↵Alon Levy
tokenize
2015-02-24jshint: client/textanalysis: remove dead code (we create suggestions from ↵Alon Levy
scratch on every update)
2015-02-24jshint: client/textanalysis: various lint fixesAlon Levy
2015-02-24jshint: client/textanalysis: move use strict to function to avoid stricting ↵Alon Levy
everything
2015-02-23client/textanalysis: code style for and_connectAlon Levy
2015-02-23client/textanalysis: s/token_set_new_node_names/node_names/ (and _links)Alon Levy
2015-02-23pw-reset: client side codeLV-426
2015-02-23util.js: input_validation__password()LV-426
2015-02-23util.js: form_common__rest_post()LV-426