Skip to content

Comments

fix(client): prevent undefined.txt filename for daily coding challenge download#65882

Open
mahek2016 wants to merge 2 commits intofreeCodeCamp:mainfrom
mahek2016:fix-daily-challenge-filename
Open

fix(client): prevent undefined.txt filename for daily coding challenge download#65882
mahek2016 wants to merge 2 commits intofreeCodeCamp:mainfrom
mahek2016:fix-daily-challenge-filename

Conversation

@mahek2016
Copy link

Fixes #62018

Description

Daily Coding Challenge downloads were being saved as undefined.txt because dashedName was missing from the daily challenge metadata.

Changes

  • Added dashedName to baseChallengeProps
  • Added dashedName to challengeMeta
  • Ensures downloaded solution filename is challenge-{number}.txt

Checklist:

  • I have read and followed the contribution guidelines.
  • I have read and followed the how to open a pull request guide.
  • My pull request targets the main branch.
  • I have tested these changes locally.

@mahek2016 mahek2016 requested review from a team as code owners February 14, 2026 11:22
@github-actions github-actions bot added the platform: learn UI side of the client application that needs familiarity with React, Gatsby etc. label Feb 14, 2026
@majestic-owl448
Copy link
Contributor

majestic-owl448 commented Feb 14, 2026

the lint is failing, please test locally before creating a PR

also please show a demo of this working

@moT01 moT01 added the status: waiting update Is awaiting update, after feedback or request for changes label Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: learn UI side of the client application that needs familiarity with React, Gatsby etc. status: waiting update Is awaiting update, after feedback or request for changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Daily challenge solutions are saved as undefined.txt

3 participants