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
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
36d2be4100
Move to native css variables
2021-05-15 23:24:29 +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
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
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
d721286ea3
Use px for media queries to work around iOS bugs
2021-01-25 02:27:35 +00:00
James Lyne
31b05f2296
Add login link to chat if required
2021-01-24 22:35:59 +00:00
James Lyne
d3658e35a2
Player/world list skeletons
2021-01-24 22:15:19 +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
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
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
76c5892c66
Disable player marker animations at high player counts
2021-01-05 23:54:50 +00:00
James Lyne
ac2dd1f399
Implement chat balloons
2021-01-05 22:30:55 +00:00
James Lyne
7526c6bdd1
Small chat fixes
2020-12-31 23:30: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
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
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
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
8de6a218f5
Responsive improvements
2020-12-20 14:45:04 +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
11fbc069be
Handle marker set updates
2020-12-19 01:09:31 +00:00
James Lyne
7b1afa1c20
Handle showLabels config setting
2020-12-18 23:01:32 +00:00
James Lyne
0eea500098
Merker set changes
...
- Use separate panes for each marker set
- Set pane z-index based on marker set priority
- Optimize zoom visibility checks
2020-12-18 22:49:28 +00:00
James Lyne
d6693b4c0d
Respect min/max zoom settings for marker sets
2020-12-18 20:25:34 +00:00
James Lyne
fd26eee713
Fix newly created markers/shapes not being added to the map
2020-12-18 18:02:01 +00:00
James Lyne
da2c89730e
Cleanup console logs
2020-12-18 16:12:14 +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
217028e044
Delay follow panning by a frame to account for projection changes
2020-12-18 16:02:12 +00:00
James Lyne
38476266b0
Fix panning to players across worlds
2020-12-18 14:53:06 +00:00
James Lyne
7fe660d491
Fix build
2020-12-17 15:25:14 +00:00
James Lyne
d1fff4e120
Start chat implementation
2020-12-17 14:52:05 +00:00
James Lyne
aabbe1c70d
Reduce debug logging
2020-12-17 14:52:05 +00:00
James Lyne
3acd40efd2
Pan to players on click
2020-12-17 00:13:28 +00:00
James Lyne
0d3b0b5db6
Server config error handling
2020-12-16 22:40:44 +00:00
James Lyne
fe07e6283c
Handle player hiding correctly
2020-12-16 18:53:25 +00:00
James Lyne
31b05613fb
Add license
2020-12-16 16:54:41 +00:00
James Lyne
1147b46c4b
More accessible font sizes
2020-12-15 22:12:57 +00:00
James Lyne
e23842574d
Respect config map list heading
2020-12-15 22:11:29 +00:00
James Lyne
37c1766e6f
Add tile loading indicator
2020-12-15 01:52:49 +00:00
James Lyne
6ede9adf2f
Only show map list button if there are multiple maps defined
2020-12-14 15:48:15 +00:00
James Lyne
76fe40d92a
Move player markers to their own pane
2020-12-14 15:43:01 +00:00
James Lyne
4c91b3225e
Fix player names in FollowTarget
2020-12-14 00:51:51 +00:00
James Lyne
4393890661
Respect marker set hidden by default config
2020-12-14 00:35:56 +00:00
James Lyne
6249eb904b
Move marker set markers into single component. Start marker update handling.
2020-12-14 00:27:49 +00:00
James Lyne
f37d3531a1
Allpw HTML in player names, sanitise it to be sure
2020-12-13 23:22:59 +00:00
James Lyne
fd5e9f8543
Increase player list padding
2020-12-13 13:31:38 +00:00
James Lyne
99a28401b9
Fix player icons
2020-12-13 13:23:32 +00:00
James Lyne
3e2f507eb2
New map list icons
2020-12-13 13:23:22 +00:00
James Lyne
9e28e695ee
Implement link copying and url handling
2020-12-13 02:50:17 +00:00
James Lyne
b9b58399f6
Targeted leaflet imports
2020-12-12 22:04:56 +00:00
James Lyne
422e47bf70
Link button SVG icon
2020-12-12 21:37:40 +00:00
James Lyne
9a0f7eebc6
Sidebar SVG icons
2020-12-12 21:36:41 +00:00
James Lyne
7070353b32
SVG icon prerequisites
2020-12-12 21:35:55 +00:00
James Lyne
9caec78200
First attempt at clock styling
2020-12-12 19:11:29 +00:00
James Lyne
90dc6070c7
Fix sidebar stealing clicks
2020-12-12 19:06:25 +00:00
James Lyne
b5454b1e97
Remove unused Circle component
2020-12-12 19:01:50 +00:00
James Lyne
e4961c7893
Use config players heading
2020-12-11 23:01:42 +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
b0e53b5fc9
Refactor MapLayer to use component api
2020-12-11 15:44:22 +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
04ca1108be
Implement day/night background colors
2020-12-10 02:22:29 +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
James Lyne
5d0f26917d
More progress
2020-12-01 23:20:48 +00:00
James Lyne
91c78ecd68
Split store into smaller files
2020-11-23 16:16:26 +00:00
James Lyne
151904c343
The map kinda works
2020-11-23 12:13:28 +00:00
James Lyne
307a168b4d
Initial commit
2020-11-20 21:44:31 +00:00
James Lyne
dfa97b698d
init
2020-11-20 18:43:30 +00:00