James Lyne
c015886f4a
Improve login modal mobile styling
2021-09-01 02:13:44 +01:00
James Lyne
aa78d6ad63
Change Maps button to a Servers button when <2 maps are defined in the current server
2021-09-01 01:06:43 +01:00
James Lyne
8a7a05c0d1
Prevent closing and allow server selection from login required modal,
2021-09-01 01:05:30 +01:00
James Lyne
21cb8da32f
Modal updates
...
- Add options for removing backdrop and preventing closing
- Add close button
- Style tweaks
2021-09-01 01:00:42 +01:00
James Lyne
1e4c8a080f
Revert "Drop :active styles"
...
This reverts commit 146aadb9
2021-08-31 19:56:42 +01:00
James Lyne
c4230fda7d
Use --outline-focus for map focus indicator
2021-08-31 17:46:02 +01:00
James Lyne
0b05ad05e4
Focus login button when closing modal
2021-08-31 17:45:37 +01:00
James Lyne
a82052714d
aria-live login modal alerts
2021-08-31 15:03:33 +01:00
James Lyne
76f151a64c
First attempt at login/register
2021-08-30 22:28:20 +01:00
James Lyne
116c9efa0d
Use cross icon for unfollow button
2021-08-27 02:26:04 +01:00
James Lyne
ba070eee9a
Style updates
...
- Add new variable for selected colour, using old hover colour
- More subtle hover colour
- Dimmer selected colour
- Bold font on selected elements for better readability
- Tweaked text colours
- Use brighter text colour for headings
- Reduced border-radius
- Restore some missing text shadows
2021-08-26 00:54:40 +01:00
James Lyne
146aadb963
Drop :active styles
2021-08-26 00:54:40 +01:00
James Lyne
89c56e176b
Some style refactoring
...
- Use CSS variables for UI element size/spacing
- Make buttons smaller on smaller screens
- Reduce location size on smaller screens
- Add common leaflet-control-button class for all button-y controls
2021-08-26 00:54:40 +01:00
James Lyne
552b289bb9
Avoid recreating tiles from scratch when refreshing Pl3xmap
2021-08-16 03:33:28 +01:00
James Lyne
280e036276
Basic support for Pl3xmap tile update interval
2021-08-13 23:51:03 +01:00
James Lyne
b143fc1561
Player list heading fixes
2021-07-29 19:16:37 +01:00
James Lyne
2ff16c81ed
Merge remote-tracking branch 'origin/master'
2021-07-29 18:20:05 +01:00
James Lyne
38946d7015
Initial pl3xmap support
2021-07-29 18:06:19 +01:00
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
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
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
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
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
ad9af04e9e
Rename world/map title to displayName
2021-07-26 01:05:05 +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
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
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
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
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
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
028cb4e1af
Player list search
2021-07-21 16:19:18 +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
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
f9e55ff673
Hide player list when playermarkers component is disabled ( Fixes #21 )
2021-06-23 18:18:42 +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
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
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
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
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
3cf9a01184
Fix WorldListItem check state again
2021-05-28 19:13:25 +01:00
James Lyne
9e65a5859c
Chatbox styling/accessibility improvements
2021-05-28 15:55:17 +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
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
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
1e38e24fb3
Fix build
2021-05-27 00:52:12 +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