Commit Graph

715 Commits

Author SHA1 Message Date
Mitchell McCaffrey
3922d1f474 Moved status color helper to general color helper 2020-04-20 10:28:40 +10:00
Mitchell McCaffrey
aa36ad9463 Moved to tap event for token menu popup 2020-04-19 18:46:10 +10:00
Mitchell McCaffrey
bc5728ffa1 Moved map tokens above drawing and fixed token interaction bug 2020-04-19 17:57:49 +10:00
Mitchell McCaffrey
e366d88f7e Added cursor for different tools, allowed panning to work on touch while drawing
Stopped double tap to reset zoom while not on pan tool
2020-04-19 17:39:56 +10:00
Mitchell McCaffrey
04e4bf3f29 Added touch support for map drawing 2020-04-19 17:39:26 +10:00
Mitchell McCaffrey
16cca15872 Fix equal oparator 2020-04-19 17:38:03 +10:00
Mitchell McCaffrey
ad236d6e6a Added network sync to drawing 2020-04-19 15:15:48 +10:00
Mitchell McCaffrey
9f97cf3bb4 Moved to setting map transform directly instead of using state to avoid re-renders 2020-04-19 13:34:07 +10:00
Mitchell McCaffrey
24de41fee7 Added undo and redo and map control validation 2020-04-19 13:33:31 +10:00
Mitchell McCaffrey
1f20959940 Moved to loading stripe dynamically to prevent it tracking without opening the donation modal 2020-04-19 10:35:36 +10:00
Mitchell McCaffrey
4555c9bf71 Added basic drawing control 2020-04-19 00:24:06 +10:00
Mitchell McCaffrey
c12abf5706 Added map controls component and moved to seperate files for icons 2020-04-18 23:31:40 +10:00
Mitchell McCaffrey
ecaf82fd53 Added point simplification with simplify-js 2020-04-18 19:09:48 +10:00
Mitchell McCaffrey
f472f03616 Removed twojs as I wasnt really using it anyway 2020-04-18 18:54:13 +10:00
Mitchell McCaffrey
e2daf1a595 Added twojs and basic map drawing 2020-04-18 18:11:21 +10:00
Mitchell McCaffrey
393656eb89 Bump version 2020-04-15 22:08:56 +10:00
Mitchell McCaffrey
03d0c4a0fe Add autofocus to start modal 2020-04-15 22:08:24 +10:00
Mitchell McCaffrey
b76a70ca81 Fix bug with dropping empty map 2020-04-15 21:57:18 +10:00
Mitchell McCaffrey
279d83122f Added drag and drop support to map upload 2020-04-15 21:15:16 +10:00
Mitchell McCaffrey
64f284ebb7 Added nickname to local storage 2020-04-15 20:18:59 +10:00
Mitchell McCaffrey
16ba3c3a63 Removed unused import 2020-04-15 12:52:26 +10:00
Mitchell McCaffrey
0c2296990f Bump version 2020-04-15 12:51:48 +10:00
Mitchell McCaffrey
0015144d1a Added stripe integration and donation modal 2020-04-15 12:51:03 +10:00
Mitchell McCaffrey
d662f5e107 Fix error if a modal is shown on page load 2020-04-15 12:50:21 +10:00
Mitchell McCaffrey
0a6198a8cc Updated theme for secondary button 2020-04-15 12:49:56 +10:00
Mitchell McCaffrey
a3b32adbdd Added padding to banner to stop X from overlapping text 2020-04-15 12:48:46 +10:00
Mitchell McCaffrey
da07367b1e Adjusted margins in about and faq 2020-04-14 22:38:43 +10:00
Mitchell McCaffrey
de5eb6bed6 Bump version 2020-04-14 22:21:22 +10:00
Mitchell McCaffrey
17122b1a42 Added new logo design 2020-04-14 22:20:53 +10:00
Mitchell McCaffrey
225f62fa89 Bump version 2020-04-14 17:38:30 +10:00
Mitchell McCaffrey
29a0851c08 Added a loading spinner 2020-04-14 17:36:25 +10:00
nicola
cf814c77f1 Edit About page 2020-04-14 17:31:55 +10:00
Mitchell McCaffrey
ff2127cc77 Removed join text face and added to about 2020-04-14 16:55:03 +10:00
Mitchell McCaffrey
506a84b67e Fix version 2020-04-14 16:13:49 +10:00
Mitchell McCaffrey
034b83cfe0 Bump version 2020-04-14 16:08:37 +10:00
Mitchell McCaffrey
2ceec9cfec Added authentication handling 2020-04-14 16:05:44 +10:00
Mitchell McCaffrey
5dc6a4ed32 Added disabled states to buttons and inputs 2020-04-14 16:03:19 +10:00
Mitchell McCaffrey
d40d5419dd Bump version 2020-04-14 11:50:39 +10:00
Mitchell McCaffrey
021d794d67 Removed too verbose error messages in UI
Updated FAQ
Handled connection closure on refresh
2020-04-14 11:49:45 +10:00
Mitchell McCaffrey
7d046c0a1a Bump version 2020-04-14 09:53:26 +10:00
Mitchell McCaffrey
7b7435f55a Add a check for map bounds in token menu
Removed hard coded dead zones in proxy token
2020-04-14 09:41:10 +10:00
Mitchell McCaffrey
6c12ab39f7 Bump version 2020-04-13 23:46:10 +10:00
Mitchell McCaffrey
441e589ec3 Added token status rings 2020-04-13 23:42:18 +10:00
Mitchell McCaffrey
8ba3881529 Updated nickname modal to focus input by default 2020-04-13 18:36:33 +10:00
Mitchell McCaffrey
5c0272fc2d Moved join screen to a modal 2020-04-13 18:29:46 +10:00
Mitchell McCaffrey
bcf9f94c24 Refactored buttons and modals to be separate 2020-04-13 18:15:00 +10:00
Mitchell McCaffrey
a1c0ce8b9d Bump version 2020-04-13 11:31:28 +10:00
Mitchell McCaffrey
a1e85e490b Added token label to proxy token 2020-04-13 11:22:10 +10:00
Mitchell McCaffrey
2595c3be4b Fix token label and map token stretch properly 2020-04-13 11:21:47 +10:00
Mitchell McCaffrey
a6da90782b Removed log 2020-04-13 11:21:23 +10:00
Mitchell McCaffrey
df0054eaf6 Fix map zoom on safari and remove unneeded scroll behaviour setting 2020-04-13 10:33:49 +10:00
Mitchell McCaffrey
974e1d5792 Fix token label position with large tokens 2020-04-13 10:32:42 +10:00
Mitchell McCaffrey
5575e985dc Fix effect dependency 2020-04-13 10:32:26 +10:00
Mitchell McCaffrey
cb93922d59 Added initial token label
Added token pop up menu
Added token label
Added better token positioning
Split tokens into list and map variants
Moved size input to more generic number input
Changed game handler names to be more consistent
2020-04-13 00:24:03 +10:00
Mitchell McCaffrey
da0f80316c Refactored useSession to properly handle peer events
Added indicator of what connection errored
2020-04-11 20:42:13 +10:00
Mitchell McCaffrey
aed9c06dc6 Added back in (you) text to your nickname 2020-04-11 17:03:45 +10:00
Mitchell McCaffrey
f22f0fa5ca Bump Version 2020-04-10 11:25:57 +10:00
Mitchell McCaffrey
e7e4100693 Updated FAQ to be more clear about fixes for connection issues 2020-04-10 11:22:18 +10:00
Mitchell McCaffrey
d8ddcd2cd5 Added ios safe area to banners 2020-04-10 11:09:44 +10:00
Mitchell McCaffrey
10e7493e5c Changed font sizes for more readibility 2020-04-10 10:56:09 +10:00
Mitchell McCaffrey
a0e6235f72 Added on screen error banner and FAQ section for connection issues 2020-04-10 10:55:44 +10:00
Mitchell McCaffrey
f3426e33ef Refactored stream from nickname component 2020-04-10 09:36:56 +10:00
Mitchell McCaffrey
755d39514c Bump version 2020-04-09 23:46:05 +10:00
Mitchell McCaffrey
b35cfb2795 Tweak font sizing for larger screens 2020-04-09 23:45:39 +10:00
Mitchell McCaffrey
e42b3119ef Bump version 2020-04-09 23:05:17 +10:00
Mitchell McCaffrey
f6653ecea8 Update FAQ.js 2020-04-09 23:04:54 +10:00
Mitchell McCaffrey
64c149614f Bump version 2020-04-09 22:52:23 +10:00
Mitchell McCaffrey
5af96a211b Changed style on modal to allow for scroll if needed 2020-04-09 22:48:21 +10:00
Mitchell McCaffrey
4c42bec05f Added details to the About page 2020-04-09 22:30:08 +10:00
Mitchell McCaffrey
e6658324de Added content to FAQ page for audio sharing 2020-04-09 21:56:02 +10:00
Mitchell McCaffrey
85f4a9b41b Moved zoom bindings for the map to stop double zoom on trackpads
Also added toggle for overscroll behaviour when not in map
2020-04-09 18:20:10 +10:00
Mitchell McCaffrey
9b4aa07a79 Added footer and blank FAQ and About pages 2020-04-09 18:19:07 +10:00
Mitchell McCaffrey
a9ad15eaf1 Bump version 2020-04-09 14:25:16 +10:00
Mitchell McCaffrey
296401f472 Updated stream to only show interaction banner when autoplay was unsuccesful 2020-04-09 14:24:52 +10:00
Mitchell McCaffrey
ae4c857c65 Bump version 2020-04-09 13:40:07 +10:00
Mitchell McCaffrey
1afc8b8d68 Defaulted to muting stream and showing banner to unmute 2020-04-09 13:39:25 +10:00
Mitchell McCaffrey
1f5e3106d0 Bump version 2020-04-09 12:22:59 +10:00
Mitchell McCaffrey
4b0336fa9d Default stream mute on play 2020-04-09 12:22:43 +10:00
Mitchell McCaffrey
5b2f097248 Bump version 2020-04-09 12:13:17 +10:00
Mitchell McCaffrey
1c978c999c Removed stream component and set muted state when stream is loaded 2020-04-09 12:12:53 +10:00
Mitchell McCaffrey
09ac7cf3b7 Bump version 2020-04-09 11:55:47 +10:00
Mitchell McCaffrey
975ebffe27 Change add party member and nickname modal to match stream 2020-04-09 11:54:40 +10:00
Mitchell McCaffrey
cebf28c568 Removed autoplay and trigerred play with script 2020-04-09 11:48:15 +10:00
Mitchell McCaffrey
502214c1f5 Increased party width and mute icon size 2020-04-09 11:41:48 +10:00
Mitchell McCaffrey
53bf0e9659 Added proper dom representations to Text elements and increased party text size 2020-04-09 11:30:48 +10:00
Mitchell McCaffrey
0f4a5caf94 Change add party memeber icon and added titles to icon buttons 2020-04-09 11:12:46 +10:00
Mitchell McCaffrey
331c323f31 Bump version 2020-04-09 10:36:58 +10:00
Mitchell McCaffrey
84f201858a Added modal to radio and added error feedback in it 2020-04-09 10:36:28 +10:00
Mitchell McCaffrey
8c5d58ae93 Unused import 2020-04-08 21:43:41 +10:00
Mitchell McCaffrey
7271b82082 Bump version 2020-04-08 21:42:47 +10:00
Mitchell McCaffrey
2f18222e99 Moved to audio only, handled stream closure and added mute button to name 2020-04-08 19:56:14 +10:00
Mitchell McCaffrey
81c3e69932 Moved nickname and stream button 2020-04-08 17:00:56 +10:00
Mitchell McCaffrey
842f6b8bd6 Added better audio settings for streaming music 2020-04-08 17:00:38 +10:00
Mitchell McCaffrey
0bd1e86e48 Added simple stream sharing 2020-04-08 15:01:17 +10:00
Mitchell McCaffrey
efd94a1821 Bump version 2020-04-07 18:19:03 +10:00
Mitchell McCaffrey
fb857607db Added simplebar for more consistent scroll bars between mac and windows 2020-04-07 18:18:08 +10:00
Mitchell McCaffrey
f5fe7943e9 Bump version 2020-04-07 12:51:42 +10:00
Mitchell McCaffrey
a905ce378b Fixed site loading in older versions of safari 2020-04-07 12:48:10 +10:00
Mitchell McCaffrey
b0fdabefcb Removed overscroll to avoid conflict when zooming map on desktop 2020-04-07 12:47:52 +10:00
Mitchell McCaffrey
a6835b706c Removed unused import 2020-04-07 12:05:30 +10:00
Mitchell McCaffrey
134a8f56ac Added aria-label to nickname input 2020-04-07 11:47:27 +10:00
Mitchell McCaffrey
3bd8fce6ab Added custom sizing support 2020-04-07 11:47:06 +10:00
Mitchell McCaffrey
43aaf04843 Bump version 2020-04-06 18:06:45 +10:00
Mitchell McCaffrey
9cf4c14c14 Changed nickname change modal styling and added link in add party modal 2020-04-06 15:51:05 +10:00
Mitchell McCaffrey
bd5cfbbd4b Added nickname editing 2020-04-06 15:38:36 +10:00
Mitchell McCaffrey
ac9189c606 Added a sync option when connecting to peers
Optimises the user join time by not sending the image data multiple times
2020-04-06 14:33:22 +10:00
Mitchell McCaffrey
bdc1a7c14d Bump version 2020-04-06 12:41:04 +10:00
Mitchell McCaffrey
4a86fc1daf Changed socket url 2020-04-06 12:39:32 +10:00
Mitchell McCaffrey
af202fb19b fixed party names only showing two members 2020-04-06 00:20:17 +10:00
Mitchell McCaffrey
99ed04b52a Moved to react-router and hash routing to support github pages 2020-04-06 00:07:24 +10:00
Mitchell McCaffrey
8361d6eb0b Moved to simple peer 2020-04-05 22:20:34 +10:00
Mitchell McCaffrey
7ac13c1145 Removed safari work around for data connection and added cleaner nickname syncing 2020-03-26 19:50:14 +11:00
Mitchell McCaffrey
f8d992fa91 Fix data only connections in safari from working and fixed sync bug 2020-03-26 17:53:15 +11:00
Mitchell McCaffrey
916b702e56 Added version text on home screen and bumped version 2020-03-26 15:48:17 +11:00
Mitchell McCaffrey
c1d4e09cb3 Added a reset for the map when the source is changed 2020-03-26 15:43:52 +11:00
Mitchell McCaffrey
974e39a2e6 Fixed proxy token size being wrong on map view 2020-03-26 15:07:27 +11:00
Mitchell McCaffrey
7c07caa70d Fixed layout and interaction for mobile 2020-03-26 14:53:02 +11:00
Mitchell McCaffrey
d2ca6cc177 Added removal of nickname on connection error 2020-03-26 13:30:39 +11:00
Mitchell McCaffrey
4e94567f52 Fixed error in map 2020-03-26 13:26:20 +11:00
Mitchell McCaffrey
b062f93966 Removed message and put in nicknames 2020-03-26 13:26:10 +11:00
Mitchell McCaffrey
54c7100c2c Removed video and added text 2020-03-26 12:24:52 +11:00
Mitchell McCaffrey
30e957e937 Changed video max width
Co-Authored-By: nthouliss <nthouliss@users.noreply.github.com>
2020-03-25 13:52:01 +11:00
Mitchell McCaffrey
1bd9613dd2 Added logs for errors
Co-Authored-By: nthouliss <nthouliss@users.noreply.github.com>
2020-03-25 13:17:55 +11:00
Mitchell McCaffrey
3c82d1954b Fixed bug with connections being re-done every re-render and added logs
Co-Authored-By: nthouliss <nthouliss@users.noreply.github.com>
2020-03-25 12:59:21 +11:00
Nicola
29d868d5f5 Restrict frame-rate on video stream 2020-03-24 22:46:51 +11:00
Nicola
86f82c1247 Improve connection and sync handling 2020-03-24 22:46:29 +11:00
Mitchell McCaffrey
15d43e101e Fix spelling error in inline video playback 2020-03-20 22:49:25 +11:00
Mitchell McCaffrey
67b8c035bb Added playsinline to stop iphone video from fullscreening 2020-03-20 22:46:06 +11:00
Mitchell McCaffrey
5042f203cd Added removal of streams whe they close or error 2020-03-20 21:57:37 +11:00
Mitchell McCaffrey
91c7c9f9ad Added pan and zoom to map 2020-03-20 21:46:52 +11:00
Mitchell McCaffrey
b7ce6892f0 Disable join button when no input is given 2020-03-20 20:31:22 +11:00
Mitchell McCaffrey
980462b109 Changed styled to be more subdued, added bear image and icons 2020-03-20 20:29:35 +11:00
Mitchell McCaffrey
d1b1780763 Added a social view and a switch between the new view and the old 2020-03-20 19:19:46 +11:00
Mitchell McCaffrey
8b412ad482 Moved change map button to map component and centered it 2020-03-20 18:06:24 +11:00
Mitchell McCaffrey
33ea19fef6 Moved tokens to be relatively positioned and scaled to the current map 2020-03-20 17:56:34 +11:00
Mitchell McCaffrey
c25566f682 Removed unused variable 2020-03-20 14:49:40 +11:00
Mitchell McCaffrey
247505bb93 Refactored modal, added popup for image selection and changed map data layout 2020-03-20 14:48:46 +11:00
Mitchell McCaffrey
a75cbb0c56 Added margins to videos and added scroll to party video 2020-03-20 13:44:22 +11:00
Mitchell McCaffrey
82d750eca7 Added token moving and removing on map 2020-03-20 13:33:12 +11:00
Mitchell McCaffrey
1133fe2d2b Fixed a bug with an empty token being sent on a new connection 2020-03-20 12:11:28 +11:00
Mitchell McCaffrey
81d311eb7f Added token dragging from side bar into map view 2020-03-20 11:05:40 +11:00
Mitchell McCaffrey
a22b3231fb Added token images 2020-03-19 21:40:29 +11:00
nicola
f2c3a12856 Edit files for formatting
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-19 18:58:37 +11:00
nicola
8989268094 Add join functionality to party
co-author-by: mitchemmc <mitchemmc@gmail.com>
2020-03-19 18:56:42 +11:00
Mitchell McCaffrey
05cf20fe8b Added styling
co-authored-by: nthouliss <nthouliss@gmail.com>
2020-03-19 17:33:57 +11:00
nicola
e92129d8ea Add audio functionality to videos
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-19 15:07:14 +11:00
Mitchell McCaffrey
eb4f3d2a26 Fixed bug with image upload 2020-03-19 13:05:50 +11:00
Mitchell McCaffrey
8759c55eee Fixed bug with videos getting deleted when there is more than one 2020-03-19 12:59:01 +11:00
Mitchell McCaffrey
fb43cc3fc2 Added video calling 2020-03-19 12:02:31 +11:00
Mitchell McCaffrey
25ee35de44 Added option on initial connection to decide whether a sync is needed 2020-03-18 14:44:43 +11:00
nicola
bc93b01a90 Implement draggable tokens in Game.js
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-17 22:16:27 +11:00
nicola
7205f73414 Add style to Game.js
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-17 21:44:41 +11:00
nicola
8a48415367 Implement image sending to peers
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-17 21:11:23 +11:00
Mitchell McCaffrey
d88eefc3a7 Implemented session management in game route 2020-03-17 20:09:23 +11:00
Mitchell McCaffrey
673320988f Added game provider and shared state for the app 2020-03-17 08:21:19 +11:00
nicola
e52f3cbdaf Add style to Join.js
co-authored-by: mitchemmmc <mitchemmc@gmail.com>
2020-03-16 22:15:30 +11:00
nicola
c1e72766c5 Format Game.js and Join.js files
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-16 21:51:32 +11:00
nicola
9ef3b8b213 Add style to Homepage
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-16 21:50:40 +11:00
nicola
a5034ef576 Add simple routes to page
co-authored-by: mitchemmc <mitchemmc@gmail.com>
2020-03-16 21:31:08 +11:00
Mitchell McCaffrey
8010c1fb4a Added session disconnect handling 2020-03-16 20:34:32 +11:00
Mitchell McCaffrey
65e102292b Added multi user support and split session logic to new file 2020-03-16 19:44:49 +11:00
nicola
a06a26f931 Add update image functionality to clients 2020-03-15 18:55:43 +11:00
Mitchell McCaffrey
f4b6a17120 Added simple image sharing test 2020-03-15 18:39:21 +11:00
Mitchell McCaffrey
980dc6f7be Added simple theme 2020-03-15 17:50:56 +11:00
Mitchell McCaffrey
4735820e91 Added simple p2p test 2020-03-15 16:04:30 +11:00