Submissions Webpage List Filter #44
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The maps list webpage https://maps.staging.strafes.net/submissions needs to be filterable.
The most notable (backend) implementation detail is that submissions "UnderConstruction" are completely private to the submitter and cannot be accessed by anyone other than the submitter themselves.
Drop-down / text box filters for:
Filter presets:
Backend implementation:
/api/submissionsendpoint is restricted to non - UnderConstruction submissions and has no authentication. Otherwise identical to the previous/api/submissionsendpoint which has no restrictions./api/submissions-by-meendpoint displays only submissions by the authenticated user, and has no status restrictions.Does this mean by everyone including admin or others?
I guess do we care about actually hiding the submissions on the backend or is just making the frontend hide them enough?
The goal 9 months ago was to enable map makers to use the website "privately" without revealing their map to everyone. What ended up happening instead was the "take model" feature was never added to the website to replace the discord bot feature that puts the map in the maptest bot inventory. So keeping their map private is possible by developing the map in the maptest place before submitting it to the website. I think at most one person has requested to be able to submit their map privately in the past 9 months, so it may not be necessary at all.
The other consideration would be maptest integration (milestone 3). If later on maptest connects to maps-service and helps you load your most recent map, the ability to use the website privately may be more widely appreciated.
I say we can put off the private submissions until it's requested again and actually needed.
This is sufficiently addressed by #297 imo, this can be reopened if the submissions list page becomes relevant again.
I'll probably still add filters but not to the extent this issue details.