Ebrahem Farooqui
fff1e46b16
Update utilities.js
...
change opacity back to not using a base value
2020-10-27 12:22:50 -07:00
Lachlan Kermode
c1afd75cea
fix recursive case
...
fix corner case for nested filters
cleanup
2020-10-27 14:52:45 +01:00
Ebrahem Farooqui
c454775fcb
Feature/add coloring algorithm ( #169 )
...
* Fixed bug: when all child filters unselected, turn off parent as well
* Refactored placement of onSelectFilter to be in Layout; working logic for updating coloring sets
* Linting fixes and removal of console logs
* Added separate component for colored markers which clusters and events will use; working calculation of color percentages based off of coloringset
* Working colors for clusters; need to implement for individual points as well
* Adding two new features to select whether to color by association or by category (can't do both)
* Working colors for filter list panel; text and checkbox change according to colorset groupings
* Working timeline events with coloring algorithm
* Handle select acts different on map when we don't render all points and only filter through clusters; can fix this by not filtering before passing in locations to events in map
* Removed extraneous prop
* Working point count on hover again; numbers were showing up below the colored markers
* Linting fixes and minor refactor of calculateColorPercentage for linting to ass
* Comments and more linting fixes
* add dev command for windows subsystem for linux
* return default styles for category toggles
* dynamically filter out timelines
* calibrate styling
* further calibrations
* correct contrast
* lint
Co-authored-by: efarooqui <efarooqui@pandora.com >
Co-authored-by: Lachlan Kermode <lachiekermode@gmail.com >
2020-10-27 13:33:32 +01:00
efarooqui
9bc9c6d9a2
Merging in develop branch
2020-10-20 15:26:15 -07:00
efarooqui
cd19910b06
Loads index when locations are finally available in props; added through componentDidUpdate method
2020-10-20 13:28:58 -07:00
efarooqui
7dee3dacd1
Some linting fixes
2020-10-19 13:33:42 -07:00
efarooqui
c310d15579
Created utility function isIdentical; moved DefsClusters into Clusters file
2020-10-19 13:32:35 -07:00
efarooqui
3bf80bce00
Modified clusters to take in radial gradient as input if specified
2020-10-15 09:23:19 -07:00
efarooqui
2aaa1752ad
Changed back to normal opacities instead of radial gradients; could add a var that's read from the config to determine styling: radial gradient || normal opacity
2020-10-14 22:27:50 -07:00
efarooqui
b5bb7472ac
Rewrote opacity alg for clusters
2020-10-13 11:04:07 -07:00
efarooqui
cde94262be
Events showing up on timeline after interpolating categories from associations and passing into getY
2020-10-12 14:54:45 -07:00
efarooqui
3dc13f334b
Working filters with added check to make sure empty locations dont create clusters
2020-10-07 10:19:03 -07:00
efarooqui
9dd5eabd3a
Linting fixes
2020-10-06 10:31:17 -07:00
efarooqui
47b9a66816
Working on select that selects all events in a cluster; need to configure UI to both zoom and select events
2020-10-05 09:45:17 -07:00
efarooqui
9357b5e281
Broken onClick clusters working after validating longitude and latitude and only allowing locations to contain valid coordinates
2020-10-01 15:35:46 -07:00
efarooqui
5333f492f8
Getting appropriate clusterZoom; flyto moving to incorrect location on map
2020-09-30 13:07:29 -07:00
efarooqui
5020e73811
Cluster sizes showing up appropriately and unclustering upon zoom; need to nail down styling and add onSelect for clusters
2020-09-30 11:21:37 -07:00
efarooqui
aa87db6b84
Working cluster visualization; need to modify styling for clusters for size and work out color based on events
2020-09-30 10:53:15 -07:00
efarooqui
2423a5a5ad
Issue with the difference between clicking on a card and clicking on the caret (ie is there an onClick functionality for the card?)
2020-09-22 16:55:13 -07:00
efarooqui
2bc6affbf5
Fixed up event schema to reduce filters and narratives to associations; removed extraneous comments for deprecated functions
2020-09-09 21:22:22 -07:00
efarooqui
fe9a5302fa
Finding association duplicates; sanitizing appropriately; beginning to edit narrativise function in UI
2020-08-26 22:06:13 -07:00
Lachlan Kermode
109210714f
nicer dates in timeline header
2020-07-15 10:22:47 +02:00
Lachlan Kermode
a708fd5670
add support for showing filter descriptions in narrativised mode
2020-07-15 10:22:47 +02:00
Lachlan Kermode
de2515063e
allow loading multiple events
2020-06-26 17:10:48 +02:00
Lachlan Kermode
00a8080eba
lint
2020-06-18 10:30:25 +02:00
Lachlan Kermode
148be7ac97
add jpeg
2020-06-18 10:30:25 +02:00
Lachlan Kermode
dd679f8943
small fixes
2020-06-18 10:30:25 +02:00
Lachlan Kermode
07a9341fa5
return bar markers rendering
2020-06-18 10:30:25 +02:00
Lachlan Kermode
e49b0e2fb0
WIP: gritty rewrite of timestamp handling
2020-06-18 10:30:25 +02:00
Lachlan Kermode
3b4a3312d5
correct timeline selection
2020-06-18 10:30:25 +02:00
Lachlan Kermode
3641756539
WIP: overridden colours and shapes
2020-06-18 10:30:25 +02:00
Lachlan Kermode
678d63f78b
WIP: project bars starting to magic...
2020-06-18 10:30:25 +02:00
Lachlan Kermode
958afb6a41
implements first attempt of unlocated bars
...
needs profiling and better calculated styles
2020-06-18 10:30:25 +02:00
Lachlan Kermode
afc84e61ac
removes numbers, increases opacity for more events instead
2020-06-18 10:30:25 +02:00
Lachlan Kermode
4ea856fa18
enables inline PDFs for sources
2020-06-18 10:30:25 +02:00
delucis
b0e2e6dd45
Make d3 an npm-managed dependency
...
Closes #91
2020-06-18 10:30:25 +02:00
Sam Ludford
7755a8fee2
renamed js folder as common + moved hardcoded colors into global.js
2019-05-22 12:50:22 +01:00