Skip to content

PM-6309 Fix completed submission empty state and tab counts - #2287

Merged
jmgasper merged 1 commit into
devfrom
PM-6309
Sep 12, 2026
Merged

PM-6309 Fix completed submission empty state and tab counts#2287
jmgasper merged 1 commit into
devfrom
PM-6309

Conversation

@jmgasper

Copy link
Copy Markdown
Collaborator

Related JIRA Ticket:

https://topcoder.atlassian.net/browse/PM-6309

What's in this PR?

Registered members with no submissions now see Daniela's completed-challenge message, “Submission phase has ended,” without a Submit a solution button. The panel follows the Figma update, reusing the existing information icon and empty-state component while retaining the Review App handoff.

  • Apply the ended state across challenge tracks and cancelled challenges. Offer upload only during open submission phases; keep neutral copy during registration and gaps between submission rounds.
  • Hide zero or unavailable count badges on Registrants, Submissions, My Submissions, Forum, and review opportunity Applications tabs. Keep the tabs usable and continue displaying positive counts.
  • Update the opportunities documentation and regression coverage, including deleting the last submission and returning its tab to a label without a count.

Validation

  • yarn lint passes.
  • NODE_OPTIONS=--max-old-space-size=12288 yarn run build passes with existing source-map, CSS-order, and bundle-size warnings.
  • 136 tests pass across the challenge detail member flows, submission replacement, review details, challenge phase utilities, and challenge header suites. The local Jest command pins React and React DOM resolution to this worktree's dependencies because the shared installation otherwise resolves multiple React copies.
  • Chromium checks of the rendered empty-state component and its real stylesheet pass at 1680px and 375px for both completed and active challenges, including icon size, spacing, centering, action visibility, and absence of horizontal overflow.

@jmgasper
jmgasper requested a review from kkartunov as a code owner September 12, 2026 00:22
@jmgasper
jmgasper merged commit ecbabcb into dev Sep 12, 2026
8 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