Skip to content

feat(ticket): make it safe to render leaderboard tickets#4913

Open
wescopeland wants to merge 3 commits into
RetroAchievements:masterfrom
wescopeland:renderable-lb-tickets
Open

feat(ticket): make it safe to render leaderboard tickets#4913
wescopeland wants to merge 3 commits into
RetroAchievements:masterfrom
wescopeland:renderable-lb-tickets

Conversation

@wescopeland
Copy link
Copy Markdown
Member

Stacked on #4910.


This PR makes it safe to render leaderboard tickets in the site front-end. Explicit leaderboard ticket creation is still unsupported.

How to test this PR

-- manually create a leaderboard ticket
INSERT INTO
	tickets (ticketable_type, ticketable_id, ticketable_author_id, type, state, body, hardcore, reporter_id, created_at, updated_at)
VALUES
	('leaderboard', 104370, 38243, 'did_not_submit', 'open', 'aaaa bbbb cccc dddd eeee ffff gggg hhhh', 1, 500838, NOW(), NOW());

There are three surfaces to try out:

There is still quite a bit left to do in subsequent PRs, so I wouldn't necessarily treat any visible UI/UX at the moment as gospel.

Screenshot 2026-05-22 at 12 49 55 PM Screenshot 2026-05-22 at 12 50 06 PM Screenshot 2026-05-22 at 12 50 21 PM

@wescopeland wescopeland requested a review from a team May 22, 2026 16:52
@wescopeland wescopeland added the status/stacked This PR is stacked on top of another PR. label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/stacked This PR is stacked on top of another PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant