Skip to content

2026-01 POS V2#3939

Draft
laurelthorburn wants to merge 14 commits into2026-01from
pos-v2-docs
Draft

2026-01 POS V2#3939
laurelthorburn wants to merge 14 commits into2026-01from
pos-v2-docs

Conversation

@laurelthorburn
Copy link
Contributor

@laurelthorburn laurelthorburn commented Feb 20, 2026

Background

Closes https://github.com/Shopify/temp-project-mover-Archetypically-20260312105649/issues/388

TL;DR: We are ready to begin the migration of POS docs to the latest major gen docs release.

Solution

  • Doc generation: Added /** @publicDocs */ immediately before every top level interface for POS ONLY.

  • Why this approach: The existing doc pipeline uses @publicDocs to decide what to include; adding the tag is the minimal, consistent fix and matches how other public API surfaces are documented.

yarn docs:point-of-sale 2026-01 to generate the generated docs data v2 json file in the shopify-dev repo

Checklist

  • I have 🎩'd these changes
  • I have updated relevant documentation

@laurelthorburn laurelthorburn changed the title Pos v2 docs 2026-01 POS V2 Feb 20, 2026
@laurelthorburn laurelthorburn force-pushed the pos-v2-docs branch 2 times, most recently from 22bf516 to bbfc6f0 Compare March 3, 2026 22:30
laurelthorburn and others added 12 commits March 12, 2026 16:04
Ensures ClickableEvents and other Events/Slots (EmptyStateSlots,
ChoiceListEvents, DateFieldEvents, ModalEvents, ModalSlots,
TextFieldEvents, TextFieldSlots, SearchFieldEvents, TimeFieldEvents,
NumberFieldEvents, NumberFieldSlots, DatePickerEvents, DateSpinnerEvents,
SectionSlots, TimePickerEvents, PageSlots, PosBlockSlots) are included
in generated POS docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
- Add @publicdocs to Events and Slots interfaces in point-of-sale components.d.ts
- Add @publicdocs to component/object interfaces (Button, Clickable, SearchField,
  DatePicker, Modal, etc.) so they appear as top-level keys in generated_docs_data_v2.json
- Add @publicdocs to EmbedProps, TabListJSXProps; Navigation and Window in navigation-api
- Ensures all 86 types referenced in 2026-01 MDX are emitted to v2 (no fallback needed)

Co-authored-by: Cursor <cursoragent@cursor.com>
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