beatmaps-io / beatsaver-main

https://beatsaver.com
GNU General Public License v3.0
74 stars 25 forks source link

Improvements for the /mappers page #32

Open n3tman opened 3 years ago

n3tman commented 3 years ago

I'll just document here what might be improved and you tell me what's doable and what's a definite no-no. All low priority, I don't expect this to be added anytime soon (but maybe eventually). Reference page: https://n3tman.github.io/TopMappers/

Features to consider for https://beatsaver.com/mappers

  1. Sorting - to find people with most maps, dislikes, mapping age, etc.
  2. Basic text filtering - to find yourself in the list, find people who started in 2021, etc.
  3. Advanced filtering - similar to how tablesorter widget works. Most wanted part: comparison operators.
    • E.g. find rows where First Upload is >=2020, Total Maps is >2, Ranked Maps =0.
    • Can be used to find interesting mappers based on data.
  4. [ScoreSaber] New column: Total number of plays on all difficulties.
    • I know it's not the best metric, but it's better than downloads.
  5. [BSaber] Link to a BSaber profile, like https://bsaber.com/members/<uploader.name>
    • Helps to know more about the mapper since some people have detailed pages there.
  6. [BSaber] New column: Number of maps recommended by curators.
    • This wp-json endpoint can be used to find map keys.
  7. [BSaber] New column: Number of playlists where maps have been featured.
    • This playlistAPI file can be used to find playlist links. They can be downloaded and map keys can be extracted/compared (all files have key values).
      • Would be great to have a popup with names/links to these playlists too, similar to TopMappers. I had to add URLs of playlists manually though, but they can be added to playlistAPI file.
  8. [UI] Alternate colors for rows + highlight row on hover
  9. [UI] Thousand separators for numbers. E.g. 286,190 or 286 190 (thin space) instead of 286190.
    • Might be added globally to individual mapper pages as well (in stats block).
helencarnate commented 2 years ago

Review carefully before implementing any this. Many of the "Bsaber" requests are no longer valid (or won't be valid as soon as we work on the rewrite). I have removed the "invalid" label and substituted with this comment.