Commit Graph

41 Commits

Author SHA1 Message Date
James Lyne
9abd96ccb1 Overhaul marker update handling
- Renamed pendingSetUpdates to pendingMarkerUpdates
- pendingMarkerUpdates is now a simple array of LiveAtlasMarkerUpdates
- Added separate ADD_MARKER_UPDATES mutation for marker updates
- Set updates via ADD_MARKER_SET_UPDATES are applied immediately and not stored in state
- Removed all marker pop actions and mutations except POP_MARKER_UPDATES, which now returns all marker types
- Added centralised markup update handler in markers.ts, replacing much of the logic in the individual marker type components. Allows additional handlers to be registered for specific marker sets and types
2022-01-15 00:07:25 +00:00
James Lyne
7cd21a19e2 Rename marker types for clarity
- Add "Marker" suffix
- Rename regular marker to "PointMarker"
2022-01-13 14:14:11 +00:00
James Lyne
5cf353cd8a Update license headers 2021-07-26 01:05:08 +01:00
James Lyne
9e2caa6f63 More type renaming 2021-07-26 01:05:08 +01:00
James Lyne
c202def955 Move login from configuration to components 2021-07-26 01:04:18 +01:00
James Lyne
bc38af3254 Use generic names for more types 2021-07-26 01:04:18 +01:00
James Lyne
e809f28455 (Re)move some config store properties 2021-07-26 01:04:18 +01:00
James Lyne
1d27e05f7c Rename DynmapPlayer to LiveAtlasPlayer, rename some fields, add uuid field 2021-07-26 01:04:18 +01:00
James Lyne
44b3a7e276 Remove updateInterval from store 2021-07-26 01:04:18 +01:00
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
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
9bea4519c6 Rename some types 2021-07-19 16:40:30 +01:00
James Lyne
c73e2682eb Fix some inspections 2021-05-27 14:52:26 +01:00
James Lyne
a616a302e8 Move splash methods to Util 2021-05-27 00:50:34 +01:00
James Lyne
eaecba10c6 Allow sidebar sections to be collapsed 2021-05-25 19:26:14 +01:00
James Lyne
131e1dd685 Make LiveAtlas messages translatable 2021-05-20 16:36:02 +01:00
James Lyne
acd3e8a443 Cleanup map properties 2021-05-20 15:12:23 +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
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
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
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
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
614f0b9774 Legacy url support, allow world/world+map only new urls 2020-12-21 18:42:24 +00:00
James Lyne
11fbc069be Handle marker set updates 2020-12-19 01:09:31 +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
d1fff4e120 Start chat implementation 2020-12-17 14:52:05 +00:00
James Lyne
0d3b0b5db6 Server config error handling 2020-12-16 22:40:44 +00:00
James Lyne
31b05613fb Add license 2020-12-16 16:54:41 +00:00
James Lyne
9e28e695ee Implement link copying and url handling 2020-12-13 02:50:17 +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
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
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
151904c343 The map kinda works 2020-11-23 12:13:28 +00:00