summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-12-04fix selection inversion: Fixes #144Alon Levy
2014-12-04graph: getConnectedNodesAndLinks: use forEach (still sucks)Alon Levy
2014-12-04editlink/node: support escape to cancelAlon Levy
2014-12-04rz_core: cleanup node click handlersAlon Levy
too much work to split right now. Following changes: click handlers on circle and on text. image is now under circle instead of side by side (otherwise it hides it due to same z-index and later in children list) some methods renamed to indicate first parameter (editNodeText, showNodeInfo). less calls to graph_update. Still doesn't fix the selection (i.e. unselect for reclick).
2014-12-04rz_core: use selection.update (more to come)Alon Levy
2014-12-04selection: add update (reduces code in rz_core)Alon Levy
2014-12-04rz_core: rename overlay_click and small cleanupAlon Levy
2014-12-04graph: getConnectedNodesAndLinks: exclude given nodes from returnAlon Levy
2014-12-03rz_observer: remove extra indentation, use bla = bla || default idiomAlon Levy
2014-12-03textanalysis: fix diffBus callback logic (was doing nothing)Alon Levy
2014-12-03textanalysis: ReferenceErrors fixed (don't add link when 1 node only available)Alon Levy
2014-12-03textanalysis: comment typoAlon Levy
2014-12-03textanalysis: ret.state was not always definedAlon Levy
Found by investigating a ReferenceError warning: ReferenceError: reference to undefined property
2014-12-03"use strict" must be firstAlon Levy
Firebug 3.0 alpha or Firefox nightly 37 says: SyntaxError: 'use strict' statement won't be enforced as a directive because it isn't in directive prologue position
2014-12-03rz_core: user removal falloutAlon Levy
2014-12-03Fix TypeError: variable _ redeclares argumentAlon Levy
2014-12-03assume logged-in user, rm userBusLV-426
2014-12-03construct backend URL using rz_configLV-426
2014-12-03rz_config: set dev URL partsLV-426
2014-12-03update util read node,linkLV-426
2014-12-03Fixes #171, Fixes #137Alon Levy
One line, two changes: keypress->keydown: - fixes #137. Chrome doesn't dispatch a keypressed on tab. Firefox and chrome both dispatch a keydown, so this works in both. $(document)->element: - fixes #171. Don't listen to text input events globally, only on the element.
2014-12-03src/main: remove search debug printAlon Levy
2014-12-03Fix #157: temp nodes are always selectedAlon Levy
2014-12-03fix #157 - chrome doesn't have String.toLowerCaseAlon Levy
2014-12-01use localStorage to show intro-task only until clickedAlon Levy
Also fix miscased scss filename.
2014-12-01fix broken loadAlon Levy
2014-12-01make username top right button usable (a bit)Alon Levy
2014-11-29forgot to add rz_busAlon Levy
2014-11-29enable user setting by ?user=someoneAlon Levy
2014-11-29history: record input fieldAlon Levy
2014-11-29use Bacon instead of signalAlon Levy
See https://github.com/baconjs/bacon.js Usage right now: we have rz_bus to hold global busses: - names: for autosuggest - ui busses: - ui_key - ui_input The events are objects with {where: from consts, keys/input} (could maybe just use the events and rely on the target element class/id) And graph has it's own bus: graph.diffBus (camelcase probably not the right style - will fix in later commit) To publish to a bus you use push. To insert another stream to a bus you use plug. To listen to a bus you use onValue (you can use subscribe too to get errors and end of stream event, but we don't use that yet). This allows usage of map, filter, flatMap, see github repo for cool examples.
2014-11-29add Bacon library (used later, split for easier review)Alon Levy
2014-11-29model/graph: fix signal on notifyAlon Levy
2014-11-29history: small style fixAlon Levy
2014-11-29history: don't throw on bad input (it's just history)Alon Levy
2014-11-29history: use strictAlon Levy
2014-11-29textanalysis.ui: use switches and make signals fire after processing eventAlon Levy
2014-11-29move getParmeterByName to utilAlon Levy
2014-11-29consts: add use strictAlon Levy
2014-11-28textanalysis.ui: make typeselection component likeAlon Levy
2014-11-28Changed node types names resolving #162garbash
2014-11-25Fixes #154: set suggested names when loading from JSONAlon Levy
2014-11-25textanalysis.ui: fix for lingering #102 issueAlon Levy
After using up/down keys to select one of the entries you had an extra enter required to "complete" the sentence. Reproduce: ctrl-alt-i (focus on 'Type here to create a network', #textanalysis) The first enter is the selection, the second is ignored (the bug fixed by this commit), the third is handled by the #textanalysis keypress trigger. The fix was simple, not sure why it works. Seems there is a keyup/keypress interaction. The keyup was on the document element, replaced by a keypress on the same element.
2014-11-25textanalysis.ui: remove debug printsAlon Levy
2014-11-25Fixes #102 - autocomplete with spacesAlon Levy
Possibly introduces required double enters sometimes. This is a result of an exception thrown in the callback, needs work.
2014-11-25graph/__addNode: fix to handle same node referenceAlon Levy
It now returns a node, either a new one or the existing one. This is used by addNode and further up to get the existing (regressed until this patch from the breaking patch) behavior of expanding existing nodes with new links.
2014-11-25rz_core: remove unused codeAlon Levy
2014-11-25core: Link.{source,target} need to be gettersAlon Levy
Note that despite the sad sad fact __defineGetter__ is not supported by IE8, we are currently at quality 'Crap' on IE8 even without it (I checked, courtesy 14 days trial of crossover from codeweavers), and Dor says it is a level -1000 priority.
2014-11-25core/create_node_from_spec: status initialization fix and remove double x&y ↵Alon Levy
initialization
2014-11-25graph/findNodeByName: use "or" initialization idiomAlon Levy