summaryrefslogtreecommitdiff
path: root/src/client
AgeCommit message (Collapse)Author
2015-04-01btn_rzdoc__new(): fix rzdoc__open() callLV-426
2015-04-01buttons.js: btn_rzdoc__open()LV-426
2015-04-01buttons.js: btn_rzdoc__new()LV-426
2015-04-01rz_core.js: initDrawingArea(): call rzdoc__openLV-426
2015-04-01rz_core.js: rzdoc__open_default()LV-426
2015-04-01rz_core.js: rzdoc__current__get_name() - TODO: use RZDoc objectLV-426
2015-04-01rz_core.js: rzdoc__open()LV-426
2015-04-01model/core.js: remove rz_state (previously used for cur_rzdoc tracking)LV-426
2015-04-01rz_api_backend: misc: log with console.dir(), import util moduleLV-426
2015-04-01rz_api_backend: rzdoc_create(), rzdoc_list()LV-426
2015-04-01rz_api_backend: ajax_rs(): use xhr.responseJSON.error as error msgLV-426
2015-04-01rz_api_backend: rz_clone -> rzdoc_cloneLV-426
2015-04-01rz_api_backend: expect ajax errors to be server with non 200 HTTP statusLV-426
2015-04-01creation bubble SVG blur effectLV-426
2015-04-01rz_api_backend: inject rzdoc_name into common ajax request contextLV-426
2015-04-01wip: btn_rzdoc__new(), btn_rzdoc__open()LV-426
2015-04-01model/core.js: introduce global rz_state variable, currently used to track ↵LV-426
cur_rzdoc_name
2015-04-01keyshortcuts.js: restoring requirejs rz_core dependency, removing get_rz_core()LV-426
2015-04-01refactor rz_core initialization:LV-426
- init() - export via published_var_dict var
2015-03-29client/view/graph_view: allow links with x/y that is zeroAlon Levy
2015-03-25Revert "client/view/graph_view: force recalculation of linkDistance on each ↵Alon Levy
force__load_graph" Dor: I have to say it's less usable now with the nodes moving after every click... I suggest to quickly fix it or revert. This reverts commit 4218f8fdf7c47ce8b8baa8f6fd2b95f1d93f358a.
2015-03-24client/view/graph_view: remove debug printAlon Levy
2015-03-24client/graph_view: add link distance depending on degree of nodeAlon Levy
2015-03-24client/view/graph_view: force recalculation of linkDistance on each ↵Alon Levy
force__load_graph
2015-03-24client/model/graph: track node degree (O(1) amortized on link and node addition)Alon Levy
2015-03-23client: dragging a node fixes it's position; unfixing needs to be thought outAlon Levy
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-16client: plus/minus zoom implementation using log scale, state still in ↵Alon Levy
d3.behavior.zoom
2015-03-16client/selection: hide/show multiple node operations via parent divAlon Levy
2015-03-16client/rz_core: small style fixesAlon Levy
2015-03-16client: one line coding style fixAlon Levy
2015-03-16client/model/diff/Topo_Diff: ensure correct link namesAlon Levy
2015-03-16client: use 'untitled' as empty link fixes #381Alon Levy
Sanitizes any link attribute change. Topo diff in next patch since I might want to reverse it - current interface doesn't allow introducing null link names on creation.
2015-03-15client/graph_view: record rest force layout position and load right after ↵Alon Levy
clone (per node id) (copied inline comment): HACK to load positions stored locally: on the first diff, which is the result of the initial clone, load positions from stored last settled position (see record_position_to_local_storage and restore_position_from_local_storage) this is before we have proper layout recording in the database, loaded together with the nodes and links.
2015-03-15client/graph_view: rename debug only function with double underscore prefixAlon Levy
2015-03-15client/graph_view: extract force__load_graphAlon Levy
2015-03-15client: add util.log_error, use for clone missing dst/src idsAlon Levy
2015-03-15client: ignore bad links on cloneAlon Levy
2015-03-13client/graph_view: double force layout distance (CRI patch)Alon Levy
2015-03-13client: fix json export and import to use model/types to account for allowed ↵Alon Levy
attributes
2015-03-13history: broken wheel recording, specifically when scrolling in node_info, ↵Alon Levy
silence for now
2015-03-12client: use some more VK constantsAlon Levy
2015-03-10client: graph_view: handle keyboard events when svg nodes are focusedAlon Levy
enter to open edit, space and shift-space to select/append.
2015-03-10client: graph_view: make nodes tabindex'able sorted top to bottom left to rightAlon Levy
2015-03-09client/view/search: deduplicate and debounce for 300 millisecondsAlon Levy
2015-03-09client/view/search: use FRPAlon Levy
2015-03-09client: search in nodes and attributesAlon Levy
Fixes #358 Implementation limitations: - uses hasOwnProperty for search, and further filters on strings. So technically could be oversearching - i.e. string properties that are not attributes. We should keep an attribute key on Node and Link - there is no selected link, just selected nodes. So we select both source and destination. Opening issue #367 for this.
2015-03-09client/graph_view: set maximal size of 100px for an image, keeping aspect ratioAlon Levy
2015-03-09client/graph_view: show images with correct size, but force layout doesn't ↵Alon Levy
take it into account
2015-03-09client/graph_view: console debug log when link is an image according to ↵Alon Levy
crude heuristic What we need to do is two things: 1. when a new link is supplied, go download it and let the browser tell us if it is an image and if so what are it's dimensions 2. cache that data in the db (on the to-be-added view node). Actually 3. cache the image itself. This will also allow uploading images with no link. Where to cache the images - on disk with a hash, plus breakdown into multiple directories to avoid filesystem limits.