954 Commits

Author SHA1 Message Date
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
8497864479 Removed eslintcache 2020-12-08 13:18:45 +00:00
Zac Ioannidis
81e00fd917 Using prettier for linting 2020-12-08 13:13:50 +00:00
Zac Ioannidis
fa329066e4 This is working, apart from ingesting configuration files when building 2020-12-08 12:51:22 +00:00
Zac Ioannidis
539dccdb86 Tried building 2020-12-07 19:39:30 +00:00
Zac Ioannidis
3a54cd7df5 Ingesting config through Create React App 2020-12-07 19:28:07 +00:00
Zac Ioannidis
00d840a65b Added eject script 2020-12-07 18:46:42 +00:00
Zac Ioannidis
b658d55800 Initial commit before adding Craco 2020-12-07 18:14:21 +00:00
Ebrahem Farooqui
14ace9a0d5 Merge pull request #187 from 1cgonza/feature/spanish-translation
Feature/spanish translation
2020-12-01 08:29:55 -08: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
Juan Camilo González
430440569a 🌐 Use locale throughout layouts 2020-11-29 18:25:51 -05:00
Juan Camilo González
13dfc2af15 🌐 Spanish copy 2020-11-29 18:23:53 -05:00
Juan Camilo González
3c8b543316 merge upstream from fork 2020-11-29 10:58:03 -05:00
Lachlan Kermode
c3a9709e3c fix contributing typos 2020-11-25 14:24:26 +00:00
Lachlan Kermode
12f8c40c71 update CONTRIBUTING.md (#185)
* update contributing

* update READMe
2020-11-25 12:16:12 +00:00
Lachlan Kermode
166c6e4063 amend config (#183) 2020-11-20 11:36:26 +01: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
Zac Ioannidis
3ce1c3c890 Merge pull request #181 from forensic-architecture/fix/infopopup-obscured-close-button
Fix close button being obscured in intro popup
2020-10-30 16:48:46 +00:00
Zac Ioannidis
6eb6083984 Don't fall back when on tablet - Fix infopoup on top of screen, so the close button isn't obscured on small viewports 2020-10-30 16:00:20 +00:00
Lachlan Kermode
a6417cc6f0 update example (#180) 2020-10-29 18:23:37 +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
Zac Ioannidis
955e3631f9 Merge pull request #179 from forensic-architecture/fix/infopopup-responsiveness
Fix infopopup responsiveness
2020-10-29 12:23:54 +00: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
4fdfd12401 Lint fix 2020-10-29 11:25:07 +00:00
Zac Ioannidis
ad5995b498 Bump up opacity of infopopup 2020-10-29 11:21:38 +00:00
Zac Ioannidis
e3a7dbe039 Pin infopopup to top, let it float on top of timeline on reduced viewport height 2020-10-29 11:21:26 +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
001365976c Feature/update splash page copy (#176)
* Updating some styles for cover; updating copy

* Changed font size to 18

Co-authored-by: efarooqui <efarooqui@pandora.com>
Co-authored-by: Lachlan Kermode <lachiekermode@gmail.com>
2020-10-29 07:12:29 +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
e25b437f75 Merge pull request #174 from forensic-architecture/feature/simplified-card-props
Feature/simplified card props
2020-10-28 17:30:02 -07:00
Zac Ioannidis
5831c9ce4d Update version of design-system 2020-10-28 23:49:32 +00:00
Zac Ioannidis
e9c1497ee8 Added new layout for cards 2020-10-28 23:41:14 +00:00
Zac Ioannidis
e9542f42a9 Lint fix 2020-10-28 19:33:05 +00:00
Zac Ioannidis
f09189469c Added markdown component for hiding source 2020-10-28 19:28:18 +00:00
Zac Ioannidis
e3276dfe8e Added against field 2020-10-28 19:02:22 +00:00
Zac Ioannidis
ac5565167e Merge branch 'develop' into feature/simplified-card-props 2020-10-28 18:25:16 +00:00
Zac Ioannidis
84c32ecf8d Adding color for categories 2020-10-28 18:23:41 +00:00
Zac Ioannidis
c382662093 Added new fields to the rendering of the Card Component 2020-10-28 17:19:28 +00: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
3e20337b5e Using new Card API 2020-10-28 16:09:29 +00: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
fff1e46b16 Update utilities.js
change opacity back to not using a base value
2020-10-27 12:22:50 -07:00
Ebrahem Farooqui
dba264ced6 Merge pull request #168 from forensic-architecture/fix/dot-vs-bar
fix check to render a dot or bar in timeline
2020-10-27 08:24:22 -07:00
efarooqui
e0cc5e1964 Merged in changes from develop 2020-10-27 08:15:55 -07:00
Ebrahem Farooqui
7438cba250 Merge pull request #170 from forensic-architecture/fix/recursive-corner-case
Fix/recursive corner case
2020-10-27 08:13:29 -07:00