Commit Graph

94 Commits

Author SHA1 Message Date
Lachlan Kermode
8b507fde96 some styling fixes (#178)
* logos at bottom

* use GT-Zirkon font

* update filter/category copy

* add a fallback font

* stop tracking

* make timeline smaller for smaller laptops

* fix for firefox responsive intropopup

* mobile fallback

* update design system version
2020-10-29 18:14:32 +01:00
Lachlan Kermode
eff13c3d92 Feature/infopopup (#173)
* make intropopup possible

* aesthetic changes

* lint

* correct infopopup styles
2020-10-28 17:54:59 +01:00
Zac Ioannidis
029bc4a03e Importing <Card /> from NPM-published design-system library (#171)
* Importing cards from NPM

* Added an abstraction inside the store and config for creating layouts for cards

* Adding layout render order for Card

* Allowing lists in the reducer validation

* Added design system package to package.json

* Any version over 0.5.0

* fix lint

Co-authored-by: Lachlan Kermode <lachiekermode@gmail.com>
2020-10-28 11:09:02 +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
Lachlan Kermode
ddbee03f50 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>
2020-10-22 20:09:13 +03:00
efarooqui
4107058ec6 Trailing comma 2020-10-21 20:54:25 -07:00
efarooqui
d7ddc80c5c Moved supercluster config outside of map; to set the lowest level at which clusters appear, set maxZoom in config 2020-10-21 20:52:59 -07:00
efarooqui
3bf80bce00 Modified clusters to take in radial gradient as input if specified 2020-10-15 09:23:19 -07:00
efarooqui
d649ba99ed Configuring maxbounds in config to allow pan to not snap out of center 2020-10-07 17:41:09 -07:00
efarooqui
c86c4fba02 Removing commented out sections 2020-10-06 10:34:29 -07:00
efarooqui
9dd5eabd3a Linting fixes 2020-10-06 10:31:17 -07:00
efarooqui
233ddbfc99 Removed logic for selecting all cards on cluster select; putting out PR to get feedback 2020-10-06 10:19:09 -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
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
297dd83436 Individual points showing with cluster logic; need to define styling and appearance for larger clusters 2020-09-29 10:45:08 -07:00
efarooqui
9c59dd12a0 Clustering working upon zoom; loading cluster data appropriately initially; need to style and add markers 2020-09-29 09:35:55 -07:00
efarooqui
0374ac5d76 Removed extraneous USE_SEARCH declarations 2020-09-23 10:25:18 -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
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
efarooqui
fe9a5302fa Finding association duplicates; sanitizing appropriately; beginning to edit narrativise function in UI 2020-08-26 22:06:13 -07:00
Lachlan Kermode
8edad609f7 add default rangeLimits 2020-07-21 10:05:34 +02:00
Lachlan Kermode
95196e721c better logo styling, variable button text 2020-07-15 10:22:47 +02:00
Lachlan Kermode
66bdb90454 cover more sensible defaults 2020-07-15 10:22:47 +02:00
Lachlan Kermode
12e309ed8a enable modifying event radius from config 2020-06-18 10:30:25 +02:00
Lachlan Kermode
16358f5ab9 all tags->filters 2020-06-18 10:30:25 +02:00
Lachlan Kermode
65befef6e0 add loading 2020-06-18 10:30:25 +02:00
Lachlan Kermode
681447c15b proper fix of GRAPH_NONLOCATED 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
404dd618ae refix map selection 2020-06-18 10:30:25 +02:00
Lachlan Kermode
3b4a3312d5 correct timeline selection 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
3641756539 WIP: overridden colours and shapes 2020-06-18 10:30:25 +02:00
Lachlan Kermode
044c6cd34a return default opacity and size 2020-06-18 10:30:25 +02:00
Lachlan Kermode
eac3eeaf93 WIP: lots of messy code for better timelines 2020-06-18 10:30:25 +02:00
Lachlan Kermode
f832215522 WIP: improve 2020-06-18 10:30:25 +02:00
Lachlan Kermode
b9efee8cca WIP: better timeline styles 2020-06-18 10:30:25 +02:00
Lachlan Kermode
ffb4548fce update dimensions of track according to number of categories 2020-06-18 10:30:25 +02:00
Lachlan Kermode
f303267041 configures category size dynamically 2020-06-18 10:30:25 +02:00
Lachlan Kermode
b977a9a44f fmts dates in timeline better for larger timeframes 2020-06-18 10:30:25 +02:00
Lachlan Kermode
77bedb36b9 reconfigures initial settings with a 30 year setting, more sensible defaults for zooms 2020-06-18 10:30:25 +02:00
Lachlan Kermode
451b76481d make default cover cleaner 2019-08-15 15:03:53 +01:00
Sam Ludford
4f469b837e modified store to reduce timeline zoom scales 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
Lachlan Kermode
268ea407c2 fixes to work cleanly with example sheet 2019-05-17 13:41:47 +01:00
Sam Ludford
880a9fab0f moved required cover values into intitial.js 2019-05-17 13:41:47 +01:00
Sam Ludford
db92644624 template cover with updated example.config.js 2019-05-17 13:41:47 +01:00
Lachlan Kermode
ed9af1cbf6 add cover with toggle 2019-02-07 12:04:47 +00:00
Lachlan Kermode
a26b6beae0 tweak initial settings 2019-02-07 10:30:16 +00:00