Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional map browser filters #925

Open
tsa96 opened this issue Mar 18, 2024 · 1 comment
Open

Additional map browser filters #925

tsa96 opened this issue Mar 18, 2024 · 1 comment
Labels
For: Backend This is something to do for the backend (server folder) of the website. For: Frontend This is something to do for the front end (client folder) of the website. Size: Medium Something that may take a few days or so to implement. Type: Enhancement Something that builds on top of what already exists

Comments

@tsa96
Copy link
Member

tsa96 commented Mar 18, 2024

I raced through reworking the map browser pages, and kept the filters fairly minimal. Currently we have four (yes, four :D) browsers, with the following filters:

  • Approved Maps
    • Name
    • Gamemode
    • Favorites - either no filter/on/off
    • Completed - no filter/on/off
    • Tiers - double notched slider from 0-10. Only available if you have a gamemode filter
  • Map Submissions
    • Name
    • Status - e.g. private testing, public testing
    • Submitter - the user that owns the submitter, not necessarily the author
  • Your Maps
    • Name
    • Status - same as Beta Maps, though this should include APPROVED but won't until I refactor these endpoints a little, coming in next few weeks
  • Admin
    • Name
    • Status - any status, including APPROVED and DISABLED

Here's what I didn't have time to do:

  • Sorting (both asc/desc)
    • Date Released [approved, yours, admin]
      • This (desc) should be the default. MMap table has an index of (status, createdAt DESC) already.
    • Alphabetical
    • Tier
    • Last Played
    • First Created
  • Filter by user credit - usually this will be authors (maybe have 4 togglebuttons and have just author on by default) but may as well any credit type. We don't have backend support for this. The <m-user-select> component is great for this. We don't need to worry about filtering for multiple users at a time, UI is too annoying.
  • Tags - We haven't implemented these yet, I'm going to start working on them in a couple of weeks. Probably best I do this then.

Probably more that we could do, others are welcome to suggest more. Once we have rank points stuff specced out in more detail we could consider possible fancy filtering here.

@tsa96 tsa96 added Type: Enhancement Something that builds on top of what already exists Size: Medium Something that may take a few days or so to implement. For: Backend This is something to do for the backend (server folder) of the website. For: Frontend This is something to do for the front end (client folder) of the website. labels Mar 18, 2024
@Natanxp2
Copy link

If it's possible, sorting by date of PB would be great to have

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For: Backend This is something to do for the backend (server folder) of the website. For: Frontend This is something to do for the front end (client folder) of the website. Size: Medium Something that may take a few days or so to implement. Type: Enhancement Something that builds on top of what already exists
Projects
None yet
Development

No branches or pull requests

2 participants