Skip to content

chore: adjust game screenshot limits#4909

Merged
wescopeland merged 4 commits into
RetroAchievements:masterfrom
wescopeland:adjust-screenshot-rules
May 21, 2026
Merged

chore: adjust game screenshot limits#4909
wescopeland merged 4 commits into
RetroAchievements:masterfrom
wescopeland:adjust-screenshot-rules

Conversation

@wescopeland
Copy link
Copy Markdown
Member

This PR makes a few minor adjustments to game screenshot caps and demotion logic:

  1. The in-game screenshot limit has been lowered from 20 to 10.
  2. Demoted title and completion images through the relation manager now have their statuses set to Replaced instead of Pending, which better aligns with the behavior of the moderation tool.

10 games already have more than 10 screenshots. Those will continue to behave as they do today, but they won't support more screenshots being added to them.

@wescopeland wescopeland requested a review from a team May 20, 2026 22:33
return new HtmlString(
$subjectLine
. self::buildApproveExplanation('This game already has 20 in-game screenshots approved. (20 max)')
. self::buildApproveExplanation("This game already has {$cap} in-game screenshots approved. ({$cap} max)")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the first placeholder use $approvedCount?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I think it should. Updated.

{
return match ($this) {
self::Title, self::Completion => 1,
self::Ingame => 10,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated: Why wasn't this InGame?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mirrors the schema for consistency (but not a hard opinion, we can change it):

Image

@wescopeland wescopeland merged commit ad1665b into RetroAchievements:master May 21, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants