More MapLibre progress, more context, fewer bugs
Happy new year to all in the community! Activity in the website has barely paused despite the holidays. To prove it, here’s a list of the latest changes you may have seen this month.
Slippy maps
- The transition from Leaflet.js to MapLibre continues slowly but surely, as we converted the location selectors in the profile page and in the “New Diary Entry” page. (@CommanderStorm)
- This also involved disabling certain features of MapLibre that are not necessarily appropriate in all instances. (@hlfan)
- Plus fixing a bug where tooltips didn’t render properly for MapLibre maps. (@TomH)
- The dashboard map now renders the markers for nearby users in a more sensible order. (@aNsHuL5217)
- The main map now hides banners and menus while initially loading, avoiding a jarring first render. (@TrickyFoxy)
- Icons for map controls are now rendered from standard Bootstrap icons, simplifying maintenance. (@snehaljadhav7317)
Providing more context
- In the layer selector, we added little info links to provide context about each map layer. (@SinghSwayam, @snehaljadhav7317)
- At the bottom of the directions results, we now offer links to see map directions in third party sites (@SykoDaedalus)
- Updated
wiki_pages.yml, which helps us link from element tag keys to the correct pages in the OSM wiki. (@mmd) - Updated messages to manage expectations about contacting our support team. (@TomH)
- On the GitHub issue template, we now point to the right repo for OSM Carto. (@Dimitar5555)
Internationalization
- The language selector now doesn’t break on pressing Enter. (@pablobm)
- We dropped some unused translation strings. (@TomH)
Small features and fixes here and there
- Errors from Overpass API are handled more gracefully, instead of showing a cryptic message. (@SykoDaedalus)
- In rich text fields (eg: comments, diary entries), we improved how we render links, as well as simplified the code for this. (@hlfan, @TomH)
- The heatmap should now show the correct dates across timezones, as well as the correct months on top. (@hlfan)
- We continued adapting our spam filters to catch all sorts of tricks. (@Firefishy)
- The “share” buttons are now more consistent and use up less space in our codebase. (@hlfan)
- For directions, the same start/end icons are now used for the search form and the map markers, improving consistency. (@aNsHuL5217)
For developers
- We updated the documentation on precompiling assets in Docker, customize the Firefox binary, and choosing your Ruby version with rbenv. (@CommanderStorm, @Andy_Allan, @pablobm)
- We adjusted the Ruby code linters (Rubocop, erb_lint). (@Andy_Allan)
- We performed refactors that renamed factory files for consistency, consolidated map configuration code, and ensured that user confirmations are handled correctly. (@pablobm, @hlfan, @TomH)
- We added initial support for Development Containers. (@pablobm)
- Fixed the wee badge that shows our test coverage on GitHub. (@hlfan)
- And as per our announcement last month, @hlfan has been added to the maintainers list. (@Andy_Allan)