Skip to content

Fix variable export filename#187

Merged
jurei733 merged 1 commit into
masterfrom
fix-variable-export-filename
Jun 17, 2026
Merged

Fix variable export filename#187
jurei733 merged 1 commit into
masterfrom
fix-variable-export-filename

Conversation

@jurei733

Copy link
Copy Markdown
Collaborator

Summary

  • Use the filename passed to FileService.saveToFile() as the browser download name.
  • Strengthen the variable export specs to verify the full export payload and expected .variable.json filename.

Context

Refs #64. The variable import/export feature already exists, but exported files were still suggested as export.json because the shared file service ignored its filename argument.

Validation

  • npm run test:cc -- --include='projects/ngx-coding-components/src/lib/schemer/schemer.component.spec.ts' --include='projects/ngx-coding-components/src/lib/services/file.service.spec.ts'
  • npm run build_cc
  • Browser download smoke test against the demo app: exporting I01_HOTSPOT suggested I01_HOTSPOT.variable.json and produced an iqb-variable-export payload.

@jurei733 jurei733 marked this pull request as ready for review June 17, 2026 16:43
@jurei733 jurei733 merged commit 284e1d6 into master Jun 17, 2026
7 checks passed
@jurei733 jurei733 deleted the fix-variable-export-filename branch June 17, 2026 16:50
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