Commit Graph

114 Commits

Author SHA1 Message Date
msramalho
799f67ea49 implements csv+json downloads 2022-04-06 18:57:09 +02:00
hgrsd
a14ad2670a feat: dynamic initial time range 2022-03-31 18:12:16 -04:00
hgrsd
9b7e02ef61 add satellite overlay toggle 2022-03-22 22:57:56 -04:00
Logan Williams
137603dfaa Clean up mobile changes, fixes #5 2022-03-21 17:05:05 +01:00
Lachlan Kermode
a84fd55e62 Add ticks to redux state 2022-03-06 21:20:03 -05:00
Ebrahem Farooqui
f03366416a Minor cleanup to remove old category features (#195)
Co-authored-by: efarooqui <efarooqui@pandora.com>
2021-10-21 17:26:15 +02:00
efarooqui
14593aeba2 Removing extraneous USE_MULTIPLE_FILTERS feature from initial store 2021-05-24 22:49:42 -07:00
efarooqui
5c3fffd99e Allows for multiple specified categories that are customizable panelsin left hand side toolbar 2021-05-24 20:31:00 -07:00
efarooqui
c688a35958 event.shape is initially shape ID, interpolated during domain fetch; adding base styles for checkbox inline with said component; generalized checkbox comp across three panels 2021-05-21 16:18:35 -07:00
efarooqui
7156639ec3 Polygon shapes abstracted to be types of checkboxes; abstracted rendering of panel into one component; importing shapes from separate endpoint 2021-05-20 18:44:26 -07:00
efarooqui
87d84df8b4 Reading in from toolbar copy from config for narrative and filter panels 2021-05-13 18:23:40 -07:00
efarooqui
b50ee8b5fe Creates an event type called TIMELINE_ONLY which doesnt get filtered by filter panel; allowing for panel copy to be read in via the config 2021-05-12 20:03:02 -07:00
Lachlan Kermode
e99398ceab Cleaning technical debt (#192)
* abstract Space component to switch out Map

* basic viewing possible

* restructure components dir

* all jsx --> js

* App.jsx --> App.js

* comment out 3d for now
2021-01-19 22:22:12 +01:00
Zac Ioannidis
3746705ee2 Using generateCardLayout from our design library to switch between appropriate card layouts 2020-12-08 13:40:46 +00:00
Zac Ioannidis
81e00fd917 Using prettier for linting 2020-12-08 13:13:50 +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
430440569a 🌐 Use locale throughout layouts 2020-11-29 18:25:51 -05:00
Zac Ioannidis
e1de58e701 Added generators for card layouts. (#182)
* Added generators for card layouts. These are optionally defined in the timemap config

* Removed US2020-specific layout generation - now it's being specified in the config
2020-11-20 07:35:57 +01:00
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