Rework submission/mapfix/maps list views #173
Reference in New Issue
Block a user
Delete Branch "feature/List-Refactors"
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?
Make boxes look moderately nicer and actually implement a grid. Bonus: pagination actually works now. Lazily vibe coded so making things re-usable wasn't in the budget.
Also is responsive and supports people who are blind like @Quaternions
Slight rework of the navbar as well
looks alright I guess
Didn't ask
Added containers to control the width and added typography for the headings. Reworked the map list page to add a search and filtering. Just pull the entire map list into the client for this, no clue if it's going to work well with tons of entries.
Rework submission/mapfix list viewsto Rework submission/mapfix/maps list viewsAdded the landing page so it's not blank when you load the site.
Gonna stop adding to this MR so it can be reviewed.
@@ -45,0 +42,4 @@case 3:color = 'warning';icon = <CheckCircle fontSize="small"/>;label = 'Under Review';This says "Under Review" when the status is "Submitted". Is that on purpose?
Took some liberty with the naming. "Under Review" more clearly communicates what is happening versus "Submitted". Would expect to make this change throughout.
@@ -71,0 +194,4 @@wordBreak: 'break-word',}}>{props.gameID === 1 ? 'Bhop' : props.gameID === 2 ? 'Surf' : props.gameID === 3 ? 'Fly Trials' : props.gameID === 4 ? 'Deathrun' : 'Unknown'}FlyTrials is GameID 5
@@ -60,0 +120,4 @@return "Bhop";case 2:return "Surf";case 3:FlyTrials = 5
@@ -60,0 +139,4 @@bgcolor: "success.main",color: "white",};case 3: // Fly TrialsFlyTrials = 5
@@ -60,0 +211,4 @@<MenuItem value="0">All Maps</MenuItem><MenuItem value="1">Bhop</MenuItem><MenuItem value="2">Surf</MenuItem><MenuItem value="3">Fly Trials</MenuItem>FlyTrials = 5
Lots of code read, very little understood
LGTM