Skip to content

[Components]: Description improvements for version 2025-07#3877

Merged
mcvinci merged 6 commits into2025-07from
admin-ui-component-descriptions-2025-07
Feb 19, 2026
Merged

[Components]: Description improvements for version 2025-07#3877
mcvinci merged 6 commits into2025-07from
admin-ui-component-descriptions-2025-07

Conversation

@mcvinci
Copy link
Copy Markdown
Contributor

@mcvinci mcvinci commented Feb 8, 2026

This PR:

@mcvinci mcvinci self-assigned this Feb 8, 2026
@mcvinci mcvinci changed the base branch from 2026-04-rc to 2025-07 February 8, 2026 03:42
@mcvinci mcvinci force-pushed the admin-ui-component-descriptions-2025-07 branch 3 times, most recently from 0249584 to 497ba00 Compare February 8, 2026 23:44
@mcvinci mcvinci marked this pull request as ready for review February 9, 2026 01:28
@mcvinci mcvinci requested a review from SteveSill February 9, 2026 01:28
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 9, 2026

We detected some changes in packages/*/package.json or packages/*/src, and there are no updates in the .changeset directory. If the changes are user-facing and should cause a version bump, run yarn changeset to track your changes and include them in the next release CHANGELOG. If you are making simple updates to repo configuration, examples, or documentation, you do not need to add a changeset.

@mcvinci mcvinci added the #gsd:49303 Shopify Dev Docs: UI Extension Reference Docs: Quality & Completeness label Feb 10, 2026
@mcvinci mcvinci force-pushed the admin-ui-component-descriptions-2025-07 branch 2 times, most recently from ccf1298 to b704a5c Compare February 13, 2026 02:35
Linting

Prop descriptions

Linting

Prop description improvements
Restore links + catch other code syntax instances

Linting
@mcvinci mcvinci force-pushed the admin-ui-component-descriptions-2025-07 branch from e22c452 to 94b8a2c Compare February 17, 2026 23:20
Copy link
Copy Markdown
Contributor

@SteveSill SteveSill left a comment

Choose a reason for hiding this comment

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

Hey! Looking really good. This one took' a while, and I still don't think I got to everything.

I noticed some trends around 'then' placement, 'may' vs. 'might', and 'only' positioning. I'll add them here:

L2. Missing "then" in conditionals (23 instances)

Per style guide: "Include 'then' in conditional sentences ('If X, then Y')."

Pattern: "If/When X, Y""If/When X, then Y"

Files affected:

  • shared/index.ts (7x): lines 126, 155, 163, 960, 968, 1008, 1017
  • Checkbox.ts (2x): lines 17, 61
  • ColorPicker.ts (4x): lines 17, 18, 27, 28
  • ChoiceList.ts (2x): lines 47, 48
  • Banner.ts: line 22
  • Section.ts: line 12
  • FunctionSettings.ts (2x): lines 17, 19
  • AdminAction.ts: line 12
  • AdminBlock.ts: line 11
  • AdminPrintAction.ts: line 10

L3. "may" → "might" for possibility (11 instances)

Per style guide: Use "might" for possibility, "may" for permission only.

Pattern: "may [verb]""might [verb]" when expressing possibility.

Files affected:

  • Button.doc.ts: line 55
  • Section.doc.ts: line 52
  • Heading.doc.ts: line 53
  • AdminBlock.doc.ts (2x): lines 45, 54
  • Link.doc.ts (2x): lines 51, 53
  • MoneyField.doc.ts (2x): lines 45, 52
  • DateField.doc.ts: line 53
  • shared/index.ts: line 140

L4. "only" mispositioned (8 instances)

Per style guide: "Position 'only' next to the word it modifies."

Pattern: "can only be used in""can be used only in"

Files affected:

  • AdminAction.doc.ts: line 52
  • AdminBlock.doc.ts: line 52
  • AdminPrintAction.doc.ts: line 52
  • Badge.doc.ts: line 53
  • EmailField.doc.ts: line 53
  • Paragraph.doc.ts: line 53
  • ProgressIndicator.doc.ts: line 51
  • shared/index.ts: line 1379

Comment thread packages/ui-extensions/src/surfaces/admin/components/Icon/Icon.doc.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/Icon/Icon.ts
Comment thread packages/ui-extensions/src/surfaces/admin/components/shared/index.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/shared/index.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/DatePicker/DatePicker.doc.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/Badge/Badge.doc.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/Badge/Badge.doc.ts Outdated
Co-authored-by: Cursor <cursoragent@cursor.com>
Copy link
Copy Markdown
Contributor

@SteveSill SteveSill left a comment

Choose a reason for hiding this comment

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

Stumbled on a few issues with 2024-10 that made me circle back to this one. 😄

Comment thread packages/ui-extensions/src/surfaces/admin/components/TextField/TextField.doc.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/TextField/TextField.doc.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/TextArea/TextArea.doc.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/Select/Select.doc.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/DateField/DateField.doc.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/MoneyField/MoneyField.doc.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/Image/Image.doc.ts Outdated
Comment thread packages/ui-extensions/src/surfaces/admin/components/Image/Image.doc.ts Outdated
@mcvinci mcvinci merged commit 097f305 into 2025-07 Feb 19, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Admin UI Extensions documentation Improvements or additions to documentation #gsd:49303 Shopify Dev Docs: UI Extension Reference Docs: Quality & Completeness UI components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants