summaryrefslogtreecommitdiff
path: root/src/client
AgeCommit message (Collapse)Author
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.
2015-03-09client: graph_view: update image href+width+height on every "frame"Alon Levy
2015-03-09client/graph_view: remove extra useless 'a' element on nodesAlon Levy
2015-03-09client: graph_view: make nodes tab focusable. no visible indication (:focus) ↵Alon Levy
and no interaction possible yet
2015-03-09client: fix scrolling of window on focus in feedback button (Fixes #366)Alon Levy
This is actually a sort of workaround, since now you cannot use tab to focus on the feedback button, you have to click it with the mouse. Since most people (everybody?) would do that anyhow, it's good enough. An alternative is to change the 'botton: -3px' to anythin non-negative. I have not managed to capture or prevent the scrolling behaviour. What happens is that chrome tries to move the element into focus even though that is impossible since it is with a fixed position to an absolutely positioned element (body).
2015-03-09client/view/svg_input: missing param x docAlon Levy
2015-03-08client/textanalyser_input: completer options: small rewriteAlon Levy
2015-03-08client/completion: support links as wellAlon Levy
the suggestions from textanalysis now come as a dictionary with {nodes: {name: id}, links: {name: id}} (before it was a single dictionary, {name:id}) And the options bus for the textanalyser and search completion have been updated accordingly. textanalyser also takes into account the cursor position to determine which of the option dictionaries to use.
2015-03-08textanalyuser_input: provide bus for analysis results events (post analysis, ↵Alon Levy
required for completion updates)
2015-03-08client/textanalysis: add element_at_position__is_linkAlon Levy
2015-03-08client/view/completer: use VK_*Alon Levy
2015-03-08client/filter: fix broken filter from recent model/types intro and ↵Alon Levy
third-internship-proposal removal
2015-03-08client: fix up/down being handled both by completer and by type selector ↵Alon Levy
when shift pressed
2015-03-07client: add missing club type from model/typesAlon Levy
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-07client/view/node_info: fix committing of new fieldsAlon Levy