James Lyne
4535af754c
Clear player head cache/queue on server change
2022-01-17 20:15:22 +00:00
James Lyne
aaf4ee630d
Precalculate bounds for path markers
2022-01-16 21:18:48 +00:00
James Lyne
8382142cb2
Cleanup url getter
2022-01-14 20:11:43 +00:00
James Lyne
b3a685e003
Add location property for all marker types
...
Areas/lines will calculate a center point to use for their location
2022-01-14 20:11:43 +00:00
James Lyne
d1edad952e
Fix build
2022-01-14 14:38:58 +00:00
James Lyne
715aa8bd55
Add missing export
2022-01-14 14:38:43 +00:00
James Lyne
b39db090f5
Message handling improvements
...
-Define message keys in a single place
-Add fallback for missing messages
-Slight reduction in filesize
2022-01-12 15:21:01 +00:00
James Lyne
eaad0b4de5
Revert "Work around dynmap bugs in markup handling"
...
This reverts commit 297a593f
2022-01-11 17:52:37 +00:00
James Lyne
6717cab096
FollowTarget improvements
...
- Show current world/location when follow target is visible
- Add ellipsis overflow
- Add copy location on click
2022-01-10 22:16:05 +00:00
James Lyne
297a593fa7
Work around dynmap bugs in markup handling
2022-01-10 00:08:06 +00:00
James Lyne
1237b9cc5f
Use @types/dynmap where possible ( Closes #224 )
2021-11-12 00:23:08 +00:00
James Lyne
31c1148c38
Decode HTML entities for markup: false dynmap marker labels ( Fixes : #172 )
2021-09-30 16:43:35 +01:00
James Lyne
66355dfe38
Decouple player image pixel size from PlayerMarker.
...
- Use single template image and set size after cloning
- Use util method to retrieve pixel size when needed
- Use LiveAtlasPlayerImageSize in getMinecraftHead
2021-09-29 14:33:52 +01:00
James Lyne
48b94f6bfb
Fix parseUrl issues
2021-09-12 20:37:59 +01:00
James Lyne
f90b32c41a
Cleanup App.vue and parseUrl
...
- Fix double event listener add in unmount hook
- Remove onUrlChange as it does the same thing as handleUrl
- Merge duplicate mount/unmount hooks
- Pass a URL to parseUrl instead of directly using window.location
2021-09-10 15:29:27 +01:00
James Lyne
b2f58f681c
Fully support Pl3xmap URLs
2021-09-07 23:08:44 +01:00
James Lyne
9517de0760
Path point handling changes
...
- Store path points as {x,y,z} objects instead of separate arrays
- Project point objects right before layer creation
- A bit slower overall but matches the format of Pl3xmap path points.
2021-07-28 04:04:46 +01:00
James Lyne
5cf353cd8a
Update license headers
2021-07-26 01:05:08 +01:00
James Lyne
e61d0def04
Replace serverConfig getter with MapProvider url methods
2021-07-26 01:05:07 +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
33b5b305e2
Add MapProvider, move dynmap api handling to DynmapMapProvider
2021-07-26 01:04:17 +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
9bea4519c6
Rename some types
2021-07-19 16:40:30 +01:00
James Lyne
789505e2d9
Reimplement keyboard shortcuts more generically
2021-05-29 00:08:43 +01:00
James Lyne
034a7a2fdb
Split up Util.ts
2021-05-27 01:41:58 +01:00
James Lyne
a616a302e8
Move splash methods to Util
2021-05-27 00:50:34 +01:00
James Lyne
6567cfd850
Move URL generation to Util
2021-05-24 16:40:03 +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
7adfdec4c7
Fix head urls
2021-05-18 18:32:42 +01:00
James Lyne
0facb446f5
Initial work for multiple servers
2021-05-17 03:39:25 +01:00
James Lyne
21220c986a
Throttle loading of player images to improve performance
2021-01-26 21:07:56 +00:00
James Lyne
df487ec364
export Util functions separately
2021-01-26 20:37:29 +00:00
James Lyne
cb63f489e4
Cache player heads by both account and size
2021-01-26 17:03:43 +00:00
James Lyne
b64250404a
Allow fetching player head using player name
2020-12-31 13:00:32 +00:00
James Lyne
42cdb8fba7
Implement skin images in player list
2020-12-23 03:07:52 +00:00
James Lyne
165afd762c
Use player account for skin URL. Fixes #2
2020-12-22 13:15:59 +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
da2c89730e
Cleanup console logs
2020-12-18 16:12:14 +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
e77a777a66
Implement update handling for areas/lines/circles
2020-12-11 15:28:51 +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