-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3cafdc
commit 34bc9f1
Showing
199 changed files
with
3,758 additions
and
3,319 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
import actionTypes from './actionTypes'; | ||
|
||
export const addLabelToProject = (label) => ({ | ||
export const addLabelToProject = label => ({ | ||
type: actionTypes.ADD_LABEL_TO_PROJECT, | ||
label | ||
label, | ||
}); | ||
|
||
export const addLabelSuccess = (storyId, label) => ({ | ||
type: actionTypes.ADD_LABEL, | ||
storyId, | ||
label | ||
label, | ||
}); | ||
|
||
export const removeLabel = (storyId, labelName) => ({ | ||
type: actionTypes.DELETE_LABEL, | ||
storyId, | ||
labelName | ||
labelName, | ||
}); | ||
|
||
export const addLabel = (storyId, label) => | ||
(dispatch) => { | ||
dispatch(addLabelSuccess(storyId, label)); | ||
dispatch(addLabelToProject(label)); | ||
} | ||
export const addLabel = (storyId, label) => dispatch => { | ||
dispatch(addLabelSuccess(storyId, label)); | ||
dispatch(addLabelToProject(label)); | ||
}; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import actionTypes from './actionTypes'; | ||
|
||
export const simulateSprintVelocity = (simulatedSprintVelocity) => ({ | ||
export const simulateSprintVelocity = simulatedSprintVelocity => ({ | ||
type: actionTypes.SIMULATE_SPRINT_VELOCITY, | ||
simulatedSprintVelocity | ||
}) | ||
simulatedSprintVelocity, | ||
}); | ||
|
||
export const revertSprintVelocity = () => ({ | ||
type: actionTypes.REVERT_TO_CALCULATED_VELOCITY | ||
}) | ||
type: actionTypes.REVERT_TO_CALCULATED_VELOCITY, | ||
}); |
Oops, something went wrong.