efarooqui
b4981f1bbf
Bumping maxsize for clusters
2021-05-11 19:24:05 -07:00
efarooqui
0b989465f6
Fixing bugs with timeline markers; issues with using category as associations obj vs just title
2021-05-10 15:57:59 -07:00
efarooqui
15fbba8d06
Refactored selectEvents to account for filter path strs; working coloring alg again; evts not showing up on timeline
2021-05-07 15:07:48 -07:00
efarooqui
a1b7fb5259
Refactored all of filter logic to accomodate for paths instead of simply looking at leaf node in tree; fixes bugs where leaf path is non-unique
2021-05-06 19:49:32 -07:00
efarooqui
d3c4c44da5
Working aggregate filter paths with path as key; need to reorganize coloring algorithm
2021-05-06 16:42:29 -07:00
efarooqui
123ed80d74
Allow categories to be selected by title and not id; allow for primary key field
2021-04-30 17:47:16 -07:00
Lachlan Kermode
1bbcd57e5e
Fix/clean errors ( #191 )
...
* clean dev errors
* add check command
* yarn -> npm in travis
* fix all warnings
* fix base test
* 💄
2021-01-17 18:16:28 +13:00
Zac Ioannidis
02128ceed3
Added Jest test suite
2020-12-14 13:30:49 +00:00
Zac Ioannidis
81e00fd917
Using prettier for linting
2020-12-08 13:13:50 +00:00
Zac Ioannidis
3a54cd7df5
Ingesting config through Create React App
2020-12-07 19:28:07 +00:00
Juan Camilo González
df2ccd33fa
export language from utilities
2020-11-30 14:21:27 -05:00
Juan Camilo González
71e0e24b86
default "en-US" if language is not in config.js
2020-11-30 09:57:48 -05:00
Juan Camilo González
ffdb330f7f
Lint fixes
2020-11-30 09:19:23 -05:00
Juan Camilo González
c0a7036803
🌐 Translate JS dates & propose utility for d3 locale
2020-11-29 18:28:24 -05:00
Lachlan Kermode
7080c6d7af
Feature/smallfixes ( #177 )
...
* return logos
* dates w/o commas
* make arrows slightly larger
* intro/info popup fixes
2020-10-29 09:31:13 +01:00
Ebrahem Farooqui
9175057015
Feature/handle cluster select from timeline ( #175 )
...
* Updating some styles for cover; updating copy
* Wrote up getSelectedClusters function; testing
* Working on select with clusters being highlighted; rendering highlight around both clusters and individual points, so there's a little overlap
* Removed extraneous props being passed down to cluster
Co-authored-by: efarooqui <efarooqui@pandora.com >
2020-10-29 07:10:56 +01:00
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