Skip to content

Include natshelper stage prefixes in nametag CSV export#83

Merged
coder13 merged 1 commit into
mainfrom
codex/update-nametag-csv-export-for-natshelper-stages
May 22, 2026
Merged

Include natshelper stage prefixes in nametag CSV export#83
coder13 merged 1 commit into
mainfrom
codex/update-nametag-csv-export-for-natshelper-stages

Conversation

@coder13
Copy link
Copy Markdown
Owner

@coder13 coder13 commented May 21, 2026

Motivation

  • Ensure nametag CSV exports include stage-aware prefixes when a WCIF uses the natshelper extension so multi-stage assignments are exported correctly.

Description

  • Add a helper stagePrefixForNametags in src/pages/Competition/Export/index.tsx that derives a stage prefix from natshelper stage metadata and falls back to the room initial when unavailable.
  • Update competingAssignmentToText to use stagePrefixForNametags while leaving group-number formatting unchanged.
  • Change is limited to src/pages/Competition/Export/index.tsx and does not alter CSV column layout.

Testing

  • Ran yarn check:type which completed successfully.
  • Running npm run check:type failed in the container due to missing/incorrect tsc binary resolution in the environment and is unrelated to the code changes.

Codex Task

@coder13 coder13 merged commit a0a53ac into main May 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant