Skip to content

PM-5511: Add submission ID filter#2006

Merged
jmgasper merged 2 commits into
devfrom
PM-5511
Jul 2, 2026
Merged

PM-5511: Add submission ID filter#2006
jmgasper merged 2 commits into
devfrom
PM-5511

Conversation

@jmgasper

@jmgasper jmgasper commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

What was broken
Challenge submission lists could only be filtered by handle, date range, and minimum score, so users with a submission ID from logs had no direct way to find the matching row and submitter.

Root cause
The submissions section filter state and filter predicate did not include submission identifiers, even though the table displays each submission ID.

What was changed
Added a Submission ID text filter next to the Handle filter.
Matched the filter against current and legacy submission IDs with case-insensitive partial matching before pagination.

Any added/updated tests
Added a SubmissionsSection test covering filtering by current and legacy submission IDs.

Validation run:

  • source ~/.nvm/nvm.sh && nvm use && yarn test:no-watch SubmissionsSection --runInBand passed.
  • source ~/.nvm/nvm.sh && nvm use && yarn lint passed.
  • source ~/.nvm/nvm.sh && nvm use && yarn run build passed with existing webpack/CSS warnings.
  • source ~/.nvm/nvm.sh && nvm use && yarn test:no-watch --runInBand --silent --json --outputFile=/tmp/pm-5511-jest.json was run; it currently fails in unrelated existing suites outside the files changed for PM-5511.

What was broken
Challenge submission lists could only be filtered by handle, date range, and minimum score, so users with a submission ID from logs had no direct way to find the matching row and submitter.

Root cause
The submissions section filter state and filter predicate did not include submission identifiers, even though the table displays each submission ID.

What was changed
Added a Submission ID text filter next to the Handle filter.
Matched the filter against current and legacy submission IDs with case-insensitive partial matching before pagination.

Any added/updated tests
Added a SubmissionsSection test covering filtering by current and legacy submission IDs.
@jmgasper jmgasper marked this pull request as ready for review July 2, 2026 00:16
@jmgasper jmgasper requested a review from kkartunov as a code owner July 2, 2026 00:16
# Conflicts:
#	src/apps/work/src/pages/challenges/ChallengeEditorPage/components/SubmissionsSection/SubmissionsSection.spec.tsx
#	src/apps/work/src/pages/challenges/ChallengeEditorPage/components/SubmissionsSection/SubmissionsSection.tsx
@jmgasper jmgasper merged commit a4351da into dev Jul 2, 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