Feature/ux fixes (#167)

* fix card toggle

* fix bug and bar marker

* reinstate timeline arrows

* adjust (hard to interpret) category y calculation

* shadows for markers as well

* return markers when there are no categories

* remove year in timeline

* make notifications optional

* WIP: render hovered counts

* show number on hover

* lint

* revert to filteredLocations

* linting

* return mapClustersToLocations

* 💄

* lint

Co-authored-by: efarooqui <efarooqui@pandora.com>
This commit is contained in:
Lachlan Kermode
2020-10-22 20:09:13 +03:00
committed by GitHub
parent f44d3e2481
commit ddbee03f50
9 changed files with 153 additions and 135 deletions

View File

@@ -20,8 +20,8 @@ class TimelineAxis extends React.Component {
sndFmt = ''
// 1yr
} else if (this.props.extent > 43200) {
sndFmt = '%Y'
fstFmt = '%d %b'
sndFmt = '%d %b'
fstFmt = ''
} else {
sndFmt = '%d %b'
fstFmt = '%H:%M'