Osulacam minimize steps#659
Merged
AustinShalit merged 21 commits intoWPIRoboticsProjects:masterfrom Aug 11, 2016
Merged
Conversation
…y hides the sockets with a view.
This should give me a better idea of why it is failing on Travis and AppVeyor.
…ation on why it fails on Travis and AppVeyor.
|
|
||
| if (step.getInputSockets().stream() | ||
| .allMatch(inputSocket -> inputSocket.getSocketHint().getView() | ||
| .equals(SocketHint.View.NONE))) { |
Member
There was a problem hiding this comment.
I don't think this logic holds true. Does it?
Member
Author
There was a problem hiding this comment.
This is saying if there is no user interaction in this step do not show the arrow
Member
Author
Current coverage is 58.03% (diff: 85.93%)@@ master #659 diff @@
==========================================
Files 195 196 +1
Lines 6101 6165 +64
Methods 0 0
Messages 0 0
Branches 554 561 +7
==========================================
+ Hits 3517 3578 +61
- Misses 2420 2424 +4
+ Partials 164 163 -1
|
Member
Author
|
I added the ability to double click the arrow. On a double click it will toggle all steps. |
c8857b6 to
eb1b013
Compare
| @@ -0,0 +1,14 @@ | |||
| package edu.wpi.grip.ui.events; | |||
|
|
|||
| public class SetStepsExpandedEvent { | |||
eb1b013 to
8ebaf29
Compare
| OutputSocketController.Factory outputSocketControllerFactory, | ||
| ExceptionWitnessResponderButton.Factory exceptionWitnessResponderButtonFactory, | ||
| StepDragService stepDragService, | ||
| @Assisted EventBus eventBus, |
Member
There was a problem hiding this comment.
Why is this assisted? This doesn't need to be assisted.
b1cad27 to
a93b0fb
Compare
| @Subscribe | ||
| public void setExpanded(SetStepsExpandedEvent event) { | ||
| expanded.set(event.isExpanded()); | ||
| } |
Member
There was a problem hiding this comment.
Strange way that this is written. But sure.
Maybe document that a double click will expand all.
Member
Author
There was a problem hiding this comment.
Why do you think it is strange?
Member
Author
There was a problem hiding this comment.
How would you write it?
a93b0fb to
5b1e389
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

closes #327
closes #639
Fix-up of #639