- this is an easter egg
UnitedLadder v1.3.1
After a little break, the new update is here. It is, once more, just a few bugfixes and several improvements to the user experience.
Changelog
New Stuff
- Added tooltips for lookup fields that can potentially be unclear.
- A tooltip to indicate what each player title means was also added (hover the title to see).
- Added author names for maps on the single tracks page.
- Additionally, the Infinity campaign was added to the single tracks page as a proof of concept. Any such campaign can be added, if there is any significance to it (e.g. the Infinity campaign is available to all Unlimiter users, therefore it holds decent activity).
- Added the ability to go directly to the player's position from the lookup page and the ladder points breakdown modal.
- Funnily enough, the breakdown modal part of this change is broken for Nations players. This is not due to some oversight on my part, but because for Nations people specifically, the "Merge" and "Stadium" fields are sent with the exact same data from the TMF stats API, thanks Nadeo.
- In general, this can break quite significantly the further away you go from rank ~10000. Unfortunately, the rank data provided by Nadeo is not particularly reliable. Thanks for that too.
- The highlight may appear "broken" on Blink-based browsers (Chromium and derivatives). This will not be fixed.
- Added correct metadata for most pages. This affects the embeds, the tab names, and also some of the statistics collected.
- Changed the skill points breakdown modal. By default, the entire breakdown will be shown, with individual environment breakdowns available by clicking them.
- This change retires the pagination of records inside the breakdown modal. Yes, you can no longer see your 0 SP maps if they exceed the threshold set in the UL backend for fetching the breakdown data. However, the API endpoint for that is still available, so if really needed, you could use that (I have raised the records-per-page limit to 100).
- Changed the main page to not just be the mirror of the news page.
- Changed the colours to not be as harsh on the eyes. Some other design aspects were changed too, but those changes are not as easy to list.
- Changed the look of the lookup page on mobile devices. All content is in one column now, which prevents layout shifts and allows for bigger font sizes, and, therefore, better visibility.
- Changed the epileptic colour-shifting nickname background on the lookup page. The third option is now grey instead, which is also the default selected option.
- Changed the leaderboards' width. No reason for them to take up the whole container given how much data can realistically be shown within.
Bug Fixes
- Fixed the breakdowns being available when player skill points/ladder points are zero.
- This is technically a "bad" change, as there are several players who have zero skill points despite having played multiple maps. However, in most cases, the Nadeo masterserver tends to respond with an empty array for such players anyway.
- Fixed the modal behaviour.
- Page scroll is locked while inside the modal.
- Width is now constant no matter the content.
- The backdrop is the actual viewport size.
- Fixed the ladder point breakdown throwing away primarily invalid data that could still be used to show some statistics.
- Mostly affects ancient TMU-era accounts with broken zone IDs like this one.
- Fixed the data loading behaviour that led to leaderboard and lookup pages breaking and/or calling the API twice.
- Fixed the leaderboard pages' hooks to handle cached API responses correctly.
- Fixed the searchbar not being populated with the URL query when it is not directly input on the page. Now, you will always see the login in the search bar, no matter how you accessed the lookup page.
- Fixed empty fields inside the ladder point breakdown modal. The distribution chart no longer takes empty fields into account also.
- Fixed the layout shift on the lookup page when opening breakdown modals.
- Fixed most pie chart issues, some problems still remain though, you can read about that down below.
- Fixed the nickname parser not handling repeated formatting tags correctly ($i, $s, etc).
- Fixed the API returning 101 players in the multiplayer leaderboard sections.
- This was caused by the Webservices API sending out duplicates for each of the 10 leaderboard chunks (e.g. the last player of chunk 8 was also the first player of chunk 9). However, when it is not the very first page for any given leaderboard, the last player from the previous page is retrieved as index 0.
- Fixed the API not returning an integer for obviously numeric fields.
- Those being: id, zoneId (/player) and score (/solo, /track, /multi).
- Fixed some code being unmaintainable. You will not see it. But I will!
Coming Soon™
That should be all. Probably as good as UL will get with the current feature set. Most of the future work will go towards improving the API. Something like:
- Skill point deltas. Possibly with a chart inside the breakdown (it will not just be a single day if it is implemented).
- Proper indication of when the data was retrieved (this is already a thing, just unused and not returned).
- Possibly other stuff I forgot about.
On the other hand, some frontend stuff that remains undone:
- Proper dynamic metadata. Quite useful for statistics.
- Improved about page. Currently it is not exactly about the site, but more about who made it. A bit misleading.
- On that note, I also had the thought to put other community sites there. Stuff that aligns with UL in its goal of preserving the "competitive spirit of Trackmania".
- Some improvements to charts. They work fine as-is, but there is some stuff that bothers me personally. Unfortunately, it is not in my power to fix some issues. Will have to wait for Recharts developers to fix these.
- Probably other minor design nitpicks. Having some background would be nice, but I could not figure out anything that would not raise the CPU usage (I do not like static images, yes).
Yes, I am using this changelog as a little notepad too. Is that a problem? Enjoy.