Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment additions. #528

Merged
merged 4 commits into from
Jun 16, 2016
Merged

Segment additions. #528

merged 4 commits into from
Jun 16, 2016

Conversation

mmcdermott
Copy link
Contributor

This tracks various data about user interactions with the canvas. Also minor fix for import slurp.

this.props.dispatch({type: 'ADD_METRICS', items: spaceUpdates.newMetrics, newGuesstimates: spaceUpdates.newGuesstimates})
this.props.dispatch(spaceActions.updateGraph(this._id()))
this.props.dispatch(simulationActions.runSimulations(this._id(), spaceUpdates.newMetrics))
if (!_.isEmpty(spaceUpdates.newMetrics)) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this supposed to be part of it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes; if you put an empty JSON object into the Import SLURP window, we don't want to run any of these dispatches. Just a tiny fix I noticed while adding the segment stuff and figured it wasn't worth another PR. Next time I'll be more clear in the PR description.

@OAGr OAGr merged commit 42582fc into master Jun 16, 2016
@OAGr OAGr deleted the segment-additions branch June 16, 2016 00:38
@OAGr OAGr removed the in progress label Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants