Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report🔎 Preview ·
|
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| charts/Chart | 108.2 kB (not measured) · 458 B CSS (not measured) | — | — · — · — |
| charts/ChartTooltip | 85.0 kB (not measured) · 386 B CSS (not measured) | 352 (not measured) | — · — · — |
| AlertDialog · Storybook | 54.6 kB (not measured) · 12.4 kB CSS (not measured) | 182 (not measured) | — · — · — |
202 more components
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| AppShell · Storybook | 55.7 kB (not measured) · 11.6 kB CSS (not measured) | 608 (not measured) | — · — · — |
| AspectRatio | 3.7 kB (not measured) · 3.5 kB CSS (not measured) | — | — · — · — |
| Avatar | 37.5 kB (not measured) · 6.3 kB CSS (not measured) | — | — · — · — |
| AvatarGroup | 39.8 kB (not measured) · 6.4 kB CSS (not measured) | — | — · — · — |
| AvatarGroupOverflow | 39.9 kB (not measured) · 6.4 kB CSS (not measured) | — | — · — · — |
| AvatarStatusDot | 7.1 kB (not measured) · 3.4 kB CSS (not measured) | — | — · — · — |
| Badge · Storybook | 3.9 kB (not measured) · 3.8 kB CSS (not measured) | 217 (not measured) | — · — · — |
| Banner · Storybook | 47.8 kB (not measured) · 9.9 kB CSS (not measured) | 487 (not measured) | — · — · — |
| BaseTypeahead | 53.8 kB (not measured) · 9.9 kB CSS (not measured) | — | — · — · — |
| Blockquote | 3.5 kB (not measured) · 3.4 kB CSS (not measured) | — | — · — · — |
| BottomSheet | 26.0 kB (not measured) · 7.7 kB CSS (not measured) | — | — · — · — |
| BottomSheetSwitcher | 9.2 kB (not measured) · 3.3 kB CSS (not measured) | — | — · — · — |
| BreadcrumbItem | 65.9 kB (not measured) · 11.0 kB CSS (not measured) | — | — · — · — |
| Breadcrumbs | 22.4 kB (not measured) · 3.3 kB CSS (not measured) | — | — · — · — |
| Button · Storybook | 43.3 kB (not measured) · 9.2 kB CSS (not measured) | 584 (not measured) | — · — · — |
| ButtonGroup · Storybook | 8.4 kB (not measured) · 3.3 kB CSS (not measured) | 128 (not measured) | — · — · — |
| Calendar · Storybook | 54.9 kB (not measured) · 10.0 kB CSS (not measured) | 1,641 (not measured) | — · — · — |
| Card | 6.4 kB (not measured) · 6.3 kB CSS (not measured) | — | — · — · — |
| Carousel · Storybook | 50.2 kB (not measured) · 10.2 kB CSS (not measured) | 486 (not measured) | — · — · — |
| Center · Storybook | 4.2 kB (not measured) · 4.6 kB CSS (not measured) | 118 (not measured) | — · — · — |
| ChatComposer | 60.4 kB (not measured) · 10.8 kB CSS (not measured) | — | — · — · — |
| ChatComposerDrawer | 23.9 kB (not measured) · 4.5 kB CSS (not measured) | — | — · — · — |
| ChatComposerInput | 55.5 kB (not measured) · 10.1 kB CSS (not measured) | — | — · — · — |
| ChatComposerTokenElement | 55.5 kB (not measured) · 10.1 kB CSS (not measured) | — | — · — · — |
| ChatDictationButton | 46.5 kB (not measured) · 9.5 kB CSS (not measured) | — | — · — · — |
| ChatLayout | 48.8 kB (not measured) · 9.9 kB CSS (not measured) | — | — · — · — |
| ChatLayoutScrollButton | 46.4 kB (not measured) · 9.6 kB CSS (not measured) | — | — · — · — |
| ChatMessage | 23.1 kB (not measured) · 3.5 kB CSS (not measured) | — | — · — · — |
| ChatMessageBubble | 7.0 kB (not measured) · 3.6 kB CSS (not measured) | — | — · — · — |
| ChatMessageList | 28.4 kB (not measured) · 7.8 kB CSS (not measured) | — | — · — · — |
| ChatMessageMetadata | 25.8 kB (not measured) · 3.9 kB CSS (not measured) | — | — · — · — |
| ChatSendButton | 45.8 kB (not measured) · 9.2 kB CSS (not measured) | — | — · — · — |
| ChatSystemMessage | 6.7 kB (not measured) · 3.7 kB CSS (not measured) | — | — · — · — |
| ChatTokenizedText | 6.9 kB (not measured) · 3.9 kB CSS (not measured) | — | — · — · — |
| ChatToolCalls | 31.9 kB (not measured) · 8.9 kB CSS (not measured) | — | — · — · — |
| CheckboxIndicator | 4.1 kB (not measured) · 3.8 kB CSS (not measured) | — | — · — · — |
| CheckboxInput · Storybook | 49.4 kB (not measured) · 9.3 kB CSS (not measured) | 355 (not measured) | — · — · — |
| CheckboxList | 46.0 kB (not measured) · 8.1 kB CSS (not measured) | — | — · — · — |
| CheckboxListItem | 53.6 kB (not measured) · 10.5 kB CSS (not measured) | — | — · — · — |
| CheckIndicator | 9.0 kB (not measured) · 3.6 kB CSS (not measured) | — | — · — · — |
| Citation · Storybook | 25.9 kB (not measured) · 4.1 kB CSS (not measured) | 229 (not measured) | — · — · — |
| ClickableCard · Storybook | 12.8 kB (not measured) · 6.9 kB CSS (not measured) | 229 (not measured) | — · — · — |
| Code · Storybook | 3.5 kB (not measured) · 3.4 kB CSS (not measured) | 81 (not measured) | — · — · — |
| CodeBlock · Storybook | 60.5 kB (not measured) · 10.7 kB CSS (not measured) | 2,179 (not measured) | — · — · — |
| Collapsible | 11.7 kB (not measured) · 4.2 kB CSS (not measured) | — | — · — · — |
| CollapsibleGroup | 6.4 kB (not measured) · 3.2 kB CSS (not measured) | — | — · — · — |
| CommandPalette | 49.2 kB (not measured) · 11.8 kB CSS (not measured) | — | — · — · — |
| CommandPaletteEmpty | 6.1 kB (not measured) · 3.3 kB CSS (not measured) | — | — · — · — |
| CommandPaletteFooter | 23.3 kB (not measured) · 3.5 kB CSS (not measured) | — | — · — · — |
| CommandPaletteGroup | 3.5 kB (not measured) · 3.3 kB CSS (not measured) | — | — · — · — |
| CommandPaletteInput | 31.9 kB (not measured) · 8.1 kB CSS (not measured) | — | — · — · — |
| CommandPaletteItem | 8.4 kB (not measured) · 3.5 kB CSS (not measured) | — | — · — · — |
| CommandPaletteList | 22.4 kB (not measured) · 3.3 kB CSS (not measured) | — | — · — · — |
| ComplexSelector · Storybook | 55.3 kB (not measured) · 10.6 kB CSS (not measured) | 646 (not measured) | — · — · — |
| ContextMenu · Storybook | 77.3 kB (not measured) · 14.5 kB CSS (not measured) | 678 (not measured) | — · — · — |
| ContextMenuItem | 16.6 kB (not measured) · 5.2 kB CSS (not measured) | — | — · — · — |
| DateInput · Storybook | 92.5 kB (not measured) · 14.6 kB CSS (not measured) | 3,532 (not measured) | — · — · — |
| DateRangeInput · Storybook | 69.0 kB (not measured) · 11.2 kB CSS (not measured) | 621 (not measured) | — · — · — |
| DateTimeInput · Storybook | 102.6 kB (not measured) · 15.1 kB CSS (not measured) | 3,609 (not measured) | — · — · — |
| Dialog | 13.7 kB (not measured) · 7.1 kB CSS (not measured) | — | — · — · — |
| DialogHeader | 48.8 kB (not measured) · 9.8 kB CSS (not measured) | — | — · — · — |
| Divider · Storybook | 6.5 kB (not measured) · 3.6 kB CSS (not measured) | 153 (not measured) | — · — · — |
| Drawer | 29.3 kB (not measured) · 8.0 kB CSS (not measured) | — | — · — · — |
| DrawerHeader | 48.9 kB (not measured) · 11.2 kB CSS (not measured) | — | — · — · — |
| DropdownMenu | 72.2 kB (not measured) · 14.6 kB CSS (not measured) | — | — · — · — |
| DropdownMenuCheckboxItem | 16.1 kB (not measured) · 5.6 kB CSS (not measured) | — | — · — · — |
| DropdownMenuDivider | 6.6 kB (not measured) · 3.6 kB CSS (not measured) | — | — · — · — |
| DropdownMenuGroup | 6.1 kB (not measured) · 3.3 kB CSS (not measured) | — | — · — · — |
| DropdownMenuItem | 15.4 kB (not measured) · 5.2 kB CSS (not measured) | — | — · — · — |
| DropdownMenuRadioGroup | 6.0 kB (not measured) · 3.2 kB CSS (not measured) | — | — · — · — |
| DropdownMenuRadioItem | 16.2 kB (not measured) · 5.6 kB CSS (not measured) | — | — · — · — |
| DropdownMenuSubMenu | 57.5 kB (not measured) · 9.5 kB CSS (not measured) | — | — · — · — |
| EmptyState · Storybook | 7.6 kB (not measured) · 3.5 kB CSS (not measured) | 143 (not measured) | — · — · — |
| Field | 44.2 kB (not measured) · 8.0 kB CSS (not measured) | — | — · — · — |
| FieldLabel | 39.8 kB (not measured) · 6.5 kB CSS (not measured) | — | — · — · — |
| FieldStatus · Storybook | 10.3 kB (not measured) · 4.2 kB CSS (not measured) | 158 (not measured) | — · — · — |
| FileInput · Storybook | 53.7 kB (not measured) · 10.3 kB CSS (not measured) | 724 (not measured) | — · — · — |
| FormLayout | 6.3 kB (not measured) · 3.4 kB CSS (not measured) | — | — · — · — |
| Grid | 4.3 kB (not measured) · 3.7 kB CSS (not measured) | — | — · — · — |
| GridSpan | 3.4 kB (not measured) · 3.2 kB CSS (not measured) | — | — · — · — |
| Heading | 9.1 kB (not measured) · 6.8 kB CSS (not measured) | — | — · — · — |
| HoverCard · Storybook | 17.2 kB (not measured) · 4.9 kB CSS (not measured) | 683 (not measured) | — · — · — |
| HStack | 7.3 kB (not measured) · 4.9 kB CSS (not measured) | — | — · — · — |
| Icon · Storybook | 8.8 kB (not measured) · 3.6 kB CSS (not measured) | 621 (not measured) | — · — · — |
| IconButton · Storybook | 43.3 kB (not measured) · 9.2 kB CSS (not measured) | 17 (not measured) | — · — · — |
| InputGroup | 44.8 kB (not measured) · 8.0 kB CSS (not measured) | — | — · — · — |
| InputGroupText | 6.3 kB (not measured) · 3.7 kB CSS (not measured) | — | — · — · — |
| Item · Storybook | 11.4 kB (not measured) · 4.7 kB CSS (not measured) | 1,372 (not measured) | — · — · — |
| Kbd · Storybook | 6.7 kB (not measured) · 3.5 kB CSS (not measured) | 140 (not measured) | — · — · — |
| LayerProvider | 63.2 kB (not measured) · 10.1 kB CSS (not measured) | — | — · — · — |
| Layout | 8.1 kB (not measured) · 5.5 kB CSS (not measured) | — | — · — · — |
| LayoutContent | 7.4 kB (not measured) · 4.9 kB CSS (not measured) | — | — · — · — |
| LayoutFooter | 7.3 kB (not measured) · 4.8 kB CSS (not measured) | — | — · — · — |
| LayoutHeader | 7.4 kB (not measured) · 4.8 kB CSS (not measured) | — | — · — · — |
| LayoutPanel | 7.6 kB (not measured) · 4.8 kB CSS (not measured) | — | — · — · — |
| Lightbox · Storybook | 49.5 kB (not measured) · 9.8 kB CSS (not measured) | 751 (not measured) | — · — · — |
| Link | 43.5 kB (not measured) · 7.6 kB CSS (not measured) | — | — · — · — |
| LinkProvider | 3.5 kB (not measured) · 20 B CSS (not measured) | — | — · — · — |
| List | 6.7 kB (not measured) · 3.4 kB CSS (not measured) | — | — · — · — |
| ListItem | 53.0 kB (not measured) · 10.5 kB CSS (not measured) | — | — · — · — |
| Markdown · Storybook | 143.9 kB (not measured) · 17.2 kB CSS (not measured) | 8,690 (not measured) | — · — · — |
| MetadataList | 23.1 kB (not measured) · 3.6 kB CSS (not measured) | — | — · — · — |
| MetadataListItem | 6.5 kB (not measured) · 3.4 kB CSS (not measured) | — | — · — · — |
| MobileNav | 48.8 kB (not measured) · 10.1 kB CSS (not measured) | — | — · — · — |
| MobileNavToggle | 46.2 kB (not measured) · 9.4 kB CSS (not measured) | — | — · — · — |
| MoreMenu · Storybook | 72.5 kB (not measured) · 14.6 kB CSS (not measured) | 87 (not measured) | — · — · — |
| MultiSelector · Storybook | 75.7 kB (not measured) · 14.5 kB CSS (not measured) | 2,631 (not measured) | — · — · — |
| NavHeadingMenu | 8.9 kB (not measured) · 3.2 kB CSS (not measured) | — | — · — · — |
| NavIcon | 3.4 kB (not measured) · 3.3 kB CSS (not measured) | — | — · — · — |
| NumberInput · Storybook | 55.6 kB (not measured) · 10.7 kB CSS (not measured) | 1,144 (not measured) | — · — · — |
| Outline · Storybook | 28.6 kB (not measured) · 4.0 kB CSS (not measured) | 1,216 (not measured) | — · — · — |
| OverflowList · Storybook | 8.5 kB (not measured) · 3.5 kB CSS (not measured) | 229 (not measured) | — · — · — |
| Overlay · Storybook | 19.5 kB (not measured) · 3.8 kB CSS (not measured) | 451 (not measured) | — · — · — |
| Pagination · Storybook | 87.3 kB (not measured) · 15.2 kB CSS (not measured) | 645 (not measured) | — · — · — |
| Popover · Storybook | 49.8 kB (not measured) · 12.0 kB CSS (not measured) | 977 (not measured) | — · — · — |
| PowerSearch · Storybook | 147.7 kB (not measured) · 18.5 kB CSS (not measured) | 3,948 (not measured) | — · — · — |
| ProgressBar · Storybook | 7.7 kB (not measured) · 6.6 kB CSS (not measured) | 387 (not measured) | — · — · — |
| RadioIndicator | 3.8 kB (not measured) · 3.7 kB CSS (not measured) | — | — · — · — |
| RadioList | 45.5 kB (not measured) · 8.0 kB CSS (not measured) | — | — · — · — |
| RadioListItem | 52.1 kB (not measured) · 9.7 kB CSS (not measured) | — | — · — · — |
| ResizeHandle | 25.1 kB (not measured) · 3.9 kB CSS (not measured) | — | — · — · — |
| ScrollableArea | 10.4 kB (not measured) · 4.3 kB CSS (not measured) | — | — · — · — |
| Section | 7.5 kB (not measured) · 6.2 kB CSS (not measured) | — | — · — · — |
| SegmentedControl | 38.8 kB (not measured) · 6.3 kB CSS (not measured) | — | — · — · — |
| SegmentedControlItem | 8.6 kB (not measured) · 3.9 kB CSS (not measured) | — | — · — · — |
| SelectableCard · Storybook | 12.8 kB (not measured) · 7.1 kB CSS (not measured) | 305 (not measured) | — · — · — |
| Selector | 78.7 kB (not measured) · 14.8 kB CSS (not measured) | — | — · — · — |
| SelectorOption | 14.5 kB (not measured) · 5.1 kB CSS (not measured) | — | — · — · — |
| SideNav | 55.8 kB (not measured) · 10.6 kB CSS (not measured) | — | — · — · — |
| SideNavCollapseButton | 46.6 kB (not measured) · 9.5 kB CSS (not measured) | — | — · — · — |
| SideNavHeading | 54.7 kB (not measured) · 10.1 kB CSS (not measured) | — | — · — · — |
| SideNavItem | 54.4 kB (not measured) · 10.1 kB CSS (not measured) | — | — · — · — |
| SideNavSection | 6.5 kB (not measured) · 3.6 kB CSS (not measured) | — | — · — · — |
| Skeleton · Storybook | 3.8 kB (not measured) · 3.6 kB CSS (not measured) | 130 (not measured) | — · — · — |
| Slider · Storybook | 48.4 kB (not measured) · 8.5 kB CSS (not measured) | 979 (not measured) | — · — · — |
| Spinner · Storybook | 26.3 kB (not measured) · 7.5 kB CSS (not measured) | 296 (not measured) | — · — · — |
| Stack | 7.1 kB (not measured) · 4.9 kB CSS (not measured) | — | — · — · — |
| StackItem | 6.0 kB (not measured) · 3.3 kB CSS (not measured) | — | — · — · — |
| StatusDot | 19.0 kB (not measured) · 6.2 kB CSS (not measured) | — | — · — · — |
| Step | 32.4 kB (not measured) · 5.3 kB CSS (not measured) | — | — · — · — |
| Stepper | 47.4 kB (not measured) · 9.6 kB CSS (not measured) | — | — · — · — |
| Switch · Storybook | 48.4 kB (not measured) · 9.3 kB CSS (not measured) | 569 (not measured) | — · — · — |
| Tab | 9.7 kB (not measured) · 4.1 kB CSS (not measured) | — | — · — · — |
| Table | 83.5 kB (not measured) · 15.0 kB CSS (not measured) | — | — · — · — |
| TableBody | 3.3 kB (not measured) · 3.2 kB CSS (not measured) | — | — · — · — |
| TableCell | 78.4 kB (not measured) · 14.6 kB CSS (not measured) | — | — · — · — |
| TableFooter | 3.3 kB (not measured) · 3.2 kB CSS (not measured) | — | — · — · — |
| TableHeader | 3.3 kB (not measured) · 3.2 kB CSS (not measured) | — | — · — · — |
| TableHeaderCell | 78.1 kB (not measured) · 14.6 kB CSS (not measured) | — | — · — · — |
| TableRow | 6.2 kB (not measured) · 3.5 kB CSS (not measured) | — | — · — · — |
| TableSelectionToolbar | 52.4 kB (not measured) · 11.2 kB CSS (not measured) | — | — · — · — |
| TabList | 40.2 kB (not measured) · 7.2 kB CSS (not measured) | — | — · — · — |
| TabMenu | 51.6 kB (not measured) · 10.0 kB CSS (not measured) | — | — · — · — |
| Text · Storybook | 8.6 kB (not measured) · 6.8 kB CSS (not measured) | 530 (not measured) | — · — · — |
| TextArea · Storybook | 48.9 kB (not measured) · 9.4 kB CSS (not measured) | 462 (not measured) | — · — · — |
| TextInput · Storybook | 53.1 kB (not measured) · 10.5 kB CSS (not measured) | 381 (not measured) | — · — · — |
| Thumbnail · Storybook | 50.1 kB (not measured) · 11.0 kB CSS (not measured) | 339 (not measured) | — · — · — |
| TimeInput · Storybook | 79.3 kB (not measured) · 13.6 kB CSS (not measured) | 1,245 (not measured) | — · — · — |
| Timer · Storybook | 9.2 kB (not measured) · 6.8 kB CSS (not measured) | 186 (not measured) | — · — · — |
| Timestamp · Storybook | 27.5 kB (not measured) · 9.5 kB CSS (not measured) | 674 (not measured) | — · — · — |
| Toast · Storybook | 59.8 kB (not measured) · 9.7 kB CSS (not measured) | 1,361 (not measured) | — · — · — |
| ToggleButton | 44.1 kB (not measured) · 9.3 kB CSS (not measured) | — | — · — · — |
| ToggleButtonGroup | 6.3 kB (not measured) · 3.2 kB CSS (not measured) | — | — · — · — |
| Token · Storybook | 29.6 kB (not measured) · 4.5 kB CSS (not measured) | 459 (not measured) | — · — · — |
| Tokenizer · Storybook | 64.3 kB (not measured) · 11.7 kB CSS (not measured) | 871 (not measured) | — · — · — |
| Toolbar · Storybook | 39.8 kB (not measured) · 7.7 kB CSS (not measured) | 269 (not measured) | — · — · — |
| Tooltip · Storybook | 16.8 kB (not measured) · 4.9 kB CSS (not measured) | 577 (not measured) | — · — · — |
| TopNav | 49.7 kB (not measured) · 10.4 kB CSS (not measured) | — | — · — · — |
| TopNavHeading | 54.2 kB (not measured) · 9.9 kB CSS (not measured) | — | — · — · — |
| TopNavItem | 9.0 kB (not measured) · 3.8 kB CSS (not measured) | — | — · — · — |
| TopNavMegaMenu | 54.2 kB (not measured) · 10.7 kB CSS (not measured) | — | — · — · — |
| TopNavMegaMenuFeaturedCard | 6.7 kB (not measured) · 3.4 kB CSS (not measured) | — | — · — · — |
| TopNavMegaMenuItem | 9.1 kB (not measured) · 4.1 kB CSS (not measured) | — | — · — · — |
| TopNavMenu | 53.6 kB (not measured) · 10.1 kB CSS (not measured) | — | — · — · — |
| TreeList · Storybook | 32.5 kB (not measured) · 4.7 kB CSS (not measured) | 872 (not measured) | — · — · — |
| Typeahead | 61.0 kB (not measured) · 11.3 kB CSS (not measured) | — | — · — · — |
| TypeaheadItem | 6.2 kB (not measured) · 3.4 kB CSS (not measured) | — | — · — · — |
| VStack | 7.3 kB (not measured) · 4.9 kB CSS (not measured) | — | — · — · — |
| lab/ChatEmojiPicker | 64.3 kB (not measured) · 773 B CSS (not measured) | — | — · — · — |
| lab/ChatReactionBar | 64.9 kB (not measured) · 1.1 kB CSS (not measured) | — | — · — · — |
| lab/ChatTypingIndicator | 23.5 kB (not measured) · 612 B CSS (not measured) | — | — · — · — |
| lab/ChatUnreadDivider | 3.5 kB (not measured) · 348 B CSS (not measured) | — | — · — · — |
| lab/CircularProgress · Storybook | 7.1 kB (not measured) · 1.0 kB CSS (not measured) | 328 (not measured) | — · — · — |
| lab/CodeEditor · Storybook | 14.6 kB (not measured) · 665 B CSS (not measured) | 461 (not measured) | — · — · — |
| lab/CommentComposer | 92.9 kB (not measured) · 1.9 kB CSS (not measured) | — | — · — · — |
| lab/CommentPin · Storybook | 47.4 kB (not measured) · 1.2 kB CSS (not measured) | 386 (not measured) | — · — · — |
| lab/Comments | 217.7 kB (not measured) · 2.5 kB CSS (not measured) | — | — · — · — |
| lab/CommentThread | 213.1 kB (not measured) · 2.4 kB CSS (not measured) | — | — · — · — |
| lab/DiffViewer · Storybook | 45.6 kB (not measured) · 2.1 kB CSS (not measured) | 2,203 (not measured) | — · — · — |
| lab/EmojiPicker · Storybook | 62.5 kB (not measured) · 722 B CSS (not measured) | 3,581 (not measured) | — · — · — |
| lab/InfoTip · Storybook | 21.7 kB (not measured) · 458 B CSS (not measured) | 68 (not measured) | — · — · — |
| lab/ListInput · Storybook | 74.5 kB (not measured) · 1.6 kB CSS (not measured) | 1,760 (not measured) | — · — · — |
| lab/LogStream · Storybook | 7.9 kB (not measured) · 1.6 kB CSS (not measured) | 468 (not measured) | — · — · — |
| lab/MobilePowerSearch · Storybook | 151.4 kB (not measured) · 1.4 kB CSS (not measured) | 2,492 (not measured) | — · — · — |
| lab/MobileTokenizer · Storybook | 85.4 kB (not measured) · 775 B CSS (not measured) | 598 (not measured) | — · — · — |
| lab/Schedule · Storybook | 64.9 kB (not measured) · 3.9 kB CSS (not measured) | 4,750 (not measured) | — · — · — |
| lab/Tour | 3.7 kB (not measured) · 20 B CSS (not measured) | — | — · — · — |
| lab/TourStep | 55.2 kB (not measured) · 590 B CSS (not measured) | — | — · — · — |
| lab/TransferList | 66.2 kB (not measured) · 1.7 kB CSS (not measured) | — | — · — · — |
| lab/TransferListSelector | 71.9 kB (not measured) · 1.9 kB CSS (not measured) | — | — · — · — |
| richtext/RichTextEditor · Storybook | 270.7 kB (not measured) · 2.6 kB CSS (not measured) | 664 (not measured) | — · — · — |
| richtext/RichTextEditorToolbar | 213.3 kB (not measured) · 454 B CSS (not measured) | 870 (not measured) | — · — · — |
Wide change (110 components): add ci:run-visual, ci:run-a11y or ci:run-rtl to run them.
⚠️ Approximate analysis - the diff could not be resolved to a merge base, so a two-dot fallback was used. The component list may include base-only changes or miss a component whose change also landed on base.
Generated by PR Enrichment workflow | View full report
Cmd+Option+ArrowUp and Cmd+Option+ArrowDown (Ctrl+Alt off Apple platforms) move the block holding the caret past the block above or below it. A list item moves with the items nested under it, among the items of its own list, and never leaves that list. Any other block moves among the top-level blocks, so a caret in a table moves the whole table, and a selected horizontal rule moves too. A selection that runs across blocks moves nothing. Each move is one undo step and keeps the caret in the moved block. A move changes no block's content, so moved blocks keep the Markdown they were written in. Read-only and disabled editors move nothing. Co-authored-by: Emily Horsman <[email protected]>
d3635ce to
fae2c85
Compare
There was a problem hiding this comment.
Approval is on hold until an engineering owner decides the direction. No current spec covers keyboard block reordering in RichTextEditor, so an owner must approve the always-on Cmd+Option/Ctrl+Alt+Up/Down move command or identify the spec that governs it. That decision covers four things: the binding itself, that it is on in every editable editor with no opt-out, that list items move only within their own list, and that moves are not announced to screen readers. An engineering owner records it by commenting /approve-spec <full head SHA> on this pull request, and the author may do so if they are an engineering owner; the implementation otherwise checked out, with moved blocks keeping their caret, focus, and authored Markdown.
[Automated review]
| ) : null} | ||
| <TabIndentationPlugin /> | ||
| <TabFocusEscapePlugin /> | ||
| <MoveBlockPlugin /> |
There was a problem hiding this comment.
This renders the move command in every editable editor, with no prop to turn it off. Because it consumes Mod+Alt+Up/Down at COMMAND_PRIORITY_LOW (MoveBlockPlugin.tsx:159-171) and registers before anything passed in plugins, a caller plugin that handles those keys at the same priority stops receiving them. Whether the command is always on or opt-in is part of the open owner decision, since no current spec covers keyboard block reordering in RichText.
…oined (#9070) ## Exact decision needed Whether `spec:AST-086` FR9's shared channel joins a component's superseded message about its current state with its next one, and the optional public `useAnnounce` option that asks for replacement. Today every message written to a region before the previous one is exposed is joined, so a component that states its current state on every input, such as a search's result count, has all its stale states spoken together when input outpaces a frame (a barcode scanner, dictation, automation): `1 result Create "Urg" Create "Urge" Create "Urgen" Create "Urgent"`. ## Existing authority searched - `spec:AST-086` FR9 (the join), FR6 (an identical message repeated in a frame is one message), FR8 (a busy start its outcome overtakes is dropped), FR13 and FR14 (own-content messages and modal containers). - `architecture:interaction-modality` INV8: superseded work must not change the current status or announcement, with supersession left to component contracts. - `spec:AST-075` DEC-2 and FR7: Astryx's comboboxes announce their result count with `useAnnounce`, the same hook products use. Tokenizer's record: its sheet's count and empty-state text go through `useAnnounce`. MultiSelector's record (draft): its result count and create row label go through the polite channel. - `spec:AST-002` FR1, FR2, FR5, FR7, FR16 and FR20 for the new public option; `has*` booleans such as `hasClear` and `hasPaging` for its name. - Open pull requests that mention AST-086 (#7871, #7902, #7910, #8175, #8211, #8583, #8001): none edits FR9. #8640 implements the replacement for MultiSelector and waits for this decision. ## Decision A `useAnnounce` instance created with `hasReplace` states one current state of its owner, such as a search's result count: each message it writes withdraws that instance's previous message while it is not yet exposed, whatever their urgencies, and is spoken in the region of its own urgency; a message already exposed has been heard and stays. Messages from other instances, and from instances without `hasReplace`, still join. `useAnnounce` takes an optional options object with one field, `hasReplace` (default `false`), and the `announce(message, politeness)` it returns is unchanged. FR14's modal containers withdraw the same way, and a picker's own empty-panel message comes from its search's `hasReplace` instance (FR13). Astryx's search counts and MultiSelector's create row use a separate `useAnnounce({hasReplace: true})` instance (`spec:AST-075` FR7, Tokenizer's and MultiSelector's records); selection messages keep their own plain instance. DEC-4 records it; its decider is the approving engineering owner, with INV8 and FR8 as its reasons. Public option (`spec:AST-002` FR5, FR20): two otherwise identical messages, `"7 results"` written twice in one frame, need different outcomes. As a search's count it replaces the earlier one; as two distinct notices both are spoken. Only the caller knows which it sends, and the channel cannot derive it. Before: `const announce = useAnnounce(); announce(t('resultCount', {count}));`. After: `const announceCount = useAnnounce({hasReplace: true}); announceCount(t('resultCount', {count}));`. Existing calls are unchanged. ## Rejected alternatives - Each owner debouncing its own messages: every announcement waits, and every owner repeats the rule. - An exception for every `useAnnounce` message: Astryx's comboboxes and Tokenizer announce through `useAnnounce`, so their counts would keep joining. - A string key on each message (`announce(message, politeness, {currentState})`): a third argument whose strings every call must keep consistent, where one instance already states one state. ## Claim scope and non-goals FR9's replacement within one `hasReplace` instance, the option that asks for it, and the AST-075, Tokenizer and MultiSelector sentences that describe their counts' announcement. Which messages a component sends through a `hasReplace` instance stays with its own record. ## Evidence and implementation relationship - On main, the MultiSelector CreateRow accessibility spec, which types into the create row at about four keystrokes per frame, fails 9 of 10 runs alone and 26 of 48 under load, its polite region reading the joined statuses. - #8640 implements the replacement for MultiSelector. With it, the spec passes 10 of 10 alone and 48 of 48 under load. It lands after this record changes, adopting `useAnnounce({hasReplace: true})`. ## Writing rubric results - R1 narration: none, in AST-086, AST-075, Tokenizer's or MultiSelector's record. - R2 research in the record: none. - R3 evidence naming a change: none. - R4 rejected alternatives over one line or outside a decision: one, inside DEC-4, one line; nothing added to the other records. - R5 pull request or issue references remaining: none. - R6 ruled open questions still listing options: none. ## Scope - [x] This PR contains specification records only. - [x] It records observable behavior and preserves equivalent internal implementations. - [x] Any named internal mechanism is intentionally public, names its dependent caller/system, and explains why an equivalent implementation would not satisfy the contract. - [x] Verification states the evidence layer and failure signal without prescribing CI job/workflow topology. - [x] It records one intentional durable decision, not a rescue for a separable tagalong. - [x] The canonical knowledge owner, affected current claims, and overlapping open work are named; any ownership collision is resolved or called out for human decision. - [x] Adjacent API, visual, accessibility, composition, and implementation facts remain outside scope unless this exact decision depends on them. - [x] Public text and artifacts contain no internal Meta context. ## Validation Local gates at 2b84901: `pnpm check:knowledge` (records and templates aligned), Prettier, `git diff --check`, `pnpm check:repo`.
User need
A person editing in
RichTextEditoroften needs to reorder content: steps in a list, a paragraph that reads better earlier, a table that belongs after the text that introduces it. Today the only way is to cut and paste. That is error-prone with nested list items, hard to do without a pointer, and the pasted block comes back as new content instead of the Markdown it was written in. RichText has no drag handles, so keyboard and screen-reader users have no direct way to reorder at all.Problem and solution fit
MoveBlockPlugin, rendered byRichTextEditorand always on. Cmd+Option+ArrowUp or ArrowDown (Ctrl+Alt off Apple platforms, matched exactly with Lexical'sisExactShortcutMatchandIS_APPLE, as the toolbar's Cmd/Ctrl+K is) moves the block holding the caret past its neighbor. What moves:HISTORY_PUSH_TAG, and the caret stays in the moved block. At the first or last position, the shortcut is still taken, so the caret does not jump, but nothing changes and no undo step is recorded.Current specification
spec:AST-061/DEC-7("RichText is a form-field editor"): this edits existing constructs (paragraphs, headings, lists, tables, rules) from the keyboard. It adds no document feature.spec:AST-061/DEC-8("the public surface is Lexical's, kept small"): no prop, export, or type. The plugin is internal and moves stock Lexical nodes.spec:AST-061/DEC-2("editing affordances never reflow"): nothing is drawn, so read/edit geometry is unaffected.spec:AST-062FR2: a move changes no block's content, so every moved or passed block exports as authored, with*one*and&intact in the test. A list whose items moved is the block that changed, so it is regenerated in canonical form.Public delta and caller burden
RichTextEditorgains the shortcut. Read-only and disabled editors move nothing: Lexical ignores keys there, and the plugin also checkseditor.isEditable().RichTextViewis unchanged.KEY_DOWN_COMMANDlistener at a higher priority still runs first.Design and alternatives
useAnnounceis the shared channel (spec:AST-086FR2, FR9). A message needs two new translatable strings in core's catalog, which also makes this a core change with its own changeset entry. RichText announces no other structural edit today (indent, task toggle, shortcuts), so the announcement is left to a follow-up that settles announcements for structural edits together.Evidence
packages/richtext/src/MoveBlockPlugin.test.tsxfocuses a mountedRichTextEditorand presses keys on its root. It covers:MoveBlockPlugin.apple.test.tsxsets Lexical'sIS_APPLEto true and checks that Cmd+Option moves and Ctrl+Alt does not.Red arm, with the plugin and its wiring removed:
Mutation check:
jsdom notes:
Range.prototype.getBoundingClientRect, asRichTextEditor.test.tsxdoes, because Lexical scrolls the caret into view in a focused editor.Scope
Testing
pnpm exec vitest run packages/richtext/src/MoveBlockPlugin.test.tsx packages/richtext/src/MoveBlockPlugin.apple.test.tsx: 9 pass.pnpm exec vitest run packages/richtext/src: 37 files, 606 tests pass.pnpm -F @astryxdesign/richtext typecheck: clean, after building core and richtext.pnpm -F @astryxdesign/richtext lint: 0 errors. The 34 warnings were already there, and none are on changed lines. Strict lint on the changed files adds none.pnpm exec prettier --checkon the changed files,pnpm check:changesets, andpnpm check:repo: pass.