Commit Graph

244 Commits

Author SHA1 Message Date
James Lyne
92a854701a Update map, pan and zoom if the url is edited manually 2021-07-20 03:25:42 +01:00
James Lyne
9bea4519c6 Rename some types 2021-07-19 16:40:30 +01:00
James Lyne
0081dcfa3a Override player name colours when hovering etc 2021-06-23 22:59:48 +01:00
James Lyne
d39a17d627 Increase sidebar width a bit 2021-06-23 22:57:47 +01:00
James Lyne
8fd92267b8 Fix long player name display in sidebar 2021-06-23 22:57:34 +01:00
James Lyne
f9e55ff673 Hide player list when playermarkers component is disabled (Fixes #21) 2021-06-23 18:18:42 +01:00
James Lyne
006a536a89 Sort player list by dynmap sort value, then alphabetically (Fixes #37) 2021-06-23 17:40:56 +01:00
James Lyne
e130aaead1 Fix sidebar button positioning on wide short mobile resolutions 2021-06-22 18:55:39 +01:00
James Lyne
72ea95d52b Hide context menu map list when there's no other maps to switch to 2021-06-13 01:16:32 +01:00
James Lyne
ae9358bdbe Fix build 2021-06-13 01:09:33 +01:00
James Lyne
bd8fe7ba5e Update PlayerListItem.vue 2021-06-13 01:06:58 +01:00
James Lyne
a623179039 Respect dynmap append_to_world setting (Fixes #28) 2021-06-13 00:52:56 +01:00
James Lyne
c65da2ad03 Use surface icon for maps named "surface" in nether/end worlds 2021-06-13 00:40:03 +01:00
James Lyne
6b12ca0b11 Improve mobile context menu 2021-05-29 00:52:08 +01:00
James Lyne
5b1df5ccf8 Customisable copy to clipboard messages 2021-05-29 00:38:29 +01:00
James Lyne
1f44f7e752 More keyboard handlers 2021-05-29 00:22:31 +01:00
James Lyne
34bacc044f Fix skeletons not collapsing 2021-05-29 00:09:00 +01:00
James Lyne
789505e2d9 Reimplement keyboard shortcuts more generically 2021-05-29 00:08:43 +01:00
James Lyne
dd1a1b3c97 Context menu keyboard event handling and general improvements 2021-05-28 22:36:16 +01:00
James Lyne
2e1426e945 More generic keyboard event handling 2021-05-28 22:36:14 +01:00
James Lyne
387c92e3cb Fix hot-reloading Map component 2021-05-28 19:50:08 +01:00
James Lyne
54742f90f9 Don't show context menu when right-clicking controls 2021-05-28 19:26:42 +01:00
James Lyne
3cf9a01184 Fix WorldListItem check state again 2021-05-28 19:13:25 +01:00
James Lyne
9e65a5859c Chatbox styling/accessibility improvements 2021-05-28 15:55:17 +01:00
James Lyne
e28cc56a9a Prevent sidebar scroll chaining 2021-05-28 15:10:11 +01:00
James Lyne
74ccafefbc Fix build 2021-05-28 15:06:28 +01:00
James Lyne
eadca7acc8 Fix collapsible section button styling 2021-05-28 14:43:07 +01:00
James Lyne
af843cb536 Label radiogroups 2021-05-28 14:41:24 +01:00
James Lyne
a91944a75f Remove region from CollapsibleSection 2021-05-28 14:35:43 +01:00
James Lyne
fd82b6c527 Move skeletons outside of RadioList 2021-05-28 14:35:03 +01:00
James Lyne
6209a89092 WorldListItem screenreader improvements 2021-05-28 14:34:38 +01:00
James Lyne
020cde7f31 Fix sidebar skeleton styling 2021-05-28 00:20:05 +01:00
James Lyne
57133c5681 Use aria attributes for active etc states 2021-05-28 00:14:51 +01:00
James Lyne
d5ed9392a0 Use radio buttons for player list 2021-05-28 00:13:46 +01:00
James Lyne
97111f3bbc Use two way binding in server list 2021-05-28 00:13:11 +01:00
James Lyne
e3f64e720c Use radio buttons for map list 2021-05-28 00:12:41 +01:00
James Lyne
e1c56c201e Use radio buttons for server list 2021-05-27 18:18:26 +01:00
James Lyne
8fb37cccec Prefix icon ids to avoid conflicts 2021-05-27 15:14:47 +01:00
James Lyne
c73e2682eb Fix some inspections 2021-05-27 14:52:26 +01:00
James Lyne
1e38e24fb3 Fix build 2021-05-27 00:52:12 +01:00
James Lyne
7f9f8e2136 Keyboard shortcuts for Players/Maps buttons 2021-05-27 00:00:41 +01:00
James Lyne
a7ba49c2c2 Focus map on Esc 2021-05-26 23:55:50 +01:00
James Lyne
76fb05f0b2 Sidebar tweaks 2021-05-26 23:31:07 +01:00
James Lyne
9813054264 Customisable map aria label 2021-05-26 21:13:54 +01:00
James Lyne
cc5b1afb3e More accessibility things 2021-05-26 20:09:00 +01:00
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
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
36a2d483ff Various accessibility improvements 2021-05-25 23:28:43 +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
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
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
d25522b83d Tweak sidebar scrollbar positioning 2021-05-24 17:16:40 +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
a8ec660ffd Map context menu 2021-05-24 16:42:32 +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
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
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
8165dc1255 Remove extra character 2021-05-18 18:41:13 +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
a619c22c50 Small cleanup 2021-05-18 00:22:49 +01:00