Skip to content

2.0.1 Admin Page Layout Editor, Heatmaps

Choose a tag to compare

@scottadkin scottadkin released this 19 Jan 16:17
· 926 commits to main since this release

Node UTStats-lite 2.0.1

  • This version focuses mainly on missing items from the old next.js website.

Patch Highlights:

  • Added Admin Page Layout Editor Tool
  • Admin page settings now take effect on all pages where they apply.
  • Activity heatmaps are now back and better than before(home page, map pages, player pages).
  • Added missing items to the home page, like most played gametypes, maps.
  • Player activity heatmap now has 4 additional modes to toggle through, Daily Winrate, Wins, Draws, and Losses.

Upgrading from v2.0.0

  • The only version that can be upgrade is the v2.0.0 build, if you are using an older next.js website follow these instructions first https://github.com/scottadkin/node-utstats-lite/releases/tag/v2.0.0
  • Stop your website and importer processes.
  • Place the contents from the archive into your current website folder.
  • Open a terminal in the same folder and run node install.mjs to install the new settings.
  • Restart your website with node app.mjs
  • Restart your importer process with node importer.mjs

Change Log:

  • Added the most played gametypes component to the home page.
  • Added the most played maps component to the home page.
  • Clicking on a server on the home page server list now takes you to the matches page with all matches listed being for that server.
  • Added activity heatmap to home page.
  • Added latest match screenshot to home page.
  • Added 2 new admin settings for the player search page, you can now set default sort by and order.
  • Added 3 new admin settings for the rankings page, you can now set a default last active range for gametypes and a separate setting for maps, admins can now also set default results per page.
  • Added 2 new admin settings for the ctf league page, you can now set a default mode, and how many results per page are displayed.
  • Added 4 new admin settings for the records page, you can now set a default mode, default category(match, and lifetime have separate values), and set results per page.
  • Added 3 new admin settings for map pages, you can now toggle whether or not a screenshot is displayed, if there is no partial or full match to a screenshot no image is displayed, you can also toggle if the activity heatmap displays and what mode it defaults to.
  • Added 4 new admin settings to the home page, you can toggle between rich view and table view for most played maps, you can also now specify a maximum amount of most played gametypes to display, activity heatmap now has a default mode setting, and you can toggle whether or not the most recent match screenshot is displayed.
  • Admins can now change the order of components on various pages.
  • Admin settings now take effect on the following pages: Home, Matches, Match, Player Search, Player Profiles, Rankings, CTF League, Records, Maps, Map.
  • Hide empty CTF League component from map pages if there are no valid gametypes.
  • Activity heatmaps now have 3 different modes you can toggle between, you can now view by playtime, total matches, total players.
  • Fixed match screenshots displaying the wrong date in the footers.
  • Added activity heatmap to map pages.
  • Added activity heatmap to player profiles, you can view by total matches, playtime, daily winrate, wins, draws, losses
  • Added 1 new admin setting to player profiles, you can select a default mode for the activity heatmap.

Player activity heatmap example:

image

Admin page layout editor example:

image