James Lyne
f5002ed828
Fix URL zoom being ignored on initial load ( Fixes #59 )
2021-07-29 14:14:01 +01:00
James Lyne
02c705de36
Fix build errors
2021-07-29 03:39:28 +01:00
James Lyne
90ec2080ee
Add tooltip support
2021-07-29 03:06:05 +01:00
James Lyne
d05b7a63ac
Use playerMarkers.layerName for the layer name
2021-07-29 00:34:40 +01:00
James Lyne
ee8607ed6d
Fix player layer duplicating in some situations
2021-07-29 00:34:18 +01:00
James Lyne
8151dfaab5
Make followZoom optional
2021-07-28 23:52:51 +01:00
James Lyne
b3f186a197
Move grayHiddenPlayers to playerMarkers component
2021-07-28 23:52:03 +01:00
James Lyne
7bff12b729
Move maxPlayers to separate field in store, add mutation
2021-07-28 23:50:59 +01:00
James Lyne
4feb46c641
Move player count/max into playersHeading
2021-07-28 22:27:43 +01:00
James Lyne
4350fae1d5
Fix uuid handling in player map
2021-07-28 22:17:02 +01:00
James Lyne
110c75f9a3
Allow partial updates of component settings
2021-07-28 22:16:26 +01:00
James Lyne
d04226e3ec
Refactor popup handling
...
- Merge label and popupContent properties for vector layers, as only one is ever used
- Move common vector methods to separate file and remove duplicates
- Rename isHTML properties to be clearer
2021-07-28 17:49:38 +01:00
James Lyne
2a216dd4e8
Path performance improvements
...
- Avoid intermediate objects when creating leaflet objects to reduce allocations
- Make individual path objects non-reactive
- Avoid projecting path points twice during updates
2021-07-28 04:04:47 +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
c69aeb8f5f
Make map definitions non-reactive to improve projection performance
2021-07-27 04:31:43 +01:00
James Lyne
42f8cbd74b
Show maps button if there is a single map but multiple servers
2021-07-27 02:36:24 +01:00
James Lyne
d37657d3e2
Prevent unnecessary marker repositioning on world change
2021-07-27 02:28:01 +01:00
James Lyne
0aa61517dc
Set the correct world object in map definitions
2021-07-26 01:05:08 +01: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
5fb0a3e2f4
Move night/update handling into DynmapTileLayer
2021-07-26 01:05:07 +01:00
James Lyne
355c0c71cf
Restructure LiveAtlasServerDefinition
2021-07-26 01:05:07 +01:00
James Lyne
e61d0def04
Replace serverConfig getter with MapProvider url methods
2021-07-26 01:05:07 +01:00
James Lyne
e7945b3f9a
Add fields to DynmapTileLayer
2021-07-26 01:05:07 +01:00
James Lyne
e4e7dfcd5f
Move fetchJSON to abstract MapProvider
2021-07-26 01:05:07 +01:00
James Lyne
ad9af04e9e
Rename world/map title to displayName
2021-07-26 01:05:05 +01:00
James Lyne
c202def955
Move login from configuration to components
2021-07-26 01:04:18 +01:00
James Lyne
e46a97df15
Fix scheduledZoom/scheduledPan handling on map change
2021-07-26 01:04:18 +01:00
James Lyne
0c1ca36be1
Fix build
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
cba4b33e1a
Refactor DynmapMapProvider.ts
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
33b5b305e2
Add MapProvider, move dynmap api handling to DynmapMapProvider
2021-07-26 01:04:17 +01:00
James Lyne
c99215e259
Use generic names for extended leaflet classes
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
9021c5291d
Use generic names for extended leaflet classes
2021-07-23 22:28:06 +01:00
James Lyne
c7ec76767e
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-23 20:42:18 +01:00
James Lyne
b9807b3a7b
Fix config validation
2021-07-22 23:18:26 +01:00
James Lyne
dd17bc63bd
Avoid applying the base background colour twice to buttons in leaflet-controls
2021-07-22 23:18:18 +01:00
James Lyne
01907f22a0
Fix players button title
2021-07-22 20:47:37 +01:00
James Lyne
8b064f6217
Fix misaligned sidebar buttons on landscape mobile
2021-07-22 03:10:29 +01:00
James Lyne
636bebd237
Focus style improvements
...
- Replace js :focus-visible polyfill with css
- Improve fallback :focus styles
2021-07-22 02:48:09 +01:00
James Lyne
79dfea446b
More lenient nether regex
2021-07-21 21:24:15 +01:00
James Lyne
2f107b2126
Add world dimension property
2021-07-21 17:27:24 +01:00
James Lyne
ea181f3a0b
Tweak mobile sidebar padding
2021-07-21 16:54:53 +01:00
James Lyne
f2b810f56b
Reduce layer list padding
2021-07-21 16:19:39 +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
2598f1794e
Hidden player fixes
...
- Don't apply other-world class for hidden players
- Use opacity instead of grayscale for player name to preserve colours (Fixes #40 )
2021-07-20 16:32:10 +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
ee910453d5
Make menu buttons transparent by default properly
2021-07-19 00:37:57 +01:00
James Lyne
bfe3814aa9
Make menu buttons transparent by default
2021-07-19 00:35:42 +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
14a49126f2
Cleanup
2021-06-23 18:19:09 +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
362ac3cbdc
Respect --border-radius in zoom control ( Fixes #36 )
2021-06-23 17:57:52 +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
c2a43f6414
Fix indentation
2021-06-22 18:25:19 +01:00
James Lyne
0698085d98
Improve display of long layer names ( Fixes #32 )
2021-06-22 18:24:22 +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
693de26b8c
Fix outlined 2d box area update handing ( Fixes #29 )
2021-06-12 23:37:02 +01:00
James Lyne
ce80666949
Remove max marker width
2021-06-12 22:48:42 +01:00
James Lyne
66477288d5
Revert deprecation fix as it breaks the loading control
2021-05-29 02:35:39 +01:00
James Lyne
c76d1c1e49
Mobile notification styles
2021-05-29 01:34:53 +01:00
James Lyne
326ca094c8
Various zindex fixes
2021-05-29 01:34:45 +01:00
James Lyne
701f27fee6
Fix control spacing on right side of map
2021-05-29 00:52:28 +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
0ca26beb8e
Keyboard event handling and focus styles for layers
2021-05-28 23:25:55 +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
ace8555a09
Customisable Layers button title
2021-05-28 21:28:21 +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
af3ef17ec4
Make layers toggle on click like other UI elements
2021-05-28 19:14:06 +01:00
James Lyne
3cf9a01184
Fix WorldListItem check state again
2021-05-28 19:13:25 +01:00
James Lyne
63efb8c3c3
Reduce screenreader spam when showing splash screen errors
2021-05-28 15:55:44 +01:00
James Lyne
9e65a5859c
Chatbox styling/accessibility improvements
2021-05-28 15:55:17 +01:00
James Lyne
aee164f8c0
Use global box shadow for popups
2021-05-28 15:21:05 +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
dc4bb67a5e
Radio button style fixes
2021-05-28 00:14:27 +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
72772881b6
Split button placeholder into mixins for easier use with non-button elements
2021-05-27 17:34:14 +01:00
James Lyne
42d14ca5c9
Reorganise leaflet styles
2021-05-27 17:33:43 +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
62ab0cf26e
Save collapsed sections to localStorage
2021-05-27 01:42:53 +01:00
James Lyne
034a7a2fdb
Split up Util.ts
2021-05-27 01:41:58 +01:00
James Lyne
1e38e24fb3
Fix build
2021-05-27 00:52:12 +01:00
James Lyne
a616a302e8
Move splash methods to Util
2021-05-27 00:50:34 +01:00
James Lyne
6f11542b33
Fix notification styles
2021-05-27 00:01:09 +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
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
James Lyne
ce241c93e0
Switch from webpack to vite
2021-05-15 20:25:03 +01:00
James Lyne
23b00bd19d
Respect dynmap layer priorities
2021-02-08 00:08:29 +00:00
James Lyne
58ad360f84
Fix day/night maps. Fixes #9
2021-02-01 00:16:13 +00:00
James Lyne
5eea0373ab
Fix player list not showing when expandUI is true
2021-01-27 00:47:59 +00:00
James Lyne
7d6c6e6ec7
0.7.2 for real. Only change map on follow pan if different world or new follow
2021-01-27 00:33:21 +00:00
James Lyne
d79a5a0a36
Rewrite handling of pan/zoom across map changes. Fixes various timing issues.
2021-01-27 00:11:08 +00: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
f7b3c4d551
Lazily render PlayerList
2021-01-26 18:20:47 +00:00
James Lyne
2251ca3e25
Popup restyling
...
- Add max height and make scrollable
- Move close button outside of popup to allow padding reduction and make room for possible scrollbar
2021-01-26 17:45:53 +00:00
James Lyne
cb63f489e4
Cache player heads by both account and size
2021-01-26 17:03:43 +00:00
James Lyne
a966812f1a
Close existing popups during updates
2021-01-26 14:42:37 +00:00
James Lyne
869f733fb7
Handle popups for markers. Fixes #5
2021-01-26 14:32:48 +00:00
James Lyne
64058ed66f
Retrieve value of global showlabel
config. Fixes #6
2021-01-26 13:11:48 +00:00
James Lyne
d721286ea3
Use px for media queries to work around iOS bugs
2021-01-25 02:27:35 +00:00
James Lyne
1cd6e27dbc
Fix iOS font size weirdness
2021-01-25 02:03:24 +00:00
James Lyne
bd6863fa38
Remove unused css
2021-01-24 22:51:55 +00:00
James Lyne
afd31987a4
Remove unused compass images
2021-01-24 22:46:17 +00:00
James Lyne
31b05f2296
Add login link to chat if required
2021-01-24 22:35:59 +00:00
James Lyne
8423a05b84
Get logged in state from config
2021-01-24 22:35:11 +00:00
James Lyne
d6587bf21f
Continue update requests regardless of success/failure
2021-01-24 22:16:20 +00:00
James Lyne
d3658e35a2
Player/world list skeletons
2021-01-24 22:15:19 +00:00
James Lyne
8260deba0b
Fix player health/armor display
2021-01-24 22:14:39 +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
15360b83df
Fix chat history not displaying
2021-01-07 22:39:26 +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
823e9b4c99
Hide UI and force landscape when printing
2021-01-07 13:49:00 +00:00
James Lyne
1615c3d902
Move message history limit handling to ChatBox
2021-01-06 16:17:20 +00:00
James Lyne
9c0213016b
Handle login-required errors a bit better
2021-01-06 16:03:54 +00:00
James Lyne
ae377b8a26
Rename chat component to ChatBox
2021-01-06 16:02:48 +00:00
James Lyne
90638f4297
Update chat balloon position on projection change
2021-01-06 02:00:02 +00:00
James Lyne
7a4207d946
Keep player list names on one line
2021-01-06 01:00:01 +00:00
James Lyne
4cc1f8fd1f
Remove HTML sanitizer
2021-01-06 00:59:37 +00:00
James Lyne
a2942b6400
Improve caching of player marker name
2021-01-06 00:44:11 +00:00
James Lyne
76c5892c66
Disable player marker animations at high player counts
2021-01-05 23:54:50 +00:00
James Lyne
3573694df0
Avoid unnecessary dom updates for player markers
2021-01-05 23:48:56 +00:00
James Lyne
ac2dd1f399
Implement chat balloons
2021-01-05 22:30:55 +00:00
James Lyne
022a5914c2
Fix multiple chat messages in one update appearing out of order
2021-01-05 22:03:38 +00:00
James Lyne
652a63e278
Show player markers in the center of the current block
2021-01-05 21:06:10 +00:00
James Lyne
7526c6bdd1
Small chat fixes
2020-12-31 23:30:58 +00:00
James Lyne
51a273f8de
Fix some timing issues in DynmapIcon
2020-12-31 22:38:58 +00:00
James Lyne
7dfaf76501
Chat skeleton
2020-12-31 22:29:43 +00:00
James Lyne
30d0219535
Add player image to FollowTarget
2020-12-31 13:55:05 +00:00
James Lyne
1f3ba13194
Move clock update handling to the control
2020-12-31 13:53:47 +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
b64250404a
Allow fetching player head using player name
2020-12-31 13:00:32 +00:00
James Lyne
a5ff836ba4
Only create pane for layer group if it doesn't exist
2020-12-23 18:02:37 +00:00
James Lyne
05bf3e8b48
Prevent removed markers reapparing after toggling layer visibility
2020-12-23 18:02:10 +00:00
James Lyne
3e095c0ae9
Better handle hidenames: true
2020-12-23 03:23:58 +00:00
James Lyne
42cdb8fba7
Implement skin images in player list
2020-12-23 03:07:52 +00:00
James Lyne
ce7827659a
Convert PlayerListItem to component api
2020-12-23 03:07:19 +00:00
James Lyne
55bec9806f
Tweak link button
2020-12-22 20:34:34 +00:00
James Lyne
c739a062a3
Improve handling of tile URLs
2020-12-22 20:34:31 +00:00
James Lyne
367deec7d1
Fix zoom control hover border color
2020-12-22 13:40:15 +00:00
James Lyne
165afd762c
Use player account for skin URL. Fixes #2
2020-12-22 13:15:59 +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
27af44b769
Make samsung internet happier
2020-12-21 22:01:43 +00:00
James Lyne
0a71b3dac8
Remove legacy url if one was parsed
2020-12-21 18:46:06 +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
8e18a7393f
Fix projection switch timing causing panning issues
2020-12-21 18:38:58 +00:00
James Lyne
842854967d
Fix zoom level 0 in url being ignored
2020-12-21 18:38:35 +00:00
James Lyne
069e4dc641
Pan to correct location when switching projections
2020-12-21 12:45:03 +00:00
James Lyne
816f96777e
Current map active state
2020-12-20 19:37:25 +00:00
James Lyne
0ed11db15c
Show follow status alongside player list on small screens
2020-12-20 18:52:44 +00:00
James Lyne
d34383f88c
Sidebar responsive fixes
2020-12-20 16:21:09 +00:00
James Lyne
7fd972b80f
Fix weather icon flickering
2020-12-20 16:01:20 +00:00
James Lyne
84849e6ad1
Remove some old styles
2020-12-20 15:32:05 +00:00
James Lyne
5b4a81617c
Only allow one sidebar menu open at a time on small screens
2020-12-20 15:29:40 +00:00
James Lyne
ee391773a2
Hopefully improve sidebar shrink ratios
2020-12-20 15:13:09 +00:00
James Lyne
254c890cd0
Improve disabled button styles
2020-12-20 14:54:30 +00:00
James Lyne
8de6a218f5
Responsive improvements
2020-12-20 14:45:04 +00:00
James Lyne
d4f7f4a684
Fix hardcoded background
2020-12-19 12:40:09 +00:00
James Lyne
a4d4491d5f
Use the same pane for all vector shapes, to allow clicks
2020-12-19 12:16:07 +00:00
James Lyne
3af8159bdc
Overscroll fix
2020-12-19 01:12:40 +00:00