Skip to content

Make prompt completion screens data-driven - #170

Merged
pelikhan merged 2 commits into
mainfrom
copilot/update-prompt-screens-data-driven
Aug 27, 2026
Merged

Make prompt completion screens data-driven#170
pelikhan merged 2 commits into
mainfrom
copilot/update-prompt-screens-data-driven

Conversation

Copilot AI commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

The finish screen and copy-success dialog used hardcoded wording, preventing wizard owners from customizing the final instructions through wizard.json.

Changes

  • Configuration

    • Added finish-screen text, preview labels, copy errors, and success-dialog content to wizard.json.
  • Runtime rendering

    • Applied configured text and accessibility labels when loading the wizard.
    • Used configured clipboard failure messages while preserving fallback defaults.
  • Coverage

    • Added regression coverage for customized completion-screen content and accessible dialog labels.

Copilot AI and others added 2 commits August 27, 2026 17:35
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Make prompt completion screens data driven Make prompt completion screens data-driven Aug 27, 2026
Copilot AI requested a review from pelikhan August 27, 2026 17:39
@pelikhan
pelikhan marked this pull request as ready for review August 27, 2026 20:14

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed (matt-pocock perspective — TS/JS focus). The refactor cleanly moves finish-screen/copy-modal strings into wizard.json with sensible fallback defaults preserved in ui.js (dataset.failureLabel || 'Copy failed — try again', etc.), and setText/dataset guards use typeof value === 'string' checks consistently to avoid clobbering DOM text with non-string config. Test coverage was extended appropriately in wizard-config.test.js and a11y.test.js. Ran the full suite locally — 197/197 tests pass. No blocking issues found; no line comments needed.

Generated by Specialist PR Review for #170 · auto · 23.2 AIC · ⌖ 2.32 AIC · ⊞ 7.9K

@pelikhan
pelikhan merged commit 19c82db into main Aug 27, 2026
10 of 14 checks passed
@pelikhan
pelikhan deleted the copilot/update-prompt-screens-data-driven branch August 27, 2026 20:34
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.

2 participants