Commit Graph

18 Commits

Author SHA1 Message Date
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
Lachlan Kermode
a089ea587b rm import 2020-09-23 19:02:59 +02:00
Lachlan Kermode
251eee4c96 rm unused search 2020-09-23 18:41:01 +02:00
efarooqui
10e905afeb Deprecated usage of env constants USE_ASSOCIATION_DESCRIPTIONS, USE_NARRATIVESand FILTERS_AS_NARRATIVES to instead check for existence of narratives; deprecated usage of unused components such as CardFilters, CardNarrative, and NarrativeLink 2020-09-09 20:38:11 -07:00
efarooqui
bd4f61e7ed Working narrative feature minus getNarrativeLinks (need further clarification); working on modifying narrativise filters feature 2020-09-07 16:10:09 -07:00
efarooqui
6492be18d9 Refactored filter list for display; converting filter paths to node, child objects that are toggleable 2020-09-01 09:33:05 -07:00
efarooqui
2aaf7c09ff Filter render broken; moved narrative and narrativeState to app.filters and restructured appropriately with narrativeIdx selector 2020-08-27 08:42:47 -07:00
Lachlan Kermode
f6fb40d4be toolbar and zoom control fixes 2020-06-18 10:30:25 +02:00
Lachlan Kermode
16358f5ab9 all tags->filters 2020-06-18 10:30:25 +02:00
Lachlan Kermode
c98d096af7 fix binary search 2020-06-18 10:30:25 +02:00
Lachlan Kermode
8d2879e227 USE_TAGS -> USE_FILTERS 2020-06-18 10:30:25 +02:00
Lachlan Kermode
e93d7d8831 rewrite features as part of store + add HIGHLIGHT_GROUPS 2020-06-18 10:30:25 +02:00
Lachlan Kermode
2a9fc5f0dc correctly hides categories tabpanel when feature flag is false 2020-06-18 10:30:25 +02:00
Lachlan Kermode
54d4c3818a md padding, title click to home, 'Evidence type' 2019-08-07 11:58:15 +01:00
Sam Ludford
455bf64fca updated copy mechanism for display title and intro text 2019-08-07 11:57:23 +01:00
Sam Ludford
7755a8fee2 renamed js folder as common + moved hardcoded colors into global.js 2019-05-22 12:50:22 +01:00
Sam Ludford
927593d360 made narrative buttons in toolbar yellow on hover 2019-05-22 12:50:22 +01:00
Lachlan Kermode
0758a0d56e house Toolbar components in folder 2019-02-14 15:35:35 +00:00