Commit Graph

318 Commits

Author SHA1 Message Date
James Lyne
364b765dd6 Use .value for computed prop 2021-05-26 18:49:34 +01:00
James Lyne
a05cfde9d7 Fix player keyboard interaction 2021-05-26 18:49:11 +01:00
James Lyne
c9fbe61d2b Browsers already do what these listeners were doing 2021-05-26 18:44:32 +01:00
James Lyne
dca535b826 Add arrow keys navigation for sidebar sections 2021-05-26 17:48:15 +01:00
James Lyne
b096240651 Use mutation for collapsed state updates 2021-05-26 17:43:15 +01:00
James Lyne
1fb28739cf Fix PlayerListItem keyboard interaction 2021-05-26 17:42:05 +01:00
James Lyne
1d506c81ac Use role=option/aria-pressed for server list 2021-05-26 15:32:02 +01:00
James Lyne
134ede6870 Fix build 2021-05-26 14:54:59 +01:00
James Lyne
cce1f79a4d More aria attributes 2021-05-26 03:07:24 +01:00
James Lyne
bbf057c84b ServerList keyboard controls 2021-05-26 03:04:37 +01:00
James Lyne
71edab6b74 Add icon to Collapsible sections 2021-05-26 02:10:34 +01:00
James Lyne
e65b70acc4 Use sans-serif for zoom buttons 2021-05-25 23:48:30 +01:00
James Lyne
b22e492099 Fix map focus covering buttons 2021-05-25 23:46:26 +01:00
James Lyne
88b27490cb Fix tabbing over section headings 2021-05-25 23:39:04 +01:00
James Lyne
e3233e3dfa Pan on marker click 2021-05-25 23:31:03 +01:00
James Lyne
36a2d483ff Various accessibility improvements 2021-05-25 23:28:43 +01:00
James Lyne
7401512161 Fix some prop warnings 2021-05-25 23:27:53 +01:00
James Lyne
7250ffed05 Focused style improvements 2021-05-25 23:27:25 +01:00
James Lyne
0690b3d500 Collapsible section accessibility improvements 2021-05-25 22:40:10 +01:00
James Lyne
68bd830ab9 Scrollbar styles 2021-05-25 21:23:12 +01:00
James Lyne
0841640e76 Various styling fixes 2021-05-25 20:38:51 +01:00
James Lyne
af8292f872 Make entire sidebar scrollable instead of individual sections 2021-05-25 19:26:51 +01:00
James Lyne
eaecba10c6 Allow sidebar sections to be collapsed 2021-05-25 19:26:14 +01:00
James Lyne
22102eae65 Handle focusing better when opening/closing context menu 2021-05-25 14:22:04 +01:00
James Lyne
609b265951 Add copied to clipboard notifications 2021-05-25 14:21:37 +01:00
James Lyne
d6cf0cbe2a Fix context menu on mobile 2021-05-25 13:13:39 +01:00
James Lyne
327f2da4bc Add visual indicator for the map being focused 2021-05-25 13:13:02 +01:00
James Lyne
23a0de7692 Use :focus-visible instead of :focus, with polyfill 2021-05-25 00:22:49 +01:00
James Lyne
2ffe57c38a Add shadows to UI elements 2021-05-24 21:57:53 +01:00
James Lyne
47d0b1e675 Close context menu on map interactions 2021-05-24 21:07:31 +01:00
James Lyne
19b6c8e98d Workaround for occasional context menu issues 2021-05-24 20:59:51 +01:00
James Lyne
1b91c04d1e Move context menu outside of map element 2021-05-24 20:51:19 +01:00
James Lyne
b184ed775b Fix splash screen on edge mobile 2021-05-24 20:17:27 +01:00
James Lyne
780cf3860d Fix build 2021-05-24 19:26:45 +01:00
James Lyne
866f73e9d3 Cleanup 2021-05-24 19:20:02 +01:00
James Lyne
8e4c3252bc Prevent sidebar buttons interfering with context menu 2021-05-24 19:19:35 +01:00
James Lyne
008c2da4c6 Let browsers handle focusing, they seem to do fine 2021-05-24 19:18:48 +01:00
James Lyne
6dfaaabf70 Cleanup 2021-05-24 18:24:15 +01:00
James Lyne
025ecf6148 Context menu style improvements + mobile 2021-05-24 18:24:08 +01:00
James Lyne
6531040f9d Allow customisation of context menu text 2021-05-24 18:23:35 +01:00
James Lyne
4d34927c39 Fix player icon disappearing on focus 2021-05-24 17:34:15 +01:00
James Lyne
b64dc19c39 Add space between menu items 2021-05-24 17:34:03 +01:00
James Lyne
d25522b83d Tweak sidebar scrollbar positioning 2021-05-24 17:16:40 +01:00
James Lyne
647f3b4106 Make focused buttons more obvious 2021-05-24 17:16:18 +01:00
James Lyne
302077c9c1 Use .menu styling for other menu-y things 2021-05-24 17:16:07 +01:00
James Lyne
e4f0864805 Forgot to add MapContextMenu file 2021-05-24 16:43:42 +01:00
James Lyne
b6f41a8241 Use vue3-clipboard in LinkControl 2021-05-24 16:42:58 +01:00
James Lyne
a8ec660ffd Map context menu 2021-05-24 16:42:32 +01:00
James Lyne
6567cfd850 Move URL generation to Util 2021-05-24 16:40:03 +01:00
James Lyne
5550f7e220 Fix button font 2021-05-24 16:39:37 +01:00
James Lyne
754f5f248a Fix occasional splash screen bugs on firefox 2021-05-20 22:36:01 +01:00
James Lyne
e6f0a0e80d Break long names only when necessary 2021-05-20 22:09:05 +01:00
James Lyne
e444390698 Break long world names to avoid horizontal scrollbar 2021-05-20 21:46:45 +01:00
James Lyne
360e1e8f94 Improve world icon logic (Fixes #25) 2021-05-20 21:44:22 +01:00
James Lyne
fcf124c9ef Make LiveAtlas messages translatable 2021-05-20 21:33:53 +01:00
James Lyne
131e1dd685 Make LiveAtlas messages translatable 2021-05-20 16:36:02 +01:00
James Lyne
17540b6279 Fix build 2021-05-20 15:30:55 +01:00
James Lyne
9473754313 Fix day/night state not updating when map isn't selected 2021-05-20 15:17:07 +01:00
James Lyne
acd3e8a443 Cleanup map properties 2021-05-20 15:12:23 +01:00
James Lyne
f2bfbf732a Merge branch 'pl3xmap' 2021-05-20 13:09:09 +01:00
James Lyne
ee96be7665 More thorough fix 2021-05-20 01:51:46 +01:00
James Lyne
f419915808 Fix various issues switching between servers containing worlds of the same name 2021-05-20 01:45:40 +01:00
James Lyne
6095647b82 Refactor redundant HDMapType into DynmapTileLayer.ts 2021-05-20 00:35:56 +01:00
James Lyne
2ab569c18f Refactor state.currentServer to contain the server config instead of just the ID. Abstract API away from actions. 2021-05-20 00:06:57 +01:00
James Lyne
eb6674e106 Move config validation to Util 2021-05-20 00:01:19 +01:00
James Lyne
6812f1d78b Don't reapply UI visibility settings on subsequent config loads 2021-05-19 15:44:26 +01:00
James Lyne
ff7250f081 Fix hidden layers duplicating occasionally 2021-05-19 03:26:57 +01:00
James Lyne
2544a5deac Handle aborts during json parsing 2021-05-19 01:50:35 +01:00
James Lyne
0bdd4b3d44 Fix aborted configuration requests being retried 2021-05-19 00:37:12 +01:00
James Lyne
c5f8644587 Fix hidebydefault preventing player marker player being added to the layer control 2021-05-18 23:07:25 +01:00
James Lyne
6eec608eb1 Improve handling of component config updates 2021-05-18 22:01:07 +01:00
James Lyne
64fe37e35c Respect dynmap showlayercontrol setting 2021-05-18 21:05:11 +01:00
James Lyne
c534d0d33e Abort existing requests of the same type 2021-05-18 20:17:17 +01:00
James Lyne
39d4dcba46 Remove url server config option 2021-05-18 20:16:44 +01:00
James Lyne
8165dc1255 Remove extra character 2021-05-18 18:41:13 +01:00
James Lyne
2c04dca4c7 Don't show original error for generic fetch errors 2021-05-18 18:37:26 +01:00
James Lyne
2e951f5e58 Remove ConfigurationError prefix 2021-05-18 18:32:52 +01:00
James Lyne
7adfdec4c7 Fix head urls 2021-05-18 18:32:42 +01:00
James Lyne
87024079cc More async/await. Improve error display 2021-05-18 18:27:44 +01:00
James Lyne
2f8c4a9ab3 Make configuration validation sync 2021-05-18 18:27:11 +01:00
James Lyne
509089e5b7 More async/await 2021-05-18 18:26:20 +01:00
James Lyne
a3aa04c2dd Use async/await in more places 2021-05-18 18:23:10 +01:00
James Lyne
a6ae811660 Use async/await for actions 2021-05-18 18:22:34 +01:00
James Lyne
8f0b1a5476 Refactor splash screen error handling
- Improve styling
- Add all error text dynamically to avoid showing on search results
- Reduce number of elements
- Show configuration errors
2021-05-18 17:20:34 +01:00
James Lyne
5716cb1e48 Inline more css to prevent splash screen jumping 2021-05-18 17:14:16 +01:00
James Lyne
58009adfef Update url when its contains an unknown server 2021-05-18 16:49:22 +01:00
James Lyne
1173dcbbce Move dynmap urls into dynmap object for server configuration 2021-05-18 16:48:56 +01:00
James Lyne
167aebf6f5 Update app container element 2021-05-18 15:45:27 +01:00
James Lyne
68094d2ee7 Fix tsc error 2021-05-18 14:27:55 +01:00
James Lyne
c1b5322124 Remove colour codes from title 2021-05-18 14:12:29 +01:00
James Lyne
7ccc298ae3 Cleanup SVGs 2021-05-18 00:58:52 +01:00
James Lyne
a619c22c50 Small cleanup 2021-05-18 00:22:49 +01:00
James Lyne
571534ca6e Reload config on hash change 2021-05-18 00:19:51 +01:00
James Lyne
f3913ef96b Improve server switch process 2021-05-17 20:28:33 +01:00
James Lyne
97fed3fed2 Fix server button active state 2021-05-17 15:41:08 +01:00
James Lyne
78a818491e Move server list to its own component 2021-05-17 14:17:52 +01:00
James Lyne
0facb446f5 Initial work for multiple servers 2021-05-17 03:39:25 +01:00
James Lyne
c2b4218023 Fix backwards clear weather icons 2021-05-15 23:41:21 +01:00
James Lyne
36d2be4100 Move to native css variables 2021-05-15 23:24:29 +01:00
James Lyne
b52938aa42 Improve initial load error handling 2021-05-15 21:09:01 +01:00