-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from conveyal/dev
v0.6.0
- Loading branch information
Showing
28 changed files
with
462 additions
and
180 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
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 was deleted.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
src/containers/indianapolis/form.js → src/components/form.js
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,7 +1,8 @@ | ||
import Pure from '@conveyal/woonerf/components/pure' | ||
import React from 'react' | ||
|
||
import {pure} from '../deep-equal' | ||
|
||
const Fullscreen = (props) => <div className='Fullscreen'>{props.children}</div> | ||
|
||
export default pure(Fullscreen) | ||
export default class Fullscreen extends Pure { | ||
render () { | ||
return <div className='Fullscreen'>{this.props.children}</div> | ||
} | ||
} |
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,15 +1,17 @@ | ||
import Pure from '@conveyal/woonerf/components/pure' | ||
import React from 'react' | ||
|
||
import {pure} from './deep-equal' | ||
export default class Icon extends Pure { | ||
render () { | ||
const { | ||
className = '', | ||
type, | ||
...props | ||
} = this.props | ||
|
||
const Icon = ({ | ||
className = '', | ||
type, | ||
...props | ||
}) => | ||
<i | ||
className={`fa fa-${type} fa-fw ${className}`} | ||
{...props} | ||
/> | ||
|
||
export default pure(Icon) | ||
return <i | ||
className={`fa fa-${type} fa-fw ${className}`} | ||
{...props} | ||
/> | ||
} | ||
} |
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
27 changes: 14 additions & 13 deletions
27
src/containers/indianapolis/map.js → src/components/map.js
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import {connect} from 'react-redux' | ||
|
||
import { | ||
clearEnd, | ||
clearIsochrone, | ||
clearStart, | ||
setBaseActive, | ||
setComparisonActive, | ||
updateDestination, | ||
updateOrigin, | ||
updateSelectedTimeCutoff | ||
} from '../actions' | ||
import Application from '../components/application' | ||
|
||
function mapStateToProps (state, ownProps) { | ||
return state | ||
} | ||
|
||
function mapDispatchToProps (dispatch, ownProps) { | ||
return { | ||
clearEnd: () => dispatch(clearEnd()), | ||
clearIsochrone: () => dispatch(clearIsochrone()), | ||
clearStart: () => dispatch(clearStart()), | ||
initializeBrowsochrones: (actions) => dispatch(actions), | ||
moveOrigin: (options) => dispatch(updateOrigin(options)), | ||
moveDestination: (options) => dispatch(updateDestination(options)), | ||
onTimeCutoffChange: (options) => dispatch(updateSelectedTimeCutoff(options)), | ||
setBaseActive: () => dispatch(setBaseActive()), | ||
setComparisonActive: () => dispatch(setComparisonActive()) | ||
} | ||
} | ||
|
||
export default connect(mapStateToProps, mapDispatchToProps)(Application) |
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,9 +1,9 @@ | ||
import mount from '@conveyal/woonerf/build/lib/mount' | ||
import mount from '@conveyal/woonerf/mount' | ||
|
||
import Indianapolis from './containers/indianapolis' | ||
import Application from './containers/application' | ||
import reducers from './reducers' | ||
|
||
mount({ | ||
app: Indianapolis, | ||
app: Application, | ||
reducers | ||
}) |
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
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.