A few new features and significant changes to how the UI can be interacted with, hopefully resulting in better accessibility and keyboard navigability. There's still room for improvement, particularly with markers, but it should be much better than previous versions.
Added
- Small UI refresh
- Sidebar now scrolls as a whole instead of each section scrolling separately
- Sidebar sections can be collapsed to reduce the space they take up whilst still keeping them at hand.
- Collapsed sections are persisted across refreshes
- Improved focus styles
- Layer list is now a toggleable popup to match the behaviour of other UI elements
- Added a context menu when right clicking the map.
- Current options:
- Copy the coordinates of location
- Copy link to location
- Center map on location
- Switch between the maps of the current world
- Mobile users can long press on the map to access the menu
- Copying to the clipboard now displays a notification
- Improved keyboard navigation support.
- Feedback appreciated here as its definitely not perfect
- Sidebar sections can be navigated between using the arrow keys/home/end. Spacebar/enter will toggle section collapsing.
- Server/World/Player/Layer lists and the context menu can be navigated using the arrow keys/home/end and can be interacted with using space/enter.
- Right arrow opens the layer list when the button is focused. Left arrow closes it when the list is focused.
- Focus is moved to the relevant UI element when the layer/chat/player/map buttons are interacted with
- Added keyboard shortcuts for some UI elements
- Ctrl+alt+p toggles the player list, focusing it if open
- Ctrl+alt+m toggles the map list (if present), focusing it if open
- Ctrl+alt+c toggles the chat (if present), focusing it if open
- Ctrl+alt+l toggles the layer list (if present), focusing it if open
- Pressing Esc will focus the map and allow standard leaflet keyboard controls (arrow key pan/+ - zoom)
- Layer list button title can now be customised in index.html
Fixed
- Fixed being unable to interact with anything in edge mobile
- Fixed layer list overlapping with open sidebar sections on small screens
- Various layout, styling and zindex fixes