Commit Graph

167 Commits

Author SHA1 Message Date
Andrew Mudrov
53d6f389e3 feat(main): style changes and mobile version (#58)
Co-authored-by: msramalho <19508417+msramalho@users.noreply.github.com>
2022-10-31 17:40:35 +00:00
msramalho
35f849b78a feat: adds graphic content protection 2022-08-24 10:00:19 +01:00
Miguel Sozinho Ramalho
f6051b6f35 Merge branch 'main' into lint-fix 2022-04-06 22:30:21 +01:00
Felix Spöttel
cddba91748 fix(map): disable focus outline when dragging 2022-04-06 22:15:31 +02:00
wattroll
b4eb4edcae npm run lint:fix 2022-04-06 21:40:40 +03:00
msramalho
799f67ea49 implements csv+json downloads 2022-04-06 18:57:09 +02:00
Logan Williams
46ca3b429e Merge branch 'feat/fullscreen' of github.com:fspoettel/ukraine-timemap 2022-03-24 13:06:35 +01:00
Logan Williams
347f54ebcc Change styles for satellite switcher 2022-03-24 13:05:05 +01:00
hgrsd
9b7e02ef61 add satellite overlay toggle 2022-03-22 22:57:56 -04:00
Felix Spöttel
26c8432acf feat(Toolbar): add fullscreen toggle 2022-03-22 22:03:34 +01:00
Logan Williams
28a5f644fc Quick fixes for mobile 2022-03-20 08:16:47 +01:00
msramalho
400adc61f6 attribution 2022-03-15 10:44:31 +01:00
msramalho
5fdee5020f minor UI improvements 2022-03-14 14:42:02 +01:00
Lachlan Kermode
86fcd1a942 💄 2022-03-10 07:20:48 -05:00
Lachlan Kermode
330a7c56d0 Improved styles for timeline and card 2022-03-07 09:11:30 -05:00
Lachlan Kermode
88a5d2b5b4 When selecting filter, deselect events 2022-03-06 20:07:18 -05:00
Lachlan Kermode
4113c04830 Add support for Twitter and Telegram 2022-03-06 19:34:12 -05:00
Lachlan Kermode
b9eac1ce9a Remove black filter 2022-03-06 18:42:23 -05:00
Lachlan Kermode
723c4b7007 Remove design-system dependency 2022-03-03 20:24:38 -05:00
efarooqui
8206edb310 Polygon checkbox working active and inactive; need to hook up action to filter through events 2021-05-21 14:48:40 -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
81e00fd917 Using prettier for linting 2020-12-08 13:13:50 +00: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
Zac Ioannidis
d1f4ade83d Make width responsive through a CSS variable that's accessed in React 2020-10-29 11:42:00 +00:00
Zac Ioannidis
ad5995b498 Bump up opacity of infopopup 2020-10-29 11:21:38 +00: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
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
Lachlan Kermode
901100d756 Feature/add coloring algorithm (#172)
* 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

* wip: fixing corner case

* Cluster opacity feature was out of date

* When deselecting a child, whose parent is on, you cant reselect the child; fixed that bug but replaced it with a bug where you deselect a child and then toggle the parent and the toggle of the child switches instead of toggling like the parent

* generalize isOn check when creating click handler

* rename vars, fix styling

* rm cherrpick

Co-authored-by: efarooqui <efarooqui@pandora.com>
2020-10-28 09:54:16 +01:00
Ebrahem Farooqui
d034258e01 Update toolbar.scss
removing hover and default active color for name of filter in panel
2020-10-27 12:36:37 -07: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
c86c4fba02 Removing commented out sections 2020-10-06 10:34: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
80584c1717 Creating cluster styling and component to handle cluster visualization and mapping 2020-09-29 18:48:40 -07:00
Sol
bdc683aa1d cards clickability added 2020-09-20 10:23:45 +01:00
Sol
9d846c5c4c initial search bar feature added on new branch 2020-09-20 10:23:15 +01:00
Sol
0a6e13ba88 Refactored to pass down methods as props. Added CSS pointer 2020-08-07 19:26:01 +02:00
Lachlan Kermode
d6e39ee2b1 update 2020-07-15 10:22:47 +02:00
Lachlan Kermode
6a7ea10f02 ++ 2020-07-15 10:22:47 +02:00
Lachlan Kermode
4cdc279114 fix on safari 2020-07-15 10:22:47 +02:00
Lachlan Kermode
fdcff48c62 fix img occlusion 2020-07-15 10:22:47 +02:00
Lachlan Kermode
2b9975397f change to red! 2020-07-15 10:22:47 +02:00
Lachlan Kermode
c2b1440f93 cover with optional buttons 2020-07-15 10:22:47 +02:00
Lachlan Kermode
200a2826e6 update cover 2020-07-15 10:22:47 +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
a708fd5670 add support for showing filter descriptions in narrativised mode 2020-07-15 10:22:47 +02:00
Lachlan Kermode
1501bbda78 move cover over loading 2020-07-15 10:22:47 +02:00