Skip to content

[WC-3223]: Rename Checkbox Radio Selector widget to Option Selector - #2403

Merged
gjulivan merged 2 commits into
mainfrom
wc-3223/rename-option-selector
Sep 17, 2026
Merged

gjulivan merged 2 commits into
mainfrom
wc-3223/rename-option-selector

Conversation

@rahmanunver

Copy link
Copy Markdown
Contributor

Closes WC-3223.

Renamed

Where From To
Studio Pro toolbox (<name>) Check box / radio selector Option Selector
Marketplace listing 245825 (appName) Checkbox Radio Selection Option Selector
package.json description, README, editor dropzones, design-time fallback captions, read-only style description old names Option Selector

<description> was empty and is now filled in — it mentions checkbox and radio button so toolbox and Marketplace search still find the widget.

CHANGELOG.md gets an [Unreleased] → Changed entry. No version bump.

Unchanged (keeps existing apps working)

Widget ID, package.xml, widgetName, mpk name, npm package name, folder, generated typings, and the widget-checkbox-radio-selection* CSS classes.

Verified: all 34 property keys and 141 XML attribute tokens are identical to main, git diff typings/ is empty, the runtime bundle contains no renamed strings, and the MPK filename plus every internal path are unchanged — so an upgrade is a drop-in replacement.

Note: widgets dropped in Studio Pro after this ships get auto-names like optionSelector1; existing instances keep theirs, so current e2e locators still match.

Build 7/7, unit tests 8/8.

@rahmanunver
rahmanunver requested a review from a team as a code owner August 27, 2026 15:14
@github-actions

This comment has been minimized.

@rahmanunver rahmanunver changed the title chore(checkbox-radio-selection-web): rename widget to Option Selector [WC-3223]: Rename Checkbox Radio Selector widget to Option Selector Aug 27, 2026
@gjulivan
gjulivan force-pushed the wc-3223/rename-option-selector branch from b50f349 to 0bd9f78 Compare September 10, 2026 13:12
@github-actions

This comment has been minimized.

Renames the user-facing name only: XML <name>, marketplace appName, package
description, editor placeholders, README. Adds a toolbox description that keeps
mentioning checkbox and radio button for discoverability.

Widget ID, widgetName, mpk name, npm package, folder and CSS classes are
unchanged, so existing app configurations keep working.
@gjulivan
gjulivan force-pushed the wc-3223/rename-option-selector branch from 0bd9f78 to 8787fba Compare September 15, 2026 10:45
@github-actions

Copy link
Copy Markdown
Contributor

AI Code Review

✅ Approved — no issues found


What was reviewed

File Change
src/CheckboxRadioSelection.xml <name> → "Option Selector"; empty <description> filled in; readOnlyStyle property description updated
package.json description and marketplace.appName updated to new name; identity fields (name, widgetName, mxpackage.*, appNumber) untouched
src/CheckboxRadioSelection.editorConfig.ts Three dropzone placeholder strings updated
src/helpers/utils.ts emptyStringFormat fallback caption updated
src/helpers/Preview/PreviewCaptionsProvider.tsx emptyCaption updated
src/helpers/Association/utils.ts Comment-only update
src/helpers/Database/utils.ts Comment-only update
src/helpers/EnumBool/utils.ts Comment-only update
src/helpers/Static/utils.ts Comment-only update
src/ui/CheckboxRadioSelection.scss Banner comment updated; CSS class names unchanged
src/ui/CheckboxRadioSelectionPreview.scss Banner comment updated
CHANGELOG.md [Unreleased] → Changed entry added
README.md Title and usage step updated
openspec/changes/rename-option-selector/ New OpenSpec change artifacts (design, proposal, spec, tasks)

Skipped (out of scope): dist/, pnpm-lock.yaml, OpenSpec YAML/markdown artifacts (non-runtime)

⚠️ CI check status could not be fetched automatically. PR body states: Build 7/7, unit tests 8/8.


Positives

  • Identity preservation is airtight: widget ID, widgetName, mxpackage.*, packagePath, appNumber, CSS class prefix widget-checkbox-radio-selection*, and the mpk name are all unchanged — zero upgrade impact for existing apps is guaranteed.
  • The new <description> explicitly names both "checkbox" and "radio button", satisfying the toolbox/Marketplace search discoverability requirement without cluttering the display name.
  • The rename sweep is complete and consistent: every user-visible surface (toolbox, Marketplace, editor dropzones, structure-preview fallback captions, README, CHANGELOG) reads "Option Selector" with no half-renamed copy left behind.
  • No version bump added — correctly deferred to release automation as per repo convention.
  • CHANGELOG entry is user-facing and informative without leaking implementation details.

@gjulivan
gjulivan merged commit cc6b95e into main Sep 17, 2026
13 of 14 checks passed
@gjulivan
gjulivan deleted the wc-3223/rename-option-selector branch September 17, 2026 07:25
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.

3 participants