Commit Graph

70 Commits

Author SHA1 Message Date
James Lyne
ef26d78c19 Refactor map handling
- Map definitions now have their own class
- A map's projection is now a private property of the instance. Coordinates are converted via map instance methods.
- Moved map icon handling to instance getter
- Removed currentProjection and related mutations from store
- Changed currentProjection watchers to currentMap
2021-07-26 01:04:13 +01:00
James Lyne
028cb4e1af Player list search 2021-07-21 16:19:18 +01:00
James Lyne
649f571a20 Configuration improvements
- Default playersAboveMarkers to true to match previous behaviour
- Move all window.liveAtlasConfig handling to main.ts and a single mutation
- Rename server configuration mutations to differentiate server and global configurations
2021-07-20 21:18:41 +01:00
James Lyne
c67db75586 Fix typo 2021-07-20 20:37:42 +01:00
James Lyne
fbe252472f Add setting for displaying players above/below other markers (Fixes #14) 2021-07-20 20:27:07 +01:00
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
14a49126f2 Cleanup 2021-06-23 18:19:09 +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
5b1df5ccf8 Customisable copy to clipboard messages 2021-05-29 00:38:29 +01:00
James Lyne
ace8555a09 Customisable Layers button title 2021-05-28 21:28:21 +01:00
James Lyne
62ab0cf26e Save collapsed sections to localStorage 2021-05-27 01:42:53 +01:00
James Lyne
9813054264 Customisable map aria label 2021-05-26 21:13:54 +01:00
James Lyne
b096240651 Use mutation for collapsed state updates 2021-05-26 17:43:15 +01:00
James Lyne
eaecba10c6 Allow sidebar sections to be collapsed 2021-05-25 19:26:14 +01:00
James Lyne
6531040f9d Allow customisation of context menu text 2021-05-24 18:23:35 +01:00
James Lyne
6567cfd850 Move URL generation to Util 2021-05-24 16:40:03 +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
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
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
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
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
a6ae811660 Use async/await for actions 2021-05-18 18:22:34 +01:00
James Lyne
1173dcbbce Move dynmap urls into dynmap object for server configuration 2021-05-18 16:48:56 +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
0facb446f5 Initial work for multiple servers 2021-05-17 03:39:25 +01:00
James Lyne
ce241c93e0 Switch from webpack to vite 2021-05-15 20:25:03 +01:00
James Lyne
5eea0373ab Fix player list not showing when expandUI is true 2021-01-27 00:47:59 +00:00
James Lyne
df487ec364 export Util functions separately 2021-01-26 20:37:29 +00:00
James Lyne
f7b3c4d551 Lazily render PlayerList 2021-01-26 18:20:47 +00:00
James Lyne
8423a05b84 Get logged in state from config 2021-01-24 22:35:11 +00:00
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
84c4f441c1 Move chat sending related settings into their own component 2021-01-07 17:24:21 +00:00
James Lyne
1615c3d902 Move message history limit handling to ChatBox 2021-01-06 16:17:20 +00:00
James Lyne
ae377b8a26 Rename chat component to ChatBox 2021-01-06 16:02:48 +00:00
James Lyne
ac2dd1f399 Implement chat balloons 2021-01-05 22:30:55 +00:00
James Lyne
7dfaf76501 Chat skeleton 2020-12-31 22:29:43 +00:00
James Lyne
53f5960e52 Move UI visibility handling to vuex 2020-12-31 13:02:49 +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
0a71b3dac8 Remove legacy url if one was parsed 2020-12-21 18:46:06 +00:00
James Lyne
11fbc069be Handle marker set updates 2020-12-19 01:09:31 +00:00