Skip to content

Comments

[Components content]: Default example descriptions for 2025-01#3960

Open
SteveSill wants to merge 84 commits into2025-01from
2024-10-default-example-descriptions
Open

[Components content]: Default example descriptions for 2025-01#3960
SteveSill wants to merge 84 commits into2025-01from
2024-10-default-example-descriptions

Conversation

@SteveSill
Copy link
Contributor

Summary

This PR adds new descriptions to the defaultExample of all 36 admin UI components for 2025-01.

What changed

  • 36 .doc.ts files updated with description fields in defaultExample blocks
  • No code, example files, subSections, definitions, or other fields modified
  • Descriptions are identical to the approved 2025-07 versions (PR [Components content]: Default example descriptions for 2025-07 #3952), as the example code is byte-identical across these versions

Made with Cursor

github-actions bot and others added 30 commits October 1, 2024 15:14
Patches 2024-10 with support for UI Extension unmounting in host to enable teardown functions in client
Update one page checkout asset on `.dev` docs for `2024-10` API version
mcvinci and others added 28 commits November 24, 2025 00:59
…rop-descriptions

[POS UI extensions]: Improved target, API, and component descriptions for 2024-10
…mponent-doc

Remove deprecated `ActionItem` component doc
* IA for Target APIs and components

Remove docs on APIs that don't exist yet

linting

linting

* Fix docs generation
* Add and improve descriptions for Target APIs

* Resource Picker API revisions

* Description feedback from Steve

Revamp limitations + best practices

Further revisions

Revise newly added descriptions

(cherry picked from commit b1ffa70)

Fixes:

Type fixes

Fix docs generation

(cherry picked from commit 812f1b2)
(cherry picked from commit 7706f01)
(cherry picked from commit a9fa908)
(cherry picked from commit 8665a41)
Co-authored-by: Cursor <cursoragent@cursor.com>

* Remove accidentally added types

* Integrate feedback from Steve

* Update Standard API description to match available features

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
…path-2024-10

Chore/update shopify dev asset path 2024 10
…-docs-2024-10

chore: update all paths in build-docs scripts 2024-10
Co-authored-by: Cursor <cursoragent@cursor.com>
[Target APIs content]: Examples and descriptions for 2024-10
… handling to targets.json scripts

- Customer-account: Add generic recursive component parsing for AllComponents
  - Correctly resolves to 63 customer-account components (not checkout's 60)
  - Excludes Chat (not in shared-checkout-components.ts)
  - Includes local components (Card, Avatar, etc.)
  - Excludes @internal components (PolicyModal)
- Admin: Add RunnableExtension support for should-render targets (27 new targets)
- Admin: Add parseInlineComponentTypes for Pick/Omit handling
  - CustomerSegmentTemplateComponent correctly has 2 components
  - AllComponents correctly excludes 3 omitted components
- Checkout: Add RunnableExtension support for address-autocomplete targets
- Checkout: Add @Private target exclusion
- POS: Add parseInlineComponentTypes for Pick handling
  - ActionComponents correctly has 1 component (Button)
  - SmartGridComponents correctly has 1 component (Tile)
- All scripts: Add @Private JSDoc exclusion for targets
* Make API headings consistent for Admin UI

Co-authored-by: Cursor <cursoragent@cursor.com>

* Make API headings consistent for POS UI

Co-authored-by: Cursor <cursoragent@cursor.com>

Minor fixes

Remove files

Update remaining POS API headings to Methods

Co-authored-by: Cursor <cursoragent@cursor.com>

* Remove reference to non-existent loading prop on Button

Co-authored-by: Cursor <cursoragent@cursor.com>

* Rename 'Methods' to 'Properties' in API headings and descriptions

Co-authored-by: Cursor <cursoragent@cursor.com>

* Remove 'methods' from API description text, use 'properties' instead

Co-authored-by: Cursor <cursoragent@cursor.com>

* Revert title for applyMetafieldChange back to original name

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
fix handling of action target api
* Remove component name code styling

* Linting
* Intros, best practices, limitations, and prop descriptions

Linting

Prop descriptions

Linting

Prop description improvements

* Remove component name code styling

Restore links + catch other code syntax instances

Linting

* Fix extension-targets.ts component name code styling

Co-authored-by: Cursor <cursoragent@cursor.com>

* Update selection-action target descriptions

Co-authored-by: Cursor <cursoragent@cursor.com>

* Incorporate feedback from Steve

* Integrate feedback from tech writers session

Co-authored-by: Cursor <cursoragent@cursor.com>

* Integrate feedback from Steve

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
[Components content]: Examples for 2024-10
Co-authored-by: Cursor <cursoragent@cursor.com>
@SteveSill SteveSill self-assigned this Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.