mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 00:18:56 +02:00
more todo list items
This commit is contained in:
parent
529f69599b
commit
749108a775
5 changed files with 22 additions and 3 deletions
|
@ -30,6 +30,7 @@ AnimationFactory.prototype.genCommitBirthAnimation = function(animationQueue, co
|
||||||
|
|
||||||
visNode.setBirth();
|
visNode.setBirth();
|
||||||
visNode.parentInFront();
|
visNode.parentInFront();
|
||||||
|
gitVisuals.visBranchesFront();
|
||||||
|
|
||||||
visNode.animateUpdatedPosition(bounceTime, 'bounce');
|
visNode.animateUpdatedPosition(bounceTime, 'bounce');
|
||||||
visNode.animateOutgoingEdges(time);
|
visNode.animateOutgoingEdges(time);
|
||||||
|
|
|
@ -30,7 +30,6 @@ var CommandPromptView = Backbone.View.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
blur: function() {
|
blur: function() {
|
||||||
console.log('got blur');
|
|
||||||
$(this.commandCursor).toggleClass('shown', false);
|
$(this.commandCursor).toggleClass('shown', false);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -140,7 +140,7 @@ var VisBranch = Backbone.Model.extend({
|
||||||
-this.get('arrowEdgeHeight')
|
-this.get('arrowEdgeHeight')
|
||||||
);
|
);
|
||||||
|
|
||||||
var tailLength = 30;
|
var tailLength = 45;
|
||||||
var arrowStartUp = offset2d(arrowInnerUp, f * tailLength, 0);
|
var arrowStartUp = offset2d(arrowInnerUp, f * tailLength, 0);
|
||||||
var arrowStartLow = offset2d(arrowInnerLow, f * tailLength, 0);
|
var arrowStartLow = offset2d(arrowInnerLow, f * tailLength, 0);
|
||||||
|
|
||||||
|
|
|
@ -381,10 +381,17 @@ GitVisuals.prototype.collectionChanged = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
GitVisuals.prototype.zIndexReflow = function() {
|
GitVisuals.prototype.zIndexReflow = function() {
|
||||||
|
this.visNodesFront();
|
||||||
|
this.visBranchesFront();
|
||||||
|
};
|
||||||
|
|
||||||
|
GitVisuals.prototype.visNodesFront = function() {
|
||||||
_.each(this.visNodeMap, function(visNode) {
|
_.each(this.visNodeMap, function(visNode) {
|
||||||
visNode.toFront();
|
visNode.toFront();
|
||||||
});
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
GitVisuals.prototype.visBranchesFront = function() {
|
||||||
this.visBranchCollection.each(function(vBranch) {
|
this.visBranchCollection.each(function(vBranch) {
|
||||||
vBranch.nonTextToFront();
|
vBranch.nonTextToFront();
|
||||||
});
|
});
|
||||||
|
|
14
todo.txt
14
todo.txt
|
@ -8,9 +8,21 @@ animation factory? stuff like:
|
||||||
|
|
||||||
|
|
||||||
ALSO other big things:
|
ALSO other big things:
|
||||||
- Text on commit nodes
|
|
||||||
- Division in their rings based on how many / what branches they are part of
|
- Division in their rings based on how many / what branches they are part of
|
||||||
- Color on branch edges??
|
- Color on branch edges??
|
||||||
|
|
||||||
- sizing on visedge arrowheads, also fill most likely
|
- 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...
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue