Skip to content

PM-4685: remove unlimited submissions option#1753

Open
jmgasper wants to merge 1 commit intodevelopfrom
PM-4685
Open

PM-4685: remove unlimited submissions option#1753
jmgasper wants to merge 1 commit intodevelopfrom
PM-4685

Conversation

@jmgasper
Copy link
Copy Markdown
Collaborator

@jmgasper jmgasper commented Apr 2, 2026

What was broken
The design challenge editor still showed an Unlimited submissions option even though that control is no longer used and did not work as expected.

Root cause
The maximum submissions field still rendered the legacy Unlimited checkbox and the editor still carried an update path for that unused metadata toggle.

What was changed
Removed the editable Unlimited checkbox from the design challenge maximum submissions field.
Removed the unused unlimited update branch from challenge metadata handling.
Kept the existing read-only display for legacy unlimited metadata so older challenge data still renders consistently.

Any added/updated tests
Added a MaximumSubmissionsField component test that covers removing the editable Unlimited option, preserving the legacy read-only display, and sanitizing the count input.

What was broken
The design challenge editor still showed an Unlimited submissions option even though that control is no longer used and did not work as expected.

Root cause
The maximum submissions field still rendered the legacy Unlimited checkbox and the editor still carried an update path for that unused metadata toggle.

What was changed
Removed the editable Unlimited checkbox from the design challenge maximum submissions field.
Removed the unused unlimited update branch from challenge metadata handling.
Kept the existing read-only display for legacy unlimited metadata so older challenge data still renders consistently.

Any added/updated tests
Added a MaximumSubmissionsField component test that covers removing the editable Unlimited option, preserving the legacy read-only display, and sanitizing the count input.
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.

1 participant