Skip to content

PM-5758: restore design submission limit settings - #2113

Merged
jmgasper merged 1 commit into
devfrom
PM-5758
Aug 10, 2026
Merged

PM-5758: restore design submission limit settings#2113
jmgasper merged 1 commit into
devfrom
PM-5758

Conversation

@jmgasper

@jmgasper jmgasper commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

What was broken

Work Manager did not expose the submission-limit setting for design challenges and normalized every existing value to Unlimited, preventing managers from configuring or preserving a limited count.

Root cause

The compatibility field had been changed to render no controls and always rewrite submissionLimit metadata to the unlimited payload.

What was changed

Restored the setting as mutually exclusive Unlimited and Limited radio options, with a numeric count field for Limited. The editor now safely restores existing limits, defaults missing or malformed metadata to Unlimited, and persists the established JSON metadata contract without disrupting initial resource hydration.

Any added/updated tests

Updated MaximumSubmissionsField tests to cover the default, existing limits, count changes, switching to Unlimited, malformed metadata, and deferred dirty-state normalization. Updated the challenge editor documentation.

Validation completed successfully with 6 focused tests, yarn lint, and yarn run build.

What was broken
Work Manager did not expose the submission-limit setting for design challenges and normalized every existing value to Unlimited, preventing managers from configuring or preserving a limited count.

Root cause
The compatibility field had been changed to render no controls and always rewrite submissionLimit metadata to the unlimited payload.

What was changed
Restored the setting as mutually exclusive Unlimited and Limited radio options, with a numeric count field for Limited. The editor now safely restores existing limits, defaults missing or malformed metadata to Unlimited, and persists the established JSON metadata contract without disrupting initial resource hydration.

Any added/updated tests
Updated MaximumSubmissionsField tests to cover the default, existing limits, count changes, switching to Unlimited, malformed metadata, and deferred dirty-state normalization. Updated the challenge editor documentation.
@jmgasper
jmgasper requested a review from kkartunov as a code owner August 9, 2026 21:42
@jmgasper
jmgasper merged commit 2d04cd5 into dev Aug 10, 2026
6 of 7 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.

1 participant