Repository navigation
use XDS component prefix - #9
Merged
Merged
Conversation
cixzhang
added a commit
that referenced
this pull request
Apr 26, 2026
* update component prefix * update component prefix * update filenames too * more updates
josephfarina
added a commit
that referenced
this pull request
Jun 1, 2026
Adds a subprocess e2e that places a hostile `gh` shim first on PATH (records invocations + exits 87) and runs the real CLI binary in non-interactive dry-run, --json, XDS_GAP_REPORT=off, and --list-categories modes. Asserts exit 0 and that the sentinel is never written, proving the dry-run-by-default safety gate (#2370/#2371) holds at the process boundary, not just in shouldActuallyFile unit logic. Closes checklist item #9 (prove no gh call via PATH shim) for gap-report.
This was referenced Jul 24, 2026
potatowagon
added a commit
to potatowagon/astryx
that referenced
this pull request
Oct 29, 2026
Review feedback from astracat-bot on meta#7723, confirmed by measurement. Lexical's getTextDirection builds its classes as character ranges over UTF-16 code units. The left-to-right class spans \u2C00-\uFB1C, which contains the whole surrogate range \uD800-\uDFFF, so the first code unit of any character outside the Basic Multilingual Plane reads as strongly left-to-right. The same class spans \u0800-\u1FFF, which takes Samaritan and Mandaic with it. Measured: ltr emoji + Hebrew '🎉 מזל טוב' ltr emoji + Arabic '👍 مرحبا' ltr Adlam '𞤀𞤣𞤤𞤢𞤥' ltr Samaritan 'ࠀࠁࠂ' A browser's own dir="auto" reads all four right-to-left, because UAX meta#9 P2 skips an emoji as a neutral and classifies a character by what it is rather than by how UTF-16 happens to encode it. Before this PR those paragraphs inherited the document's direction and so were right in a Hebrew document by luck; writing Lexical's answer out made them explicitly wrong. firstStrongDirection iterates the string, which yields whole code points, and classifies each against Unicode script properties. 19 cases checked, including the four above, digits and punctuation before Hebrew, emoji-only and empty text. Two tests added, both failing on the commit before this one.
potatowagon
added a commit
to potatowagon/astryx
that referenced
this pull request
Nov 3, 2026
Review feedback from astracat-bot on meta#7723, confirmed by measurement. Lexical's getTextDirection builds its classes as character ranges over UTF-16 code units. The left-to-right class spans \u2C00-\uFB1C, which contains the whole surrogate range \uD800-\uDFFF, so the first code unit of any character outside the Basic Multilingual Plane reads as strongly left-to-right. The same class spans \u0800-\u1FFF, which takes Samaritan and Mandaic with it. Measured: ltr emoji + Hebrew '🎉 מזל טוב' ltr emoji + Arabic '👍 مرحبا' ltr Adlam '𞤀𞤣𞤤𞤢𞤥' ltr Samaritan 'ࠀࠁࠂ' A browser's own dir="auto" reads all four right-to-left, because UAX meta#9 P2 skips an emoji as a neutral and classifies a character by what it is rather than by how UTF-16 happens to encode it. Before this PR those paragraphs inherited the document's direction and so were right in a Hebrew document by luck; writing Lexical's answer out made them explicitly wrong. firstStrongDirection iterates the string, which yields whole code points, and classifies each against Unicode script properties. 19 cases checked, including the four above, digits and punctuation before Hebrew, emoji-only and empty text. Two tests added, both failing on the commit before this one.
Merged
8 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Per poll in the group, we want to keep the XDS prefix on components (XDSButton vs. Button). This updates the demo Button, adds component naming guidance, and updating other docs accordingly.
Checked storybook: