Skip to content

Comments

[Components content]: Default example descriptions for 2024-10#3961

Open
SteveSill wants to merge 77 commits into2024-10from
2024-07-default-example-descriptions
Open

[Components content]: Default example descriptions for 2024-10#3961
SteveSill wants to merge 77 commits into2024-10from
2024-07-default-example-descriptions

Conversation

@SteveSill
Copy link
Contributor

Summary

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

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

Thomas and others added 30 commits June 20, 2024 17:16
Doc changes for `purchase.checkout.shipping-option-item.render-after`
[2024-07] Fix doc generation on localdev
update generate-doc verision for 2024-07
properly supports double square brackets.
…out-asset

Update one page checkout asset on `.dev` docs for `2024-07` API version
[2024-07] Escape double quotes in config documentation
mcvinci and others added 28 commits November 18, 2025 11:13
…rop-descriptions

[POS UI extensions]: Improved target, API, and component descriptions for 2024-07
* IA for Target APIs and components

* linting

* Fix docs generation

* Remove new component docs
* 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)
(cherry picked from commit 9ae8b84)
Co-authored-by: Cursor <[email protected]>

* Remove accidentally added types

* Integrate feedback from Steve

---------

Co-authored-by: Cursor <[email protected]>
…path-2024-07

chore: update shopify-dev asset path
…-docs-2024-07

chore: update all paths in build-docs scripts 2024-07
[Target APIs content]: Examples and descriptions for 2024-07
… 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
Treat composite APIs as wrapper types: expand their constituent APIs
in the generated targets but do not list composite names in per-target
apis or API reverse mappings.
* Make API headings consistent for Admin UI

Co-authored-by: Cursor <[email protected]>

* Make API headings consistent for POS UI

Co-authored-by: Cursor <[email protected]>

Minor fixes

Remove files

Update remaining POS API headings to Methods

Co-authored-by: Cursor <[email protected]>

* Remove reference to non-existent loading prop on Button

Co-authored-by: Cursor <[email protected]>

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

Co-authored-by: Cursor <[email protected]>

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

Co-authored-by: Cursor <[email protected]>

* Revert title for applyMetafieldChange back to original name

Co-authored-by: Cursor <[email protected]>

---------

Co-authored-by: Cursor <[email protected]>
Exclude ActionTargetApi and StandardApi from POS targets JSON
* 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 <[email protected]>

* Update selection-action target descriptions

Co-authored-by: Cursor <[email protected]>

* Incorporate feedback from Steve

Co-authored-by: Cursor <[email protected]>

* Integrate feedback from tech writers session

Co-authored-by: Cursor <[email protected]>

* Integrate feedback from Steve

---------

Co-authored-by: Cursor <[email protected]>
[Components content]: Examples for 2024-07
@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.