summaryrefslogtreecommitdiff
path: root/src/client/model
AgeCommit message (Collapse)Author
2015-01-05client: clone now returns a Topo Diff, no need to adaptAlon Levy
2015-01-05client: renames (find - all are lower case underscore separates) plus ↵Alon Levy
clone+input-to-diff to db and back flow working
2015-01-05bubble property used, lacks animation (noticeably)Alon Levy
2015-01-05initial graph_view introduction - mixing circle & force layoutsAlon Levy
2015-01-05wip textanalysis broken. it creates extra nodes. state variable overloading ↵Alon Levy
for nodes/links not helping. thinking of graph trees
2015-01-05wip fixes from week 52 refactorAlon 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
2015-01-05client: introduce is_attr_diff, start using diffBus for UI updatingAlon Levy
2015-01-05wip names bus drop, more bacon, fix completer remove names, fix json loadingAlon Levy
2015-01-05client/model/graph: remove editLink, no longer used (superceded by update_link)Alon Levy
2015-01-02misc changes: newline at end of file, etc.LV-426
2014-12-29model/diff: new_topo_diff() object initLV-426
2014-12-28Fixes #245 - broken link deletionAlon Levy
Broken because of changed server return struct, now uses link_rm dictionary (i.e. topo diff).
2014-12-28Fixes #238 - tab works againAlon Levy
Broken during recent overzealous precondition addition
2014-12-28client: fix #238 - ReferenceError due to refactoring errorAlon Levy
Doesn't fix node color, that is fixed in next commit
2014-12-28Fixes #232 - #x #y raises error and doesn't get committedAlon Levy
2014-12-23client: fix submitting sentences including existing nodesAlon Levy
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-23client/model/graph/removeNode: complain early on unknown idAlon Levy
2014-12-23client: don't send temp nodes/link topo_diffs to serverAlon Levy
2014-12-23client: adapt_format_write_link: remove __type & name properties, they don't ↵Alon Levy
cross the wire
2014-12-23be sensibleAlon Levy
2014-12-23client: removal of links through server; Fixes #228Alon Levy
Code is ugly on too many counts, but mainly: 1. repeats local change twice, once for temp and once for non-temp that goes through server. 2. handles topo_diff reply expecting a single id instead of having a general topo_diff reply handler that will take care of it, possibly hanging a callback on it for graph update.
2014-12-22client: handle link changes via attribute diffs (adds graph.update_link ↵Alon Levy
copied from update_node) Adds a copied TODO for handling id changes (i.e. same problem on nodes) plus a new TODO for a fake API (relevant to both nodes and links)
2014-12-22client/model/graph: add missing spaceAlon Levy
2014-12-22client/graph: trim names sent; not sure this actually works, and missing __type?Alon Levy
2014-12-22client: add warning reminding of _editProperty last user (robot)Alon Levy
2014-12-22client: use update_node for svg_input node name editingAlon Levy
2014-12-22client/graph: remove dead code (superceded by update_node)Alon Levy
2014-12-22remove no longer relevant todoAlon Levy
2014-12-22client/model/graph.update_node: dedent, add TODO for fake APIAlon Levy
2014-12-22client/model/graph: drop dead code: editLinkTargetAlon Levy
2014-12-22client/model/graph: add console log on ajax errorAlon Levy
2014-12-22typoAlon Levy
2014-12-16moving files around after repository mergerAlon Levy