romm icon indicating copy to clipboard operation
romm copied to clipboard

[UI/UX] Server stats page

Open InsertDisc opened this issue 1 year ago • 4 comments

A page detailing specifics/details about the server. Information could possible include:

  • server version info
  • total roms
  • total saves
  • total screenshots
  • total library size/free space
  • total platforms
  • games per platform percentage of total (pie chart?)
  • number of users
  • number of downloads (?)
  • CPU/memory usage Surely there are more options but having a page dedicated to some of that, maybe under administration somewhere, would be nice. Currently the server version is under UI and the total size available in the API isn't listed anywhere as far as I can tell.

InsertDisc avatar Dec 04 '24 14:12 InsertDisc

total roms total saves total screenshots total library size/free space total platforms

these are already present on the homepage

games per platform percentage of total (pie chart?) number of users number of downloads (?)

these we can add to a stats page, and move the previous bunch there as well 👍🏼

server version info

this is visible in the admin settings

CPU/memory usage

outside the scope of this project

gantoine avatar Dec 04 '24 16:12 gantoine

That would be a welcome addition. As far as I know, the server version is actually in the UI settings page and not the admin section. The 'Total size' from the API is not present anywhere, but it would be weird to have that on the main page. As far as the CPU/memory usage, I was just throwing out things to help with a general idea. Is there currently a way to view/download logs? That would be a nice feature as well. ( Unless I just never saw it and it's there)

InsertDisc avatar Dec 04 '24 16:12 InsertDisc

I have been thinking in putting a real-time logs view and be able to export them as a .log file, so we will have that sooner or later. About the server version, I am doing some front changes and I already put that footer in all the pages that falls under settings (ui settings, administration and library management) that is already present in the /heartbeat endpoint

zurdi15 avatar Dec 04 '24 16:12 zurdi15

Fantastic. Really looking forward to the upcoming changes. Great work

InsertDisc avatar Dec 04 '24 16:12 InsertDisc

This is now available in v3.10.2!

gantoine avatar Jun 12 '25 13:06 gantoine