-
Notifications
You must be signed in to change notification settings - Fork 8
Disclosure s3 server and select component #27
Conversation
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.
Just a few things.
@@ -59,7 +60,7 @@ | |||
"eslint-config-react-app": "2.1.0", | |||
"eslint-plugin-flowtype": "2.44.0", | |||
"eslint-plugin-import": "2.8.0", | |||
"eslint-plugin-jsx-a11y": "6.0.3", | |||
"eslint-plugin-jsx-a11y": "5.1.1", |
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.
Why back to a previous version?
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.
eslint-config-react-app needs a 5.x version to work in all cases, my editor was showing a failure due to conflict on every file.
src/reports/Report.jsx
Outdated
if (this.state.report === null) return null | ||
|
||
const report = this.state.report | ||
const headingText = report | ||
? `Table ${report.table}: ${report.description}, ${report.year}` | ||
? `Table ${this.props.match.params.reportId.split('.txt')[0]}: ${ |
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.
I think we should just use the report.table
value here, since that data is loaded.
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.
Ahh cool, updated.
} | ||
import Selector from './Selector.jsx' | ||
|
||
const Reports = props => { |
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.
I think this is ok for now, but we'll end up just having these values all listed, a constant.
There won't be an endpoint since all of the reports were created, even if they were filled with 0
.
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.
Noted in #47
Also against a-and d, built the work fleshing out the aggregate stuff (though that's broken now)
👀