Commit Graph

181 Commits

Author SHA1 Message Date
Franc Camps-Febrer
fbf1f4d03d Swap flyto for setView 2018-12-21 12:49:41 +01:00
Franc Camps-Febrer
726b5b0c7d Do not flyTo if eventPoint is null 2018-12-21 12:37:17 +01:00
Lachlan Kermode
9c9029bc48 Merge pull request #54 from forensic-architecture/topic/reactify-map
Break down map logic into React components and SVG markup
2018-12-20 18:30:19 +00:00
Franc Camps-Febrer
f6997765d6 Minimal cosmetic change 2018-12-19 15:59:31 +01:00
Franc Camps-Febrer
775608edf4 Remove unused map code 2018-12-19 15:46:55 +01:00
Franc Camps-Febrer
d47dabab10 Reactify selected marker in map 2018-12-19 15:46:44 +01:00
Franc Camps-Febrer
8887e60c43 Hide svg during map transitions 2018-12-19 15:08:51 +01:00
Franc Camps-Febrer
3057bfd14d Streamline aligning layers 2018-12-19 14:09:28 +01:00
Franc Camps-Febrer
c416c12698 Adjust dimensions of sites-layer innarrative mode 2018-12-19 11:41:42 +01:00
Franc Camps-Febrer
301891e143 Make events on map into a react component 2018-12-19 11:26:41 +01:00
Franc Camps-Febrer
65a608088c Make narratives on map into a react component 2018-12-19 11:02:16 +01:00
Franc Camps-Febrer
47a01801af Make map Sites into a React component 2018-12-19 09:55:57 +01:00
Franc Camps-Febrer
8765b118ce Abstract L and SVG pane to React 2018-12-19 07:48:13 +01:00
Lachlan Kermode
1ddaf2a856 Merge pull request #52 from forensic-architecture/topic/narrative-mode
Implement focused narrative mode
2018-12-18 17:36:11 +00:00
Franc Camps-Febrer
9e16271dbb Reset narrative to first event when switching between narratives 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
196abd27b0 Allow switching narratives by clicking on line 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
f343135eed Render narratives as sequence of single lines 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
8476b11409 Make non-selected narrative of their own color 2018-12-18 17:35:07 +00:00
Lachlan Kermode
ce18bfb5ea temp fix to render domain error visible 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
028429a975 Style arrow markers with current narrative style 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
470ef65617 Add arrowheads to narrative lines 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
bcc70a57f6 Update narrative paths on move, zoom 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
31fd3ac507 Refine update time on drag, and clip hidden events 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
4e5cd8a7fb Change display order, put narrative under events 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
288aff5c15 Style narrative based the one selected 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
7b25efda95 Apply correct narrative styles in map 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
40ac0eb120 Only rerender NarrativeCard if step has changed 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
4423e792ec Make selectors compute narratives as arrays 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
0bc4ddc54e Remove unnecessary renders in map / timeline and style narrative mode 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
3e9b621655 Clean up location transform in map 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
6d06ab8ce4 Align transform of svg 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
6dee9fee2f Select only updateNarrative as action to pass to Toolbar 2018-12-18 17:35:07 +00:00
Franc Camps-Febrer
58aaadc5d4 Hide toolbar on narrative mode 2018-12-18 17:35:07 +00:00
Lachlan Kermode
17a81a7643 Revert "Refactor Timeline component and timeline, mapping logic" 2018-12-18 17:35:07 +00:00
Lachlan Kermode
6ef45197df amend sources route in example config 2018-12-18 12:25:49 +00:00
Lachlan Kermode
1e77f135b1 Merge pull request #50 from forensic-architecture/topic/sources
Topic/sources
2018-12-14 11:09:28 +00:00
Lachlan Kermode
e09983ce1e make card wider 2018-12-13 18:00:33 +00:00
Lachlan Kermode
7267f821ab factor sources map to Card from CardSource 2018-12-13 17:53:13 +00:00
Lachlan Kermode
cccbcb9e54 infra for multiple sources in Card 2018-12-13 17:47:35 +00:00
Lachlan Kermode
c85b0c9001 adjust selectors to handle array of sources 2018-12-13 17:40:30 +00:00
Lachlan Kermode
8435df1430 load sources as object for more efficient access 2018-12-13 17:31:32 +00:00
Lachlan Kermode
7b8b81c788 interpolate sources using selector 2018-12-13 17:31:32 +00:00
Lachlan Kermode
fb84d6883b basic source schema reading data in 2018-12-13 17:31:32 +00:00
Lachlan Kermode
0c54e07f8f fetchSelected -> updateSelected 2018-12-13 17:31:32 +00:00
Lachlan Kermode
1dd6e327d7 Merge pull request #49 from forensic-architecture/fix-zoom
Fix zoom
2018-12-13 17:31:02 +00:00
Franc Camps-Febrer
fbec206f10 Add svg transform to all locations as well 2018-12-13 13:04:54 +01:00
Franc Camps-Febrer
ac1f20fd1d Remove console 2018-12-13 12:54:10 +01:00
Franc Camps-Febrer
17e14dee2a Improve transformY alignment on svg layer 2018-12-13 12:54:10 +01:00
Franc Camps-Febrer
d8cb6f4ba8 Fix updateSVG for FF in map 2018-12-13 12:53:38 +01:00
Lachlan Kermode
489a7f6394 Merge pull request #48 from forensic-architecture/revert-46-fix-zoom
Revert "Refactor Timeline component and timeline, mapping logic"
2018-12-12 16:39:58 +00:00