diff --git a/packages/pluggableWidgets/chart-playground-web/CHANGELOG.md b/packages/pluggableWidgets/chart-playground-web/CHANGELOG.md index 2553a94b7d..9d75acb936 100644 --- a/packages/pluggableWidgets/chart-playground-web/CHANGELOG.md +++ b/packages/pluggableWidgets/chart-playground-web/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Changed + +- We restored the code editor in the playground with syntax highlighting and invalid-JSON feedback. + ## [2.1.1] - 2025-07-15 ### Changed diff --git a/packages/pluggableWidgets/chart-playground-web/openspec/changes/fix-restore-playground-editor/.openspec.yaml b/packages/pluggableWidgets/chart-playground-web/openspec/changes/fix-restore-playground-editor/.openspec.yaml new file mode 100644 index 0000000000..4247cda326 --- /dev/null +++ b/packages/pluggableWidgets/chart-playground-web/openspec/changes/fix-restore-playground-editor/.openspec.yaml @@ -0,0 +1,2 @@ +schema: tdd-refactor +created: 2026-07-06 diff --git a/packages/pluggableWidgets/chart-playground-web/openspec/changes/fix-restore-playground-editor/design.md b/packages/pluggableWidgets/chart-playground-web/openspec/changes/fix-restore-playground-editor/design.md new file mode 100644 index 0000000000..58788070ba --- /dev/null +++ b/packages/pluggableWidgets/chart-playground-web/openspec/changes/fix-restore-playground-editor/design.md @@ -0,0 +1,85 @@ +## Test Cases + +All unit tests, `@testing-library/react`, in +`packages/pluggableWidgets/chart-playground-web/src/components/__tests__/CodeEditor.spec.tsx` +(new file — `CodeEditor` has no tests today). + +The editor is `react-simple-code-editor`, which renders a real `