Skip to content

v1.33: participants no longer see the Visualization tab — #2584 hides the fields the submission panel reads #2590

Closed

Description

@PawPol

Since v1.33 (released 2026-09-29), participants can no longer open the Visualization tab (detailed results) in the submission panel of a competition that has enable_detailed_results and show_detailed_results_in_submission_panel enabled. Organizers still see it.

Cause. #2584 added enable_detailed_results, show_detailed_results_in_submission_panel and show_detailed_results_in_leaderboard to CompetitionDetailSerializer.ADMIN_ONLY_FIELDS, so they are removed from the competition detail response for non-admins. The submission manager reads exactly those fields to decide whether to render the column and whether to pass show_visualization (src/static/riot/competitions/detail/submission_manager.tag, lines 79, 120, 233 and 253). For a participant they are now undefined, so the tab disappears.

Expected. Participants see detailed results whenever the organizer enables them, as before v1.33.

Suggested fix. Keep the three display switches in the non-admin representation, since they are display settings rather than secrets. Alternatively, send the frontend a computed participant-facing flag.

To reproduce.

  1. Take any competition with enable_detailed_results: true and show_detailed_results_in_submission_panel: true.
  2. Log in as a participant who is not a collaborator, and open a finished submission in the submission panel: there is no Visualization tab.
  3. Log in as the organizer: the tab is there.

The detailed result itself is still produced and is reachable through /api/submissions/<id>/get_details/ for the submission's owner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions