generated from figma/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Design-system hardening, accessibility follow-through, and agent UI exemplars #131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
fa4a1e9
feat(design-system): motion tokens, reduced-motion parity, aria-live …
jscraik 4531581
fix(a11y): WCAG 2.2 fixes across Combobox, TagInput, Carousel, CodeBl…
jscraik 04e1646
feat(a11y): CarouselItem index/total props for slide position announc…
jscraik 8999104
fix(security): block javascript: URL injection in TextLink and Markdown
jscraik a6c600a
chore(baseline-ui): apply text-balance, text-pretty, and h-screen fixes
jscraik aa60d91
perf(combobox): add useDeferredValue for search filtering
jscraik 8ea17a8
feat(tokens): wire z-index scale into Tailwind preset
jscraik 4f9c1b7
docs(chart): add security JSDoc to ChartStyle
jscraik dec0132
fix(design-system): apply frontend-design review improvements
jscraik 173cde7
fix(test): resolve userEvent@14 + vitest4 document capture bug; add s…
jscraik 07772d0
feat(design-system): harden agent UI guidance and exemplars
jscraik 9d02d74
test(ui): align assertions with semantic sizing ratchet
jscraik ff6baf6
fix(ci): restore workspace version synchronization
jscraik d68fa4c
fix(visual): stabilize Storybook exemplar capture across runners
jscraik 9fe348d
fix(ci): run exemplar visuals on the baseline platform
jscraik 91e718f
fix(tokens): preserve semantic shadows during regeneration
jscraik 465e73f
fix(a11y): raise contrast for small web helper copy
jscraik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,147 @@ | ||
| { | ||
| "schemaVersion": 1, | ||
| "docs": [ | ||
| "docs/design-system/CONTRACT.md", | ||
| "docs/design-system/PROFESSIONAL_UI_CONTRACT.md", | ||
| "docs/design-system/AGENT_UI_ROUTING.md" | ||
| ], | ||
| "include": [ | ||
| "packages/ui/src/app", | ||
| "platforms/web/apps/web/src/pages", | ||
| "packages/ui/src/components/ui", | ||
| "packages/ui/src/design-system/showcase", | ||
| "packages/ui/src/storybook", | ||
| "packages/ui/src/styles" | ||
| ], | ||
| "ignore": [ | ||
| "node_modules", | ||
| "dist", | ||
| ".git", | ||
| "coverage", | ||
| ".next", | ||
| "build" | ||
| ], | ||
| "scopes": { | ||
| "error": [ | ||
| "packages/ui/src/app/settings/AppsPanel/AppsPanel.stories.tsx", | ||
| "packages/ui/src/app/settings/AppsPanel/AppsPanel.tsx", | ||
| "packages/ui/src/app/settings/ArchivedChatsPanel/ArchivedChatsPanel.stories.tsx", | ||
| "packages/ui/src/app/settings/ArchivedChatsPanel/ArchivedChatsPanel.tsx", | ||
| "packages/ui/src/app/settings/AudioSettingsPanel/AudioSettingsPanel.stories.tsx", | ||
| "packages/ui/src/app/settings/AudioSettingsPanel/AudioSettingsPanel.tsx", | ||
| "packages/ui/src/app/settings/CheckForUpdatesPanel/CheckForUpdatesPanel.stories.tsx", | ||
| "packages/ui/src/app/settings/CheckForUpdatesPanel/CheckForUpdatesPanel.tsx", | ||
| "packages/ui/src/app/settings/DataControlsPanel/DataControlsPanel.stories.tsx", | ||
| "packages/ui/src/app/settings/DataControlsPanel/DataControlsPanel.tsx", | ||
| "packages/ui/src/app/settings/ManageAppsPanel/ManageAppsPanel.stories.tsx", | ||
| "packages/ui/src/app/settings/ManageAppsPanel/ManageAppsPanel.tsx", | ||
| "packages/ui/src/app/settings/NotificationsPanel/NotificationsPanel.stories.tsx", | ||
| "packages/ui/src/app/settings/NotificationsPanel/NotificationsPanel.tsx", | ||
| "packages/ui/src/app/settings/PersonalizationPanel/PersonalizationPanel.stories.tsx", | ||
| "packages/ui/src/app/settings/PersonalizationPanel/PersonalizationPanel.tsx", | ||
| "packages/ui/src/app/settings/SecurityPanel/SecurityPanel.stories.tsx", | ||
| "packages/ui/src/app/settings/SecurityPanel/SecurityPanel.tsx", | ||
| "packages/ui/src/app/settings/SettingDropdown/SettingDropdown.stories.tsx", | ||
| "packages/ui/src/app/settings/SettingDropdown/SettingDropdown.tsx", | ||
| "packages/ui/src/app/settings/SettingRow/SettingRow.stories.tsx", | ||
| "packages/ui/src/app/settings/SettingRow/SettingRow.tsx", | ||
| "packages/ui/src/app/settings/SettingToggle/SettingToggle.stories.tsx", | ||
| "packages/ui/src/app/settings/SettingToggle/SettingToggle.tsx", | ||
| "packages/ui/src/app/settings/shared/**/*.tsx", | ||
| "packages/ui/src/app/chat/AttachmentMenu/AttachmentMenu.stories.tsx", | ||
| "packages/ui/src/app/chat/AttachmentMenu/AttachmentMenu.tsx", | ||
| "packages/ui/src/app/chat/ChatInput/ChatInput.stories.tsx", | ||
| "packages/ui/src/app/chat/ChatInput/ChatInput.tsx", | ||
| "packages/ui/src/app/chat/ChatHeader/ChatHeader.stories.tsx", | ||
| "packages/ui/src/app/chat/ChatHeader/ChatHeader.tsx", | ||
| "packages/ui/src/app/chat/ChatMessages/ChatMessages.stories.tsx", | ||
| "packages/ui/src/app/chat/ChatMessages/ChatMessages.tsx", | ||
| "packages/ui/src/app/chat/ChatShell/ChatShell.stories.tsx", | ||
| "packages/ui/src/app/chat/ChatVariants/ChatVariants.tsx", | ||
| "packages/ui/src/app/chat/ChatView/ChatView.tsx", | ||
| "packages/ui/src/app/chat/ChatUIRoot/ChatUIRoot.stories.tsx", | ||
| "packages/ui/src/app/chat/ChatUIRoot/ChatUIRoot.tsx", | ||
| "packages/ui/src/app/chat/compose/ComposeInstructionsPanel/ComposeInstructionsPanel.tsx", | ||
| "packages/ui/src/app/chat/compose/ProEditConfigModal/ProEditConfigModal.tsx", | ||
| "packages/ui/src/app/chat/compose/PromptBuilderSection/PromptBuilderSection.tsx", | ||
| "packages/ui/src/app/chat/ComposeView/ComposeView.stories.tsx", | ||
| "packages/ui/src/app/chat/ComposeView/ComposeView.tsx", | ||
| "packages/ui/src/app/modals/DiscoverySettingsModal/DiscoverySettingsModal.stories.tsx", | ||
| "packages/ui/src/app/modals/DiscoverySettingsModal/DiscoverySettingsModal.tsx", | ||
| "packages/ui/src/app/modals/IconPickerModal/IconPickerModal.stories.tsx", | ||
| "packages/ui/src/app/modals/IconPickerModal/IconPickerModal.tsx", | ||
| "packages/ui/src/app/modals/SettingsModal/SettingsModal.stories.tsx", | ||
| "packages/ui/src/app/modals/SettingsModal/SettingsModal.tsx", | ||
| "packages/ui/src/app/modals/settings/**/*.tsx", | ||
| "packages/ui/src/app/chat/ChatSidebar/ChatSidebar.stories.tsx", | ||
| "packages/ui/src/app/chat/ChatSidebar/ChatSidebar.tsx", | ||
| "packages/ui/src/app/chat/ChatSidebar/components/ChatSidebarHistory/ChatSidebarHistory.stories.tsx", | ||
| "packages/ui/src/app/chat/ChatSidebar/components/ChatSidebarHistory/ChatSidebarHistory.tsx", | ||
| "packages/ui/src/app/chat/ChatSidebar/modals/NewProjectModal/NewProjectModal.stories.tsx", | ||
| "packages/ui/src/app/chat/ChatSidebar/modals/NewProjectModal/NewProjectModal.tsx", | ||
| "packages/ui/src/app/chat/ChatSidebar/modals/ProjectSettingsModal/ProjectSettingsModal.stories.tsx", | ||
| "packages/ui/src/app/chat/ChatSidebar/modals/ProjectSettingsModal/ProjectSettingsModal.tsx", | ||
| "packages/ui/src/components/ui/navigation/NavigationMenu/fallback/NavigationMenu.tsx", | ||
| "packages/ui/src/components/ui/navigation/sidebar/fallback/Sidebar.tsx", | ||
| "packages/ui/src/components/ui/navigation/tabs/fallback/Tabs.tsx", | ||
| "packages/ui/src/components/ui/navigation/ModeSelector/ModeSelector.tsx", | ||
| "packages/ui/src/components/ui/navigation/ModelSelector/ModelSelector.tsx", | ||
| "packages/ui/src/components/ui/base/IconButton/IconButton.tsx", | ||
| "packages/ui/src/components/ui/base/button/fallback/Button.tsx", | ||
| "packages/ui/src/components/ui/base/InputOTP/InputOTP.tsx", | ||
| "packages/ui/src/components/ui/base/RadioGroup/fallback/RadioGroup.tsx", | ||
| "packages/ui/src/components/ui/base/ScrollArea/fallback/ScrollArea.tsx", | ||
| "packages/ui/src/components/ui/base/checkbox/fallback/Checkbox.tsx", | ||
| "packages/ui/src/components/ui/base/input/input.tsx", | ||
| "packages/ui/src/components/ui/base/select/fallback/Select.tsx", | ||
| "packages/ui/src/components/ui/base/switch/fallback/Switch.tsx", | ||
| "packages/ui/src/components/ui/base/table/table.tsx", | ||
| "packages/ui/src/components/ui/base/textarea/textarea.tsx", | ||
| "packages/ui/src/components/ui/data-display/card/card.tsx", | ||
| "packages/ui/src/components/ui/feedback/ErrorBoundary/ErrorBoundary.tsx", | ||
| "packages/ui/src/components/ui/feedback/toast/toast.tsx", | ||
| "packages/ui/src/components/ui/overlays/command/command.tsx", | ||
| "packages/ui/src/components/ui/overlays/drawer/drawer.tsx", | ||
| "packages/ui/src/components/ui/overlays/modal/modal.tsx", | ||
| "packages/ui/src/components/ui/overlays/tooltip/fallback/Tooltip.tsx", | ||
| "packages/ui/src/storybook/_holding/component-stories/Chart.stories.tsx", | ||
| "packages/ui/src/storybook/_holding/component-stories/IconButton.stories.tsx", | ||
| "packages/ui/src/storybook/_holding/component-stories/MessageActions.stories.tsx", | ||
| "packages/ui/src/storybook/_holding/component-stories/NavigationMenu.stories.tsx", | ||
| "packages/ui/src/storybook/_holding/docs/APIReference.mdx", | ||
| "packages/ui/src/storybook/_holding/docs/DesignSystem.mdx", | ||
| "packages/ui/src/storybook/_holding/docs/GettingStarted.mdx", | ||
| "packages/ui/src/storybook/_holding/docs/Migration.mdx", | ||
| "packages/ui/src/storybook/_holding/docs/Patterns.mdx", | ||
| "packages/ui/src/storybook/_holding/docs/QuickStart.mdx", | ||
| "platforms/web/apps/web/src/pages/ChatShellPage.tsx", | ||
| "platforms/web/apps/web/src/pages/HarnessPage.tsx", | ||
| "platforms/web/apps/web/src/pages/TemplateBrowserPage.tsx", | ||
| "platforms/web/apps/web/src/pages/TemplateWidgetPage.tsx" | ||
| ], | ||
| "warn": [ | ||
| "packages/ui/src/app/**/*.{ts,tsx,js,jsx,css}", | ||
| "platforms/web/apps/web/src/pages/**/*.{ts,tsx,js,jsx,css}", | ||
| "packages/ui/src/components/ui/**/*.{ts,tsx,js,jsx,css}", | ||
| "packages/ui/src/design-system/showcase/**/*.{ts,tsx,js,jsx,css}", | ||
| "packages/ui/src/storybook/**/*.{ts,tsx,js,jsx,css}", | ||
| "**/*.stories.tsx" | ||
| ], | ||
| "exempt": [ | ||
| "packages/tokens/**", | ||
| "packages/ui/src/styles/theme.css", | ||
| "docs/design-system/**", | ||
| "**/*.test.{ts,tsx,js,jsx}", | ||
| "**/*.spec.{ts,tsx,js,jsx}", | ||
| "docs/design-system/COVERAGE_MATRIX.json", | ||
| "docs/design-system/COVERAGE_MATRIX.md", | ||
| "docs/design-system/COVERAGE_MATRIX_SURFACES.json" | ||
| ] | ||
| }, | ||
| "exemptionLedger": "docs/design-system/ENFORCEMENT_EXEMPTIONS.json", | ||
| "scopePrecedence": [ | ||
| "error", | ||
| "warn", | ||
| "exempt" | ||
| ] | ||
| } | ||
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new warn scopes are more specific than the broad
**/*.test.*and**/*.spec.*exempt globs, andfindBestScopeMatchchooses the most specific match before precedence; as a result, test files are still linted as warnings (for exampleChart.test.tsxwarnings are emitted bydesign-system-guidance:check:ci) despite being listed underscopes.exempt. This can cause touched-file ratchet failures on test-only changes that should be exempt.Useful? React with 👍 / 👎.