more todo list items

This commit is contained in:
Peter Cottle 2012-09-30 18:39:14 -07:00
parent 529f69599b
commit 749108a775
5 changed files with 22 additions and 3 deletions

View file

@ -30,6 +30,7 @@ AnimationFactory.prototype.genCommitBirthAnimation = function(animationQueue, co
visNode.setBirth();
visNode.parentInFront();
gitVisuals.visBranchesFront();
visNode.animateUpdatedPosition(bounceTime, 'bounce');
visNode.animateOutgoingEdges(time);

View file

@ -30,7 +30,6 @@ var CommandPromptView = Backbone.View.extend({
},
blur: function() {
console.log('got blur');
$(this.commandCursor).toggleClass('shown', false);
},

View file

@ -140,7 +140,7 @@ var VisBranch = Backbone.Model.extend({
-this.get('arrowEdgeHeight')
);
var tailLength = 30;
var tailLength = 45;
var arrowStartUp = offset2d(arrowInnerUp, f * tailLength, 0);
var arrowStartLow = offset2d(arrowInnerLow, f * tailLength, 0);

View file

@ -381,10 +381,17 @@ GitVisuals.prototype.collectionChanged = function() {
};
GitVisuals.prototype.zIndexReflow = function() {
this.visNodesFront();
this.visBranchesFront();
};
GitVisuals.prototype.visNodesFront = function() {
_.each(this.visNodeMap, function(visNode) {
visNode.toFront();
});
};
GitVisuals.prototype.visBranchesFront = function() {
this.visBranchCollection.each(function(vBranch) {
vBranch.nonTextToFront();
});

View file

@ -8,9 +8,21 @@ animation factory? stuff like:
ALSO other big things:
- Text on commit nodes
- Division in their rings based on how many / what branches they are part of
- Color on branch edges??
- sizing on visedge arrowheads, also fill most likely
Small things to implement:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Git show
- Git show when you click on a node (or the text technically)
Bugs to fix:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- When you are rebasing and you hit the bottom, all the nodes go in the wrong spot...
We need some kind of "update everything but this set of nodes" thing...