-
Notifications
You must be signed in to change notification settings - Fork 37
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
Add changeset map #14
Conversation
public/index.html
Outdated
@@ -6,6 +6,8 @@ | |||
<meta name="viewport" content="width=device-width, initial-scale=1"> | |||
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico"> | |||
<link href="https://api.mapbox.com/mapbox-assembly/v0.12.0/assembly.min.css" rel="stylesheet"> | |||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey, if possible can we pull this in from the component?
src/utils/key_bindings.js
Outdated
@@ -0,0 +1 @@ | |||
export function initKeyGobal() {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should remove this.
src/app.js
Outdated
if (document && document.body) { | ||
document.body.addEventListener('showToast', this.showToast); | ||
} | ||
initKeyGobal(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should remove this.
src/app.js
Outdated
> | ||
<Route exact path="/" component={Changeset} /> | ||
<Route exact path="/" component={Changeset} customProp="hi" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleanup: customProp="hi"
.
<div> | ||
<Header | ||
changesetId={changesetId} | ||
date={properties.get('date')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Send all properties?
src/components/filters.js
Outdated
import {Tooltip} from 'react-tippy'; | ||
|
||
class Filter extends React.PureComponent { | ||
showForm = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add props?
# Conflicts: # src/store/index.js
@ajithranka you are good to merge this. |
Thanks @kepta! |
This does a bunch of things
cc @ajithranka