Skip to content

docs(List): consolidate iOS measured fact beside touchAction in ListReorderHandle (#13746) - #13749

Merged
cixzhang merged 7 commits into
meta:mainfrom
Geervan:docs/list-reorder-handle-header-comment
Nov 25, 2026
Merged

cixzhang merged 7 commits into
meta:mainfrom
Geervan:docs/list-reorder-handle-header-comment

Conversation

@Geervan

@Geervan Geervan commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Addresses #13746 (follow-up from review of #11445).

In packages/core/src/List/ListReorderHandle.tsx, the file header previously included an 11-line paragraph describing UIKit/iOS reorder control measurements and event handling. This duplicated the explanations already documented in the comment directly above touchAction.

This cleans up the header to retain only standard JSDoc tags and consolidates the measured iOS fact right next to touchAction.

Changes

  • In packages/core/src/List/ListReorderHandle.tsx:
    • Removed the iOS/UIKit paragraph from the file header comment so only standard tags (@file, @input, @output, @position, and SYNC:) remain.
    • Moved the measured iOS delay fact (iOS 26.2, measured: UIKit's reorder control claims the drag after the scroll view's 150 ms content-touch delay; a flick scrolls instead) into the comment above touchAction.
  • No runtime behavior, styles, or APIs are changed.

Verification

  • node scripts/check-changesets.mjs: Valid (335 changesets passed).
  • vitest run packages/core/src/List/__tests__/reorderModel.test.ts: Passed (13/13 tests).
  • Pre-commit audits (lint-staged, eslint, prettier, and check:repo) passed.

Addresses the ListReorderHandle header part of #13746; its derivedVarRegistry.test.ts item stays open.

@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 25, 2026 12:59am UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 24, 2026
@astracat-bot

astracat-bot Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 25, 2026, 12:57 AM UTC

@github-actions github-actions Bot added community Authored by a community contributor (not on the eng/design team) needs:code-review High-risk change (new package/component/API) — needs human code review before merge labels Nov 24, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes requested. The comment cleanup does what #13746 asks, but the branch now conflicts with main and needs a rebase before it can merge.

  • The header deletion no longer applies to main: #11445 rewrote that same paragraph there (packages/core/src/List/ListReorderHandle.tsx, lines 21-32 on main), so rebase onto main, delete that whole paragraph through its trailing * line, and keep main's @input and @output text (the touchAction change merges cleanly).

Two optional style notes are inline: the new sentence above touchAction runs 30 words with two topics, and the header is still 18 lines because @output carries behaviour prose.

Claims and files checked

Review mode: full; reason: no-earlier-review

  • Claim: the header keeps only its standard tags. Verified at lines 5-22.
  • Claim: the measured iOS fact moves into the comment above touchAction. Verified at lines 124-131.
  • Claim: no runtime behaviour, style or API changes. Verified: once comments are stripped, the code is identical to the branch's starting point.
  • Claim: the removed paragraph was 11 lines that repeated the touchAction comment. Verified at the branch's starting point; main has since rewritten it.
  • Claim: the changeset check passes with 335 changesets. Verified by rerunning it on this head.
  • Claim: the reorder model unit tests pass, 13 of 13. The file holds 13 tests; they were not rerun here.
  • Claim: the lint, format and repository checks passed. Not verified; no CI lint run exists for this head.
  • Claim: this fixes the linked issue. True against the branch's starting point, but not yet against main (see the blocking finding).
  • File packages/core/src/List/ListReorderHandle.tsx: one blocking finding (conflict with main) and two non-blocking style notes.

Automated review (maintainer link)

Maintainer merge. meta#11445 rewrote the header paragraph on main; the merge
keeps main's tags and drops that whole paragraph, as this change intends,
and keeps the iOS fact beside touchAction.
@cixzhang

Copy link
Copy Markdown
Contributor

/approve-spec d9cc27a

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · f5027d0

Storybook · Sandbox · built from this PR's head

Modified components

Component Size LoC Visual · A11y · RTL
List 19.7 kB (0) · 810 B CSS (0) — ✓ · ✓ · —
ListItem 84.2 kB (0) · 12.9 kB CSS (0) — ✓ · ✓ · ✓

Package size: @astryxdesign/core 8.04 MB packed (−350 B); no new dependencies.

Touched components checked; for the full suites, add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.


Generated by PR Enrichment workflow | View full report

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes requested. The merge from main cleared the earlier conflict, and the header cleanup now does what #13746 asks; one release-note fix remains.

  • Miss: no Changeset names @astryxdesign/core, so the required lint job's Changeset coverage check fails once CI runs; add a patch Changeset for @astryxdesign/core with a [docs] … No behavior change. line and @Geervan, as .changeset/bottomsheet-switcher-scrim-comment.md does for another comment-only Core change.

The optional note on the 30-word sentence above touchAction still stands, and the header is still 19 lines because @output carries behaviour prose. CI has not run on this head yet: a maintainer adds the ci:run label so it runs.

Claims and files checked

Review mode: full; reason: author-not-engowner

  • Claim: the header keeps only its standard tags. Verified at lines 5-23.
  • Claim: the measured iOS delay moves into the comment above touchAction. Verified at lines 177-184.
  • Claim: the removed paragraph repeated the touchAction comment. Verified for its iOS and touch-action sentences; its grip, icon and target sentences repeat the TARGET_SIZE, REORDER_GRIP_FALLBACK and handle-style comments instead.
  • Claim: no runtime behaviour, styles or APIs change. Verified: every changed line is a comment line.
  • Claim: the changeset check passes with 335 changesets. Verified on this head, where it validates 337 after the merge from main.
  • Claim: the reorder model unit tests pass, 13 of 13. The file holds 13 tests; they were not rerun here, and they do not exercise this file.
  • Claim: the lint, format and repository checks passed. Not verified; lint has not run on this head, and its Changeset coverage step will fail (the blocking finding).
  • Claim: this fixes the linked issue. Verified against main: the header holds only its tags, and the iOS fact appears once beside touchAction.
  • File packages/core/src/List/ListReorderHandle.tsx: one blocking finding (no Changeset for Core) and two non-blocking style notes.

Automated review (maintainer link)

Maintainer edit. Core changed, so a changeset names it.
@cixzhang

Copy link
Copy Markdown
Contributor

/approve-spec 057077d

Maintainer edit, comment only. The iOS measurement is its own sentence
beside touchAction, and the header's @output lists only the exports; the
handle's behaviour moves to ListReorderHandle's own doc comment.
@cixzhang

Copy link
Copy Markdown
Contributor

/approve-spec 25cec9c

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI. The header cleanup does what #13746 asks: the ListReorderHandle.tsx header holds only its tags, the iOS measurement sits once beside touchAction, and the code is unchanged. CI has not run on this head yet: a maintainer adds the ci:run label so it runs.

One optional note is inline: @output still leaves out the INSERTION_LINE_THICKNESS and reorderListStyle exports.

Claims and files checked

Review mode: full; reason: author-not-engowner

  • Claim: the header keeps only its standard tags. Verified at lines 5-18.
  • Claim: the measured iOS delay moves into the comment above touchAction. Verified at lines 175-177, where it is now its own sentence; the description quotes its earlier wording.
  • Claim: the removed paragraph repeated the touchAction comment. Verified for its iOS and touch-action sentences; its grip, icon and target sentences repeat the TARGET_SIZE, REORDER_GRIP_FALLBACK and handle-style comments instead.
  • Claim: no runtime behaviour, styles or APIs change. Verified: with comments removed, the base and head files are the same.
  • Claim: the changeset check passes with 335 changesets. Verified on this head, where it validates 338 after the merge from main and this pull request's own Changeset.
  • Claim: the reorder model unit tests pass, 13 of 13. The file holds 13 tests; they were not rerun here, and they do not import this file.
  • Claim: the lint, format and repository checks passed. Not verified, because lint has not run on this head; its Changeset coverage check passes when run on this head.
  • Claim: this fixes the linked issue. Verified: the header holds only its tags, the iOS fact appears once beside touchAction, and no behaviour changes.
  • Changeset claim: the header keeps only its tags. Verified at lines 5-18.
  • Changeset claim: the measured iOS timing sits once, beside the touch-action style. Verified in this file at lines 175-177.
  • Changeset claim: no behaviour change. Verified, as above.
  • File packages/core/src/List/ListReorderHandle.tsx: clear, with one optional note on the @output list.
  • File .changeset/list-reorder-handle-header-comment.md: clear; the changeset check validates it, and it covers @astryxdesign/core.

Automated review (maintainer link)

Maintainer edit, comment only: reorderListStyle and
INSERTION_LINE_THICKNESS were missing from the list.
@cixzhang

Copy link
Copy Markdown
Contributor

/approve-spec dd62f9a

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI. The header cleanup does what #13746 asks: the ListReorderHandle.tsx header holds only its tags, the iOS measurement sits once beside touchAction, @output now names every export, and the code is unchanged. CI has not run on this head yet: a maintainer adds the ci:run label so it runs.

The earlier inline notes are all addressed at this head.

Claims and files checked

Review mode: full; reason: author-not-engowner

  • Claim: the header keeps only its standard tags. Verified at lines 5-19.
  • Claim: the removed paragraph repeated the comment above touchAction. Verified for its iOS and touch-action sentences; its grip, icon and target sentences repeat the TARGET_SIZE, REORDER_GRIP_FALLBACK and handle-style comments instead.
  • Claim: the measured iOS delay moves into the comment above touchAction. Verified at lines 176-178, where it is now its own sentence; the description quotes an earlier wording.
  • Claim: no runtime behaviour, styles or APIs change. Verified: with comments removed, the base and head files are identical.
  • Claim: the changeset check passes with 335 changesets. Verified on this head, where it validates 338 after the merge from main and this pull request's own Changeset.
  • Claim: the reorder model unit tests pass, 13 of 13. Not rerun here; the file holds 13 tests and does not import the changed file.
  • Claim: the lint, format and repository checks passed. Not verified, because lint has not run on this head; its Changeset coverage check passes when run on this head.
  • Claim: this fixes the linked issue. Verified: the header holds only its tags, the iOS fact appears once beside touchAction, and no behaviour changes.
  • Changeset claim: the header keeps only its tags. Verified at lines 5-19.
  • Changeset claim: the measured iOS timing sits once, beside the touch-action style. Verified in this file at lines 176-178.
  • Changeset claim: no behaviour change. Verified, as above.
  • File packages/core/src/List/ListReorderHandle.tsx: clear.
  • File .changeset/list-reorder-handle-header-comment.md: clear; the changeset check validates it, and it covers @astryxdesign/core.

Automated review (maintainer link)

@cixzhang cixzhang added the ci:run A maintainer lets this outside contributor's pull request run CI (AST-030 FR17) label Nov 24, 2026
@cixzhang
cixzhang marked this pull request as draft November 24, 2026 21:45
@cixzhang
cixzhang marked this pull request as ready for review November 24, 2026 21:45
Maintainer merge. meta#11575 rewrote the same header on main: the merge keeps
main's code and its new exports and @position text, keeps the header to
its tags (@output now names every export, the handle option's placement
included), moves the handle's behaviour to its own doc comment, and keeps
the iOS measurement beside touchAction.
@cixzhang

Copy link
Copy Markdown
Contributor

/approve-spec c72a615

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI. The header cleanup does what #13746 asks: the ListReorderHandle.tsx header holds only its tags, the iOS measurement sits once beside touchAction, @output names every export (including the two layout helpers that arrived from main), and no code changes. The heavy CI suites have not run on this head yet; they run once this approval lands, before merge.

The earlier inline notes, the merge conflict with main included, are addressed at this head.

Claims and files checked

Review mode: full; reason: author-not-engowner

  • Claim: the header keeps only its standard tags. Verified at lines 6-19.
  • Claim: the removed paragraph repeated the comment above touchAction. Verified for its iOS and touch-action sentences; its grip, icon and target sentences repeat other comments in the file and the icon's default hidden state.
  • Claim: the measured iOS delay moves into the comment above touchAction. Verified at lines 184-186; the description quotes an earlier wording.
  • Claim: no runtime behaviour, styles or APIs change. Verified: every changed line in the source file is a comment.
  • Claim: the changeset check passes. Verified on this head, where it validates 342 Changesets after the merges from main.
  • Claim: the reorder model unit tests pass, 13 of 13. Not rerun here; the file holds 13 tests and does not import the changed file.
  • Claim: the lint, format and repository checks passed. Lint and typecheck pass in CI on this head.
  • Claim: the issue's other item stays open. Verified: the test-file tidy-up the issue added later is untouched here.
  • Changeset: the header keeps only its tags, the iOS timing sits once beside the touch-action style, and nothing behaves differently. Verified at lines 6-19 and 184-186.
  • File .changeset/list-reorder-handle-header-comment.md: clear; a [docs] patch note for @astryxdesign/core with its contributor line.
  • File packages/core/src/List/ListReorderHandle.tsx: clear; comment-only, and @output matches the file's nine exports.

Automated review (maintainer link)

@cixzhang
cixzhang marked this pull request as draft November 24, 2026 22:59
@cixzhang
cixzhang marked this pull request as ready for review November 24, 2026 23:00
@cixzhang

Copy link
Copy Markdown
Contributor

/approve-spec f5027d0

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved pending CI. The header cleanup does what #13746 asks: the ListReorderHandle.tsx header holds only its tags, the iOS measurement sits once beside touchAction, @output names every export, and no code changes. The latest merge from main leaves this pull request's own changes as they were. The heavy CI suites have not run on this head yet; they run once this approval lands, before merge.

Claims and files checked

Review mode: carry-forward; reason: none

  • Claim: the header keeps only its standard tags. Verified at lines 6-19.
  • Claim: the removed paragraph repeated the comment above touchAction. Verified for its iOS and touch-action sentences; its grip, icon and target sentences repeat other comments in the file and the icon's default hidden state.
  • Claim: the measured iOS delay moves into the comment above touchAction. Verified at lines 184-186; the description quotes an earlier wording.
  • Claim: no runtime behaviour, styles or APIs change. Verified: every changed line in the source file is a comment.
  • Claim: the changeset check passes. Verified on this head, where it validates 342 Changesets.
  • Claim: the reorder model unit tests pass, 13 of 13. Not rerun; only comments change and the test file does not import the changed file, so no test outcome can differ.
  • Claim: the lint, format and repository checks passed. Lint and typecheck pass in CI on this head.
  • Claim: the issue's other item stays open. Verified: that test file is untouched here.
  • Changeset: the header keeps only its tags, the iOS timing sits once beside the touch-action style, and nothing behaves differently. Verified at lines 6-19 and 184-186.
  • File .changeset/list-reorder-handle-header-comment.md: clear; a [docs] patch note for @astryxdesign/core with its contributor line.
  • File packages/core/src/List/ListReorderHandle.tsx: clear; comment-only, and @output matches the file's nine exports.

Automated review (maintainer link)

@github-actions github-actions Bot removed the needs:code-review High-risk change (new package/component/API) — needs human code review before merge label Nov 25, 2026
@cixzhang
cixzhang merged commit 2a419f3 into meta:main Nov 25, 2026
147 of 150 checks passed
@cixzhang

Copy link
Copy Markdown
Contributor

🤖 (Posted by Cindy's agent.) Merged, thank you @Geervan! The reorder handle's file header is now just its tags, and the iOS measurement sits right beside touchAction, so each fact lives in one place. Thanks for picking this up so quickly, and for bearing with the merge from main.

This branch was successfully deployed

1 active deployment
Preview — f5027d06 Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:run A maintainer lets this outside contributor's pull request run CI (AST-030 FR17) CLA Signed This label is managed by the Meta Open Source bot. community Authored by a community contributor (not on the eng/design team)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants