Skip to content

PM-5708: Show failed screening results to submitters - #2059

Merged
jmgasper merged 1 commit into
devfrom
PM-5708
Jul 30, 2026
Merged

PM-5708: Show failed screening results to submitters#2059
jmgasper merged 1 commit into
devfrom
PM-5708

Conversation

@jmgasper

Copy link
Copy Markdown
Collaborator

What was broken

Members whose submissions failed screening on completed Design challenges saw an empty Screening tab instead of their failed result, score, and scorecard link.

Root cause

The completed-challenge visibility filter returned an empty row set for non-privileged viewers below the screening threshold before the existing ownership filter could retain the viewer's own submission.

What was changed

Removed the premature empty result so below-threshold viewers fall through to the existing ownership and assignment filter. Failed submitters can now see their own screening result while other members' rows remain hidden. Existing scorecard authorization and link rendering continue to provide access to the member's own scorecard.

Any added/updated tests

Added a TabContentScreening regression test that supplies owned and foreign failed submissions for a completed challenge and verifies that only the owned row is displayed.

Validation:

  • yarn test:no-watch --runInBand src/apps/review/src — 35 suites and 134 tests passed.
  • yarn lint — passed.
  • yarn run build — passed with existing repository warnings.
  • The full monorepo test command reports 13 unrelated failing suites and 36 failing tests; a detached clean origin/dev run reports the same 13 suites and 36 tests failing.

What was broken
Members whose submissions failed screening on completed Design challenges saw an empty Screening tab instead of their result and scorecard link.

Root cause
The completed-challenge visibility filter returned an empty row set for non-privileged viewers below the screening threshold before the ownership filter could retain the viewer's own submission.

What was changed
Allow below-threshold viewers to fall through to the existing ownership filter, preserving access to their own screening result while keeping other members' rows hidden.

Any added/updated tests
Added a TabContentScreening regression test covering a completed challenge with owned and foreign failed submissions.
@jmgasper
jmgasper marked this pull request as ready for review July 30, 2026 04:43
@jmgasper
jmgasper requested a review from kkartunov as a code owner July 30, 2026 04:43
@jmgasper
jmgasper merged commit 990f138 into dev Jul 30, 2026
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