Commit Graph

495 Commits

Author SHA1 Message Date
James Lyne
095c0e1bf3 Respect sidebaropened dynmap config on larger screens 2021-01-24 15:46:34 +00:00
James Lyne
6aba097c85 Add support for sending chat messages 2021-01-07 22:40:05 +00:00
James Lyne
15360b83df Fix chat history not displaying 2021-01-07 22:39:26 +00:00
James Lyne
ac35a03e62 Show web chat messages in chat history 2021-01-07 22:38:01 +00:00
James Lyne
84c4f441c1 Move chat sending related settings into their own component 2021-01-07 17:24:21 +00:00
James Lyne
823e9b4c99 Hide UI and force landscape when printing 2021-01-07 13:49:00 +00:00
James Lyne
1615c3d902 Move message history limit handling to ChatBox 2021-01-06 16:17:20 +00:00
James Lyne
9c0213016b Handle login-required errors a bit better 2021-01-06 16:03:54 +00:00
James Lyne
ae377b8a26 Rename chat component to ChatBox 2021-01-06 16:02:48 +00:00
James Lyne
90638f4297 Update chat balloon position on projection change 2021-01-06 02:00:02 +00:00
James Lyne
7a4207d946 Keep player list names on one line 2021-01-06 01:00:01 +00:00
James Lyne
4cc1f8fd1f Remove HTML sanitizer 2021-01-06 00:59:37 +00:00
James Lyne
a2942b6400 Improve caching of player marker name 2021-01-06 00:44:11 +00:00
James Lyne
76c5892c66 Disable player marker animations at high player counts 2021-01-05 23:54:50 +00:00
James Lyne
3573694df0 Avoid unnecessary dom updates for player markers 2021-01-05 23:48:56 +00:00
James Lyne
ac2dd1f399 Implement chat balloons 2021-01-05 22:30:55 +00:00
James Lyne
022a5914c2 Fix multiple chat messages in one update appearing out of order 2021-01-05 22:03:38 +00:00
James Lyne
652a63e278 Show player markers in the center of the current block 2021-01-05 21:06:10 +00:00
James Lyne
7526c6bdd1 Small chat fixes 2020-12-31 23:30:58 +00:00
James Lyne
51a273f8de Fix some timing issues in DynmapIcon 2020-12-31 22:38:58 +00:00
James Lyne
7dfaf76501 Chat skeleton 2020-12-31 22:29:43 +00:00
James Lyne
30d0219535 Add player image to FollowTarget 2020-12-31 13:55:05 +00:00
James Lyne
1f3ba13194 Move clock update handling to the control 2020-12-31 13:53:47 +00:00
James Lyne
cd22237e33 Chat 2020-12-31 13:22:50 +00:00
James Lyne
53f5960e52 Move UI visibility handling to vuex 2020-12-31 13:02:49 +00:00
James Lyne
b64250404a Allow fetching player head using player name 2020-12-31 13:00:32 +00:00
James Lyne
a5ff836ba4 Only create pane for layer group if it doesn't exist 2020-12-23 18:02:37 +00:00
James Lyne
05bf3e8b48 Prevent removed markers reapparing after toggling layer visibility 2020-12-23 18:02:10 +00:00
James Lyne
3e095c0ae9 Better handle hidenames: true 2020-12-23 03:23:58 +00:00
James Lyne
42cdb8fba7 Implement skin images in player list 2020-12-23 03:07:52 +00:00
James Lyne
ce7827659a Convert PlayerListItem to component api 2020-12-23 03:07:19 +00:00
James Lyne
55bec9806f Tweak link button 2020-12-22 20:34:34 +00:00
James Lyne
c739a062a3 Improve handling of tile URLs 2020-12-22 20:34:31 +00:00
James Lyne
367deec7d1 Fix zoom control hover border color 2020-12-22 13:40:15 +00:00
James Lyne
165afd762c Use player account for skin URL. Fixes #2 2020-12-22 13:15:59 +00:00
James Lyne
4f00a2a325 Fix a similar typo in default world handling 2020-12-22 01:50:45 +00:00
James Lyne
28b01087f4 Fix typo in default map handling. Fixes #1 2020-12-22 01:39:19 +00:00
James Lyne
27af44b769 Make samsung internet happier 2020-12-21 22:01:43 +00:00
James Lyne
0a71b3dac8 Remove legacy url if one was parsed 2020-12-21 18:46:06 +00:00
James Lyne
614f0b9774 Legacy url support, allow world/world+map only new urls 2020-12-21 18:42:24 +00:00
James Lyne
8e18a7393f Fix projection switch timing causing panning issues 2020-12-21 18:38:58 +00:00
James Lyne
842854967d Fix zoom level 0 in url being ignored 2020-12-21 18:38:35 +00:00
James Lyne
069e4dc641 Pan to correct location when switching projections 2020-12-21 12:45:03 +00:00
James Lyne
816f96777e Current map active state 2020-12-20 19:37:25 +00:00
James Lyne
0ed11db15c Show follow status alongside player list on small screens 2020-12-20 18:52:44 +00:00
James Lyne
d34383f88c Sidebar responsive fixes 2020-12-20 16:21:09 +00:00
James Lyne
7fd972b80f Fix weather icon flickering 2020-12-20 16:01:20 +00:00
James Lyne
84849e6ad1 Remove some old styles 2020-12-20 15:32:05 +00:00
James Lyne
5b4a81617c Only allow one sidebar menu open at a time on small screens 2020-12-20 15:29:40 +00:00
James Lyne
ee391773a2 Hopefully improve sidebar shrink ratios 2020-12-20 15:13:09 +00:00
James Lyne
254c890cd0 Improve disabled button styles 2020-12-20 14:54:30 +00:00
James Lyne
8de6a218f5 Responsive improvements 2020-12-20 14:45:04 +00:00
James Lyne
d4f7f4a684 Fix hardcoded background 2020-12-19 12:40:09 +00:00
James Lyne
a4d4491d5f Use the same pane for all vector shapes, to allow clicks 2020-12-19 12:16:07 +00:00
James Lyne
3af8159bdc Overscroll fix 2020-12-19 01:12:40 +00:00
James Lyne
151ccc6245 Handle configured logo controls 2020-12-19 01:12:31 +00:00
James Lyne
11fbc069be Handle marker set updates 2020-12-19 01:09:31 +00:00
James Lyne
7b1afa1c20 Handle showLabels config setting 2020-12-18 23:01:32 +00:00
James Lyne
0eea500098 Merker set changes
- Use separate panes for each marker set
- Set pane z-index based on marker set priority
- Optimize zoom visibility checks
2020-12-18 22:49:28 +00:00
James Lyne
f7d1ef4cfc Update SVGs 2020-12-18 20:29:50 +00:00
James Lyne
d6693b4c0d Respect min/max zoom settings for marker sets 2020-12-18 20:25:34 +00:00
James Lyne
fd26eee713 Fix newly created markers/shapes not being added to the map 2020-12-18 18:02:01 +00:00
James Lyne
cad535365b Handle marker icon/label updates 2020-12-18 18:01:37 +00:00
James Lyne
da2c89730e Cleanup console logs 2020-12-18 16:12:14 +00:00
James Lyne
b92120e801 Handle hidden/offworld players
- Respect server config for greying out players in other worlds
- Always grey out players hidden due to other restrictions
- Allow following for hidden players, and show their hidden status on the follow popup
2020-12-18 16:04:06 +00:00
James Lyne
217028e044 Delay follow panning by a frame to account for projection changes 2020-12-18 16:02:12 +00:00
James Lyne
38476266b0 Fix panning to players across worlds 2020-12-18 14:53:06 +00:00
James Lyne
774d83e896 Add repo link in console 2020-12-18 14:35:06 +00:00
James Lyne
07d81e86ea Mutation documentation 2020-12-18 14:32:58 +00:00
James Lyne
618b705732 Remove useless returns from pop mutations 2020-12-18 14:32:37 +00:00
James Lyne
7fe660d491 Fix build 2020-12-17 15:25:14 +00:00
James Lyne
b210f63638 Add version console log 2020-12-17 15:25:05 +00:00
James Lyne
d15b318e9d Remove fake players 2020-12-17 14:52:05 +00:00
James Lyne
d1fff4e120 Start chat implementation 2020-12-17 14:52:05 +00:00
James Lyne
aabbe1c70d Reduce debug logging 2020-12-17 14:52:05 +00:00
James Lyne
3acd40efd2 Pan to players on click 2020-12-17 00:13:28 +00:00
James Lyne
a5d4b0c0d5 Remove unused corners 2020-12-16 22:41:01 +00:00
James Lyne
0d3b0b5db6 Server config error handling 2020-12-16 22:40:44 +00:00
James Lyne
10cfd5b56f Cleanup 2020-12-16 19:18:10 +00:00
James Lyne
6522e6c2ff Remove panel box shadow 2020-12-16 19:17:59 +00:00
James Lyne
fe07e6283c Handle player hiding correctly 2020-12-16 18:53:25 +00:00
James Lyne
31b05613fb Add license 2020-12-16 16:54:41 +00:00
James Lyne
43a15e575f Fix marker updates when projection changes 2020-12-16 11:59:09 +00:00
James Lyne
2000f8f5e9 Add missing checkbox image 2020-12-15 22:14:45 +00:00
James Lyne
5750f66851 Improve marker hovering, tabbing and accessibility 2020-12-15 22:14:32 +00:00
James Lyne
9fed29d5fa Layer control styling 2020-12-15 22:14:04 +00:00
James Lyne
1147b46c4b More accessible font sizes 2020-12-15 22:12:57 +00:00
James Lyne
e23842574d Respect config map list heading 2020-12-15 22:11:29 +00:00
James Lyne
37c1766e6f Add tile loading indicator 2020-12-15 01:52:49 +00:00
James Lyne
4b389d26b1 Don't try and update digital clock, if it is disabled 2020-12-14 15:57:05 +00:00
James Lyne
4124b6b8e8 On redraw an area when it's style or points change 2020-12-14 15:53:58 +00:00
James Lyne
ba5f8d70be Drop updates with a timestamp before the last update check. Reduce update logging. 2020-12-14 15:53:03 +00:00
James Lyne
1128a9b0ba Don't set a zindex on markers 2020-12-14 15:48:58 +00:00
James Lyne
6ede9adf2f Only show map list button if there are multiple maps defined 2020-12-14 15:48:15 +00:00
James Lyne
76fe40d92a Move player markers to their own pane 2020-12-14 15:43:01 +00:00
James Lyne
4c91b3225e Fix player names in FollowTarget 2020-12-14 00:51:51 +00:00
James Lyne
4393890661 Respect marker set hidden by default config 2020-12-14 00:35:56 +00:00
James Lyne
9473a93633 Update maps SVG 2020-12-14 00:28:23 +00:00
James Lyne
ba4c7604d0 Fix player marker html usage 2020-12-14 00:28:09 +00:00
James Lyne
6249eb904b Move marker set markers into single component. Start marker update handling. 2020-12-14 00:27:49 +00:00
James Lyne
52e8e5c6cf Respect config location display options 2020-12-14 00:26:29 +00:00
James Lyne
7708175369 Update clock SVGs 2020-12-13 23:58:01 +00:00
James Lyne
a243307c11 Add missing clock SVGs 2020-12-13 23:27:29 +00:00
James Lyne
e431a6096d Optimise SVGs 2020-12-13 23:27:08 +00:00
James Lyne
3fab5fe828 Remove more unused images 2020-12-13 23:26:43 +00:00
James Lyne
98913d94b9 Clock improvements
- Use SVGs for sun/moon/weather
- Respect configuration for showing time of day
- Improve styling for digital clock on its own
- Remove old clock images
2020-12-13 23:26:21 +00:00
James Lyne
f37d3531a1 Allpw HTML in player names, sanitise it to be sure 2020-12-13 23:22:59 +00:00
James Lyne
fd5e9f8543 Increase player list padding 2020-12-13 13:31:38 +00:00
James Lyne
99a28401b9 Fix player icons 2020-12-13 13:23:32 +00:00
James Lyne
3e2f507eb2 New map list icons 2020-12-13 13:23:22 +00:00
James Lyne
9e28e695ee Implement link copying and url handling 2020-12-13 02:50:17 +00:00
James Lyne
a0326b00d1 Replace axios with native fetch 2020-12-12 22:53:09 +00:00
James Lyne
ac9e52ac96 Remove unused things 2020-12-12 22:05:09 +00:00
James Lyne
b9b58399f6 Targeted leaflet imports 2020-12-12 22:04:56 +00:00
James Lyne
37d7758d70 Layers button SVG icon 2020-12-12 21:38:09 +00:00
James Lyne
422e47bf70 Link button SVG icon 2020-12-12 21:37:40 +00:00
James Lyne
9a0f7eebc6 Sidebar SVG icons 2020-12-12 21:36:41 +00:00
James Lyne
7070353b32 SVG icon prerequisites 2020-12-12 21:35:55 +00:00
James Lyne
d28ff9f569 Cleanup styles 2020-12-12 19:11:51 +00:00
James Lyne
b43a36bc2e First attempt at clock styling 2020-12-12 19:11:33 +00:00
James Lyne
9caec78200 First attempt at clock styling 2020-12-12 19:11:29 +00:00
James Lyne
a04df4cb09 New layers icon 2020-12-12 19:08:25 +00:00
James Lyne
aca3b05eb7 Preload font and enable swapping 2020-12-12 19:07:00 +00:00
James Lyne
90dc6070c7 Fix sidebar stealing clicks 2020-12-12 19:06:25 +00:00
James Lyne
f45dcd4ae8 Refactor App component, apply configured page title 2020-12-12 19:04:51 +00:00
James Lyne
b5454b1e97 Remove unused Circle component 2020-12-12 19:01:50 +00:00
James Lyne
599cad4779 Remove unused images 2020-12-12 19:01:19 +00:00
James Lyne
e4961c7893 Use config players heading 2020-12-11 23:01:42 +00:00
James Lyne
ca82f56185 Start layer control implementation 2020-12-11 21:38:50 +00:00
James Lyne
52bb6f5778 Implement update handling for map tiles 2020-12-11 18:51:23 +00:00
James Lyne
b0e53b5fc9 Refactor MapLayer to use component api 2020-12-11 15:44:22 +00:00
James Lyne
b70eae48cb Fix background error for night/day maps 2020-12-11 15:29:20 +00:00
James Lyne
e77a777a66 Implement update handling for areas/lines/circles 2020-12-11 15:28:51 +00:00
James Lyne
a809b68bb2 Implement display of lines and circles 2020-12-10 02:23:22 +00:00
James Lyne
34b0e5f259 Slightly increase max concurrent tile loads 2020-12-10 02:22:59 +00:00
James Lyne
04ca1108be Implement day/night background colors 2020-12-10 02:22:29 +00:00
James Lyne
404121188b Marker improvements
- Refactor html and classnames
- Fix/refactor styles
- Re-implement player head images
2020-12-10 02:21:42 +00:00
James Lyne
5d0f26917d More progress 2020-12-01 23:20:48 +00:00
James Lyne
993b0fd971 Cleanup api, add player marker settings to vuex 2020-11-24 01:56:03 +00:00
James Lyne
a33b50cb03 Convert some leaflet things to typescript 2020-11-24 01:52:31 +00:00
James Lyne
91c78ecd68 Split store into smaller files 2020-11-23 16:16:26 +00:00
James Lyne
151904c343 The map kinda works 2020-11-23 12:13:28 +00:00
James Lyne
63a799486a Typescript 2020-11-20 21:47:56 +00:00
James Lyne
307a168b4d Initial commit 2020-11-20 21:44:31 +00:00
James Lyne
dfa97b698d init 2020-11-20 18:43:30 +00:00