aboutsummaryrefslogtreecommitdiffstats
path: root/html/js/git-deps-graph.js
Commit message (Collapse)AuthorAgeFilesLines
* switch to CoffeeScript!Adam Spiers2015-01-111-448/+0
|
* failed attempt to use dagre layout as starting positionsAdam Spiers2015-01-111-0/+7
|
* introduce translate() helperAdam Spiers2015-01-111-3/+5
|
* make node global for debuggingAdam Spiers2015-01-111-0/+1
|
* visualization elements are no longer globalAdam Spiers2015-01-111-1/+1
|
* notify as soon as we have new dataAdam Spiers2015-01-101-2/+1
|
* fix commentAdam Spiers2015-01-101-1/+1
|
* fix full-screen and zoom-to-fitAdam Spiers2015-01-101-1/+4
| | | | They were broken by the move to Browserify.
* add commented code including deps in tooltipAdam Spiers2015-01-101-1/+11
| | | | | | Won't use for now, but might be a nice UI addition later for navigating between dependencies on large graphs by hyperlinking the dependencies within the tip.
* node tooltip: append to top instead of inserting after <pre>Adam Spiers2015-01-101-5/+6
|
* use dagre to optimize layoutAdam Spiers2015-01-101-10/+6
|
* switch to using BrowserifyAdam Spiers2015-01-101-14/+25
| | | | | | | | | For now this requires using my fork noty which adds support for CommonJS. Unfortunately WebCola is still broken with CommonJS. Gulp automation will come soon ...
* remove some debugAdam Spiers2015-01-101-1/+0
|
* split out data-handling into git-deps-data.jsAdam Spiers2015-01-101-99/+0
|
* fix old links breaking on subsequent XHRs (#14)Adam Spiers2015-01-101-43/+42
| | | | | | | The main problem was that path was being assigned the wrong value, but other code tidy-up helped too. Closes #14.
* put border around <svg>Adam Spiers2015-01-091-1/+1
|
* use noty success not info when things go rightAdam Spiers2015-01-091-1/+1
| | | | Green is nicer.
* proper error handling for invalid commitsAdam Spiers2015-01-091-0/+6
|
* make layout responsive (closes #10)Adam Spiers2015-01-091-13/+47
|
* rename MARGIN to RECT_MARGINAdam Spiers2015-01-091-5/+5
|
* add zoom to fit and fullscreen (closes #6 and #7)Adam Spiers2015-01-091-5/+43
|
* all this time the constraints were not being used!Adam Spiers2015-01-081-1/+2
| | | | oops
* fix object constancy for linksAdam Spiers2015-01-081-3/+19
|
* improve notification on new dataAdam Spiers2015-01-081-8/+26
|
* vain attempt to fix dragging after 2nd XHRAdam Spiers2015-01-081-3/+4
|
* no need to initialize cola more than onceAdam Spiers2015-01-081-9/+20
|
* split noty helpers into separate fileAdam Spiers2015-01-081-31/+0
|
* show resolution of commitish in notificationAdam Spiers2015-01-081-0/+6
|
* rename sha to sha1 everywhereAdam Spiers2015-01-081-18/+18
| | | | More accurate, and also improves accuracy of any future search/replace.
* fix deduplication and provide notifications on XHR resultsAdam Spiers2015-01-081-8/+63
| | | | | | Uses new noty jQuery plugin, and animate.css: http://daneden.github.io/animate.css/
* add debug for constraints to tool tipAdam Spiers2015-01-081-2/+14
|
* switch to using jQuery.eachAdam Spiers2015-01-081-6/+5
|
* show node index in tooltip in debug modeAdam Spiers2015-01-081-3/+6
|
* split marker arrow definition into separate functionAdam Spiers2015-01-081-11/+15
|
* make client retrieve server-side optionsAdam Spiers2015-01-081-0/+8
| | | | This will be used to check for debug mode and possibly other things.
* better style to omit space after function nameAdam Spiers2015-01-081-16/+16
|
* d3 object constancyAdam Spiers2015-01-081-2/+6
| | | | http://bost.ocks.org/mike/constancy/
* support dynamic queries!Adam Spiers2015-01-081-3/+34
| | | | | Add form with event handler which performs JSON XHR query and draws results.
* do JSON data in JavascriptAdam Spiers2015-01-081-6/+82
| | | | | | | | | | | | | | | | | WebCola wants the 'links' JSON hash to refer to commits by their index in the 'nodes' hash. There are two issues with this: 1. This is far less useful for any consumers of the JSON generated by the --json option in CLI mode. 2. More importantly, when implementing a graph visualization which can incremently add nodes, the index of a commit in the 'nodes' hash depends on what was already there client-side in the browser. So instead we refer to commits by SHA server-side (in the Python) and then convert those to indices within the 'nodes' hash client-side via Javascript. This effectively means moving the self._nodes hash from Python to Javascript.
* increase graph HEIGHTAdam Spiers2015-01-081-1/+1
|
* improve commit tipAdam Spiers2015-01-081-2/+22
|
* fix hiding tip when draggingAdam Spiers2015-01-081-2/+2
| | | | | For some reason this became necessary after switching to the minified webcola.
* make tip global for debuggingAdam Spiers2015-01-081-2/+2
|
* split code up into smaller functionsAdam Spiers2015-01-081-95/+105
|
* hide tooltip when we start draggingAdam Spiers2015-01-081-0/+2
|
* add a basic commit tipAdam Spiers2015-01-081-3/+16
|
* move functions out of draw_graphAdam Spiers2015-01-081-34/+34
|
* rename redraw() to be less genericAdam Spiers2015-01-081-2/+2
|
* fix layoutAdam Spiers2015-01-071-21/+38
|
* make WIDTH/HEIGHT constantsAdam Spiers2015-01-071-5/+5
|