diff --git a/src/common/data/copy.json b/src/common/data/copy.json index e1bb445..03b4f35 100644 --- a/src/common/data/copy.json +++ b/src/common/data/copy.json @@ -161,7 +161,7 @@ "Other" ], "info": "Seeing events that occurred between", - "default_categories_label": "Events" + "default_categories_label": "Last 12 Days" }, "cardstack": { "header": "selected events", diff --git a/src/components/time/Axis.js b/src/components/time/Axis.js index 7390626..3b71314 100644 --- a/src/components/time/Axis.js +++ b/src/components/time/Axis.js @@ -34,14 +34,14 @@ class TimelineAxis extends React.Component { if (this.props.scaleX) { this.x0 = d3 .axisBottom(this.props.scaleX) - .ticks(5) + .ticks(15) .tickPadding(0) .tickSize(contentHeight - TEXT_HEIGHT - marginTop) .tickFormat(d3.timeFormat(fstFmt)); this.x1 = d3 .axisBottom(this.props.scaleX) - .ticks(5) + .ticks(15) .tickPadding(marginTop) .tickSize(0) .tickFormat(d3.timeFormat(sndFmt)); diff --git a/src/components/time/Timeline.js b/src/components/time/Timeline.js index 64a3364..38f5006 100644 --- a/src/components/time/Timeline.js +++ b/src/components/time/Timeline.js @@ -130,7 +130,7 @@ class Timeline extends React.Component { } onClickArrow() { - this.setState((prevState, props) => { + this.setState((prevState) => { return { isFolded: !prevState.isFolded }; }); } diff --git a/src/components/time/atoms/Handles.js b/src/components/time/atoms/Handles.js index 072b7c4..fbeaeef 100644 --- a/src/components/time/atoms/Handles.js +++ b/src/components/time/atoms/Handles.js @@ -3,34 +3,35 @@ import React from "react"; const TimelineHandles = ({ dims, onMoveTime }) => { const transform = "scale(1.5,1.5)"; const size = 45; - return ( - - onMoveTime("backwards")} - > - - - - onMoveTime("forward")} - > - - - - - ); + return null; + // return ( + // + // onMoveTime("backwards")} + // > + // + // + // + // onMoveTime("forward")} + // > + // + // + // + // + // ); }; export default TimelineHandles;