Skip to content

refactor(react): reorganize Storybook sidebar structure (part 2)#3837

Open
eliseo-juan wants to merge 5 commits intomainfrom
refactor/storybook-sidebar-reorganization-2
Open

refactor(react): reorganize Storybook sidebar structure (part 2)#3837
eliseo-juan wants to merge 5 commits intomainfrom
refactor/storybook-sidebar-reorganization-2

Conversation

@eliseo-juan
Copy link
Copy Markdown
Contributor

@eliseo-juan eliseo-juan commented Apr 2, 2026

Description

Reorganize the Storybook sidebar structure to better reflect the maturity and purpose of each component. This is part 2 of the ongoing sidebar reorganization effort.

Screenshots (if applicable)

N/A — structural/organizational changes only, no visual output changes.

Implementation details

What changed

  • Moved components/F0Formpatterns/F0Form
  • Moved components/F0FormFieldpatterns/F0FormField
  • Moved components/F0WizardFormpatterns/F0WizardForm
  • Moved components/Navigation/Sidebarpatterns/Navigation/Sidebar
  • Moved experimental/Navigation/Pagepatterns/Navigation/Page
  • Moved experimental/Navigation/Tabspatterns/Navigation/Tabs
  • Moved experimental/OneCalendarcomponents/OneCalendar
  • Moved experimental/OneEmptyStatecomponents/OneEmptyState
  • Moved experimental/RichText/ (entire subtree) → components/RichText/
  • Moved components/Utilities/F0GridStacklib/F0GridStack
  • Fixed stale @/experimental/OneCalendar/types import in .storybook/preview.tsx

Why

The previous sidebar structure mixed components of different maturity levels and purposes within the same sections. This reorganization makes it clearer to consumers which components are stable patterns, which are internal utilities, and which have graduated from experimental to stable.

Backward compatibility

All moved components retain @deprecated re-exports at their original locations, so existing imports across the codebase continue to work. All @/ absolute imports were updated to point to the new canonical locations.

@eliseo-juan eliseo-juan requested a review from a team as a code owner April 2, 2026 21:38
Copilot AI review requested due to automatic review settings April 2, 2026 21:38
@github-actions github-actions bot added refactor react Changes affect packages/react labels Apr 2, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

✅ No New Circular Dependencies

No new circular dependencies detected. Current count: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

📦 Alpha Package Version Published

Use pnpm i github:factorialco/f0#npm/alpha-pr-3837 to install the package

Use pnpm i github:factorialco/f0#a5f4a4d92d14d109115ba69a8d9925d103c8b6e5 to install this specific commit

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

🔍 Visual review for your branch is published 🔍

Here are the links to:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Coverage Report for packages/react

Status Category Percentage Covered / Total
🔵 Lines 44.88% 10953 / 24403
🔵 Statements 44.14% 11294 / 25582
🔵 Functions 36.86% 2476 / 6716
🔵 Branches 36.74% 7153 / 19469
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/react/src/components/exports.ts 100% 100% 100% 100%
packages/react/src/components/F0Button/internal.tsx 100% 73.77% 100% 100%
packages/react/src/components/F0Card/CardInternal.tsx 86.36% 84.88% 77.77% 86.36% 316-370
packages/react/src/components/F0DatePicker/F0DatePicker.tsx 84.31% 80% 85.71% 83.67% 42, 88-98, 118
packages/react/src/components/F0DatePicker/types.ts 100% 100% 100% 100%
packages/react/src/components/F0DatePicker/components/DateInput.tsx 72.72% 52.38% 80% 72.72% 59-62, 79-91, 120-121
packages/react/src/components/F0Select/F0Select.tsx 76.02% 69.23% 69.56% 76.28% 162, 169, 182-184, 196-198, 238, 261-264, 393-394, 400, 404-405, 439, 457-458, 497, 510-543, 582, 594-598, 644-659, 665, 756, 774-811
packages/react/src/components/F0Select/components/ActiveFiltersChips.tsx 5.55% 0% 0% 6.06% 35-136
packages/react/src/components/F0Select/components/SelectAll.tsx 9.09% 0% 0% 9.09% 30-86
packages/react/src/components/F0Select/components/SelectItem.tsx 100% 50% 100% 100%
packages/react/src/components/F0Select/components/SelectTopActions.tsx 50% 50% 25% 57.14% 61-62, 135-138
packages/react/src/components/F0Select/components/SelectedItems.tsx 84% 74.07% 100% 83.33% 41-44, 74, 78-83, 115
packages/react/src/components/F0Select/components/SelectionPreview.tsx 4% 0% 0% 4.34% 33-131
packages/react/src/components/tags/internal/BaseTag/index.tsx 100% 70.83% 100% 100%
packages/react/src/deprecated/ToggleGroup/index.tsx 100% 100% 100% 100%
packages/react/src/experimental/exports.ts 0% 100% 100% 0% 77-85
packages/react/src/experimental/F0VersionHistory/index.tsx 0% 0% 0% 0% 18-60
packages/react/src/experimental/F0VersionHistory/CurrentVersionIndicator/index.tsx 0% 0% 0% 0% 17-38
packages/react/src/experimental/F0VersionHistory/VersionItem/index.tsx 0% 0% 0% 0% 22-61
packages/react/src/experimental/Forms/exports.tsx 100% 100% 100% 100%
packages/react/src/experimental/Forms/Fields/ToggleGroup/index.tsx 100% 100% 100% 100%
packages/react/src/experimental/Information/exports.tsx 100% 100% 100% 100%
packages/react/src/experimental/Information/Headers/exports.ts 100% 100% 100% 100%
packages/react/src/experimental/Navigation/exports.tsx 100% 100% 100% 100%
packages/react/src/experimental/Navigation/F0TableOfContent/index.tsx 19.24% 8.73% 26.08% 19.55% 99-101, 164-259, 281, 301-308, 316-321, 328-339, 350-392, 440-493, 509, 518-597, 611-755, 768-886
packages/react/src/experimental/Navigation/F0TableOfContent/Item/PrimitiveItem.tsx 53.84% 52.08% 14.28% 53.84% 64-152
packages/react/src/experimental/Navigation/Header/Breadcrumbs/types.ts 100% 100% 100% 100%
packages/react/src/experimental/Overlays/exports.tsx 100% 100% 100% 100%
packages/react/src/experimental/Widgets/Content/Weekdays/index.tsx 0% 0% 0% 0% 10-45
packages/react/src/experimental/Widgets/WidgetEmptyState/index.tsx 0% 0% 0% 0% 27-48
packages/react/src/hooks/datasource/index.ts 100% 100% 100% 100%
packages/react/src/hooks/datasource/useData.ts 73.61% 68.86% 74.19% 73.75% 160, 276-290, 339-348, 418, 463-490, 555-556, 646, 668, 694-718
packages/react/src/hooks/datasource/types/datasource.typings.ts 100% 100% 100% 100%
packages/react/src/hooks/datasource/types/fetch.typings.ts 100% 100% 100% 100%
packages/react/src/hooks/datasource/types/filters.typings.ts 100% 100% 100% 100%
packages/react/src/hooks/datasource/types/grouping.typings.ts 100% 100% 100% 100%
packages/react/src/hooks/datasource/types/selection.typings.ts 100% 100% 100% 100%
packages/react/src/hooks/datasource/useSelectable/useSelectable.ts 71.59% 59.67% 76.47% 73.14% 104, 129, 141, 144, 209, 309-313, 335, 348-407, 454, 473, 482, 532-572, 592-634, 685-686, 698-709, 762-763, 769
packages/react/src/kits/F0DataChart/components/FunnelChart/FunnelChart.tsx 85% 64.7% 80% 94.11% 21, 23
packages/react/src/layouts/Layout/groups/GroupGrid/GroupGrid.tsx 0% 0% 0% 0% 44-402
packages/react/src/lib/exports.ts 100% 100% 100% 100%
packages/react/src/lib/providers/datacollection/types.ts 100% 100% 100% 100%
packages/react/src/lib/providers/l10n/l10n-provider-defaults.ts 100% 100% 100% 100%
packages/react/src/lib/providers/l10n/types.ts 100% 100% 100% 100%
packages/react/src/lib/storybook-utils/pageDecorator.tsx 0% 100% 0% 0% 4-16
packages/react/src/patterns/F0AnalyticsDashboard/F0AnalyticsDashboard.tsx 20% 0% 0% 22.22% 38-81
packages/react/src/patterns/F0AnalyticsDashboard/types.ts 100% 100% 100% 100%
packages/react/src/patterns/F0AnalyticsDashboard/__stories__/mockDataMixed.ts 0% 0% 0% 0% 21-806
packages/react/src/patterns/F0AnalyticsDashboard/components/ChartItem/ChartItem.tsx 0% 0% 0% 0% 38-217
packages/react/src/patterns/F0AnalyticsDashboard/components/CollectionItem/CollectionItem.tsx 0% 0% 0% 0% 38-79
packages/react/src/patterns/F0AnalyticsDashboard/components/DashboardGrid/DashboardGrid.tsx 3.92% 0% 0% 4.81% 57-281
packages/react/src/patterns/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx 83.33% 84.21% 50% 83.33% 110
packages/react/src/patterns/F0AnalyticsDashboard/components/FilterBar/FilterBar.tsx 0% 0% 0% 0% 32-43
packages/react/src/patterns/F0AnalyticsDashboard/components/MetricItem/MetricItem.tsx 0% 0% 0% 0% 31-132
packages/react/src/patterns/F0AnalyticsDashboard/hooks/useDashboardExport.ts 0% 0% 0% 0% 40-164
packages/react/src/patterns/F0AnalyticsDashboard/hooks/useDashboardItemData.ts 0% 0% 0% 0% 34-88
packages/react/src/patterns/OneDataCollection/OneDatacollection.tsx 69.56% 42.69% 70.27% 68.88% 239-243, 323, 374-390, 399-407, 422-425, 442, 467-476, 483-489, 507-513, 545-548, 694, 701, 775-875
packages/react/src/patterns/OneDataCollection/exports.ts 100% 100% 100% 100%
packages/react/src/patterns/OneDataCollection/types.ts 100% 100% 100% 100%
packages/react/src/patterns/OneDataCollection/useEventEmitter.ts 77.77% 57.69% 100% 93.33% 46, 52, 56, 81-86, 93, 99, 103
packages/react/src/patterns/OneDataCollection/visualizations.tsx 0% 0% 0% 0% 132-314
packages/react/src/patterns/OneDataCollection/Settings/Settings.tsx 76.66% 57.69% 45.45% 79.31% 101-102, 108, 138, 158-159, 166
packages/react/src/patterns/OneDataCollection/Settings/VisualizationSettingsRenderer.tsx 55.55% 31.25% 60% 55.55% 28, 47, 72-74, 120, 134, 171-183
packages/react/src/patterns/OneDataCollection/Settings/components/VisualizationSelector.tsx 7.14% 0% 0% 7.14% 58-104
packages/react/src/patterns/OneDataCollection/__stories__/mockData.tsx 0% 0% 0% 0% 80-2068
packages/react/src/patterns/OneDataCollection/components/ActionBar/index.tsx 8.57% 0% 0% 9.37% 36, 45-59, 112-116, 131-291
packages/react/src/patterns/OneDataCollection/components/itemActions/useItemActions.ts 90.9% 90% 75% 90.9% 130-131
packages/react/src/patterns/OneDataCollection/hooks/useEmptyState.ts 81.25% 26.31% 100% 81.25% 79, 91-99
packages/react/src/patterns/OneDataCollection/hooks/usePerVisualizationFilters.ts 97.87% 95% 93.75% 97.59% 163-164
packages/react/src/patterns/OneDataCollection/navigationFilters/filterTypes/DateNavigation/DateNavigation.tsx 0% 0% 0% 0% 13-50
packages/react/src/patterns/OneDataCollection/navigationFilters/filterTypes/DateNavigation/index.tsx 16.66% 0% 33.33% 16.66% 11, 25-48
packages/react/src/patterns/OneDataCollection/navigationFilters/filterTypes/DateNavigation/types.ts 100% 100% 100% 100%
packages/react/src/patterns/OneDataCollection/visualizations/collection/VisualizationRenderer.tsx 85.71% 75% 100% 85.71% 103
packages/react/src/patterns/OneDataCollection/visualizations/collection/collectionViewRegistry.tsx 30% 100% 22.22% 30% 160-324
packages/react/src/patterns/OneDataCollection/visualizations/collection/types.ts 100% 100% 100% 100%
packages/react/src/patterns/OneDataCollection/visualizations/collection/Card/index.tsx 68.11% 44.73% 58.33% 71.21% 185, 190, 194, 202-204, 221-240, 254, 258-264, 267, 269, 300, 451-468
packages/react/src/patterns/OneDataCollection/visualizations/collection/Kanban/Kanban.tsx 88.15% 58.1% 82.75% 86.95% 71, 77, 105, 131, 139, 190-191, 254-255
packages/react/src/patterns/OneDataCollection/visualizations/collection/List/index.tsx 4.16% 0% 0% 4.16% 82-216
packages/react/src/patterns/OneDataCollection/visualizations/collection/List/types.ts 100% 100% 100% 100%
packages/react/src/patterns/OneDataCollection/visualizations/collection/List/components/ItemTeaser.tsx 33.33% 0% 0% 33.33% 11-31
packages/react/src/patterns/OneDataCollection/visualizations/collection/List/components/ListGroup.tsx 33.33% 0% 0% 33.33% 70-86
packages/react/src/patterns/OneDataCollection/visualizations/collection/List/components/ListSkeleton.tsx 25% 0% 0% 25% 66-107
packages/react/src/patterns/OneDataCollection/visualizations/collection/Table/components/NestedRow.tsx 89.39% 80.51% 90.9% 89.23% 146, 183, 308-338, 368-375
packages/react/src/patterns/OneDataCollection/visualizations/collection/Table/components/Row.tsx 96% 65.57% 75% 96% 269-270
packages/react/src/patterns/OneDataCollection/visualizations/collection/Table/components/SortAndHideList/SortAndHideList.tsx 12.5% 0% 0% 13.33% 24-88, 105-128
packages/react/src/patterns/OneDataCollection/visualizations/collection/Table/settings/SettingsRenderer.tsx 75% 50% 100% 75% 26-33
packages/react/src/patterns/OneDateNavigator/OneDateNavigator.tsx 83.33% 82.35% 57.14% 83.33% 68-69, 80-83, 115
packages/react/src/patterns/OneDateNavigator/components/DateNavigatorTrigger.tsx 70% 64% 58.82% 69.38% 75, 87-90, 97, 104, 120, 124, 140-144, 165-203
packages/react/src/sds/Home/Communities/Celebration/components/avatar.tsx 0% 0% 0% 0% 29-85
packages/react/src/sds/Home/Communities/Post/CommunityPost/index.tsx 0% 0% 0% 0% 72-331
packages/react/src/sds/Home/Communities/Post/PostDescription/index.tsx 80% 100% 50% 80% 29-32
packages/react/src/sds/ai/Banners/F0AiBanner/AiBannerInternal.tsx 50% 0% 0% 50% 19-75, 80-110
packages/react/src/sds/ai/Banners/F0Callout/CalloutInternal.tsx 0% 0% 0% 0% 13-151
packages/react/src/sds/ai/F0AiChat/actions/core/forms/useF0AiFormActions.ts 0% 0% 0% 0% 21-43
packages/react/src/sds/ai/F0AiChat/actions/core/forms/useFormFillAction.ts 70.9% 53.44% 100% 70.9% 14, 20-22, 25, 55-61, 76-82, 133, 148-151
packages/react/src/sds/ai/F0AiChat/actions/core/forms/useFormGetStateAction.ts 84.61% 66.66% 100% 84.61% 26, 41-44
packages/react/src/sds/ai/F0AiChat/actions/core/forms/useFormSubmitAction.ts 85.71% 62.5% 100% 85.71% 26, 41-44, 51
packages/react/src/sds/ai/F0AiChat/actions/core/forms/usePresentFormAction.ts 85.71% 50% 100% 85.71% 53
packages/react/src/sds/ai/F0AiChat/canvas/components/CanvasCard.tsx 100% 100% 100% 100%
packages/react/src/sds/ai/F0AiChat/canvas/entities/dashboard/DashboardContent.tsx 1.63% 0% 0% 1.85% 44-118, 159-273, 294-442
packages/react/src/sds/ai/F0AiChat/canvas/entities/dashboard/DashboardHeader.tsx 62.5% 50% 75% 66.66% 44-49
packages/react/src/sds/ai/F0AiChat/components/feedback/FeedbackModal.tsx 5.55% 0% 0% 5.55% 23-76
packages/react/src/sds/ai/F0AiChat/components/history/ChatHistoryDialog.tsx 2.56% 0% 0% 2.94% 29-211
packages/react/src/sds/ai/F0AiChat/components/history/components/ThreadItem.tsx 0% 0% 0% 0% 31-66
packages/react/src/sds/ai/F0AiChat/components/input/ChatInput.tsx 7.69% 0% 0% 7.69% 15-90
packages/react/src/sds/ai/F0AiChat/components/input/ChatTextarea.tsx 0.7% 0% 0% 0.84% 61-84, 106-628
packages/react/src/sds/ai/F0AiChat/components/input/MentionPopover.tsx 0% 0% 0% 0% 40-114
packages/react/src/sds/ai/F0AiChat/components/input/ToolHintSelector.tsx 0% 0% 0% 0% 38-98
packages/react/src/sds/ai/F0AiChat/components/input/ClarifyingQuestionPanel/StepHeader.tsx 33.33% 0% 0% 33.33% 25-61
packages/react/src/sds/ai/F0AiChat/components/layout/ChatHeader.tsx 5.88% 0% 0% 6.12% 26-32, 45-129, 139-203
packages/react/src/sds/ai/F0AiChat/components/layout/CreditsPopover.tsx 0% 0% 0% 0% 17-171
packages/react/src/sds/ai/F0AiChat/components/messages/UserMessage.tsx 6.25% 0% 0% 6.66% 31-70, 82-116
packages/react/src/sds/surveys/SurveyAnsweringForm/SurveyAnsweringForm.tsx 72.22% 71.96% 54.54% 74.28% 112, 124, 127, 131-136, 153-163, 171, 193-198, 209
packages/react/src/sds/surveys/SurveyAnsweringForm/types.ts 100% 100% 100% 100%
packages/react/src/sds/surveys/SurveyAnsweringForm/hooks/useSurveyFormSchema.tsx 51.21% 46.09% 51.42% 51.66% 41-45, 77-81, 96-138, 185, 188, 199-206, 273-324, 359-469, 504-552, 623-626, 653-678, 684
packages/react/src/sds/surveys/SurveyFormBuilder/Context.tsx 50.4% 34.78% 51.51% 49.59% 94-137, 143-158, 177-223, 236, 288-323, 340-367, 477-479
packages/react/src/sds/surveys/SurveyFormBuilder/types.ts 100% 100% 100% 100%
packages/react/src/sds/surveys/SurveyFormBuilder/Form/LastQuestionDialog.tsx 100% 100% 100% 100%
packages/react/src/sds/surveys/SurveyFormBuilder/Form/TableOfContent/index.tsx 21.42% 10% 14.28% 21.95% 23-79, 111
packages/react/src/sds/surveys/SurveyFormBuilder/QuestionTypes/BaseScoreQuestion/ScoreEditOption.tsx 7.69% 0% 0% 8.33% 29-68
packages/react/src/sds/surveys/SurveyFormBuilder/QuestionTypes/DateQuestion/index.tsx 14.28% 0% 0% 14.28% 26-50
packages/react/src/sds/surveys/SurveyFormBuilder/QuestionTypes/DropdownSingleQuestion/index.tsx 71.42% 68.75% 50% 71.42% 33, 61-72
packages/react/src/sds/surveys/SurveyFormBuilder/QuestionTypes/FileQuestion/index.tsx 25% 0% 0% 27.27% 44-48, 61-91
packages/react/src/sds/surveys/SurveyFormBuilder/QuestionTypes/LinkQuestion/index.tsx 12.5% 0% 0% 12.5% 26-54
packages/react/src/sds/surveys/SurveyFormBuilder/QuestionTypes/TextQuestion/index.tsx 88.88% 33.33% 66.66% 88.88% 71-74
packages/react/src/testing/test-utils.tsx 77.77% 100% 60% 77.77% 33-34
packages/react/src/ui/DatePickerPopup/DatePickerPopup.tsx 82.25% 75.8% 63.15% 81.96% 108-111, 116, 146-149, 158, 182-199, 206-214, 223, 289-293
packages/react/src/ui/DatePickerPopup/compareTo.ts 20% 0% 0% 20% 12-18
packages/react/src/ui/DatePickerPopup/presets.ts 6.25% 100% 0% 6.25% 11-87
packages/react/src/ui/DatePickerPopup/types.ts 100% 100% 100% 100%
packages/react/src/ui/DatePickerPopup/components/GranularitySelector.tsx 80% 50% 66.66% 80% 19
packages/react/src/ui/F0Wizard/F0Wizard.tsx 100% 100% 85.71% 100%
packages/react/src/ui/F0Wizard/types.ts 100% 100% 100% 100%
packages/react/src/ui/InputField/AppendTag.tsx 100% 100% 100% 100%
packages/react/src/ui/InputField/components/Label.tsx 100% 100% 100% 100%
packages/react/src/ui/Text/Text.tsx 86.66% 81.25% 100% 86.66% 112-133, 156-165
packages/react/src/ui/value-display/types/country/country.tsx 33.33% 0% 0% 33.33% 22-30
packages/react/src/ui/value-display/types/longText/longText.tsx 30% 0% 0% 30% 14-16, 20-25, 48-66
packages/react/src/ui/value-display/types/person/person.tsx 33.33% 0% 0% 33.33% 26-54
packages/react/src/ui/value-display/types/text/text.tsx 100% 66.66% 100% 100%
Generated in workflow #12515 for commit f4dccfb by the Vitest Coverage Report Action

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR continues the Storybook sidebar reorganization by moving components into clearer maturity/purpose buckets (patterns/kits/lib/sds/deprecated) and updating imports/stories to point at the new canonical locations, while keeping deprecated re-exports for backwards compatibility.

Changes:

  • Updated many imports to reflect new canonical paths (notably OneEllipsis, F0Dialog, OneFilterPicker, F0FilterPickerContent, Reactions, VirtualList, ToggleGroup).
  • Added/moved Storybook stories/docs and simplified Storybook title values to align with the new sidebar structure (including adding a Deprecated directory entry).
  • Introduced new pattern modules (patterns/F0Dialog, patterns/F0FilterPickerContent, patterns/OneFilterPicker, patterns/SectionHeader) and new SDS/kit modules (sds/Home/DaytimePage, kits/Social/Reactions).

Reviewed changes

Copilot reviewed 148 out of 227 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/react/src/ui/value-display/types/text/text.tsx Update OneEllipsis import to new lib location.
packages/react/src/ui/value-display/types/person/person.tsx Update OneEllipsis import to new lib location.
packages/react/src/ui/value-display/types/longText/longText.tsx Update OneEllipsis import to new lib location.
packages/react/src/ui/value-display/types/country/country.tsx Update OneEllipsis import to new lib location.
packages/react/src/ui/Text/Text.tsx Update OneEllipsis import to new lib location.
packages/react/src/ui/InputField/components/Label.tsx Update OneEllipsis import to new lib location.
packages/react/src/ui/InputField/AppendTag.tsx Update OneEllipsis import to new lib location.
packages/react/src/ui/InputField/stories/InputField.stories.tsx Story title adjusted for new sidebar structure.
packages/react/src/ui/F0Wizard/types.ts Update dialog types import to patterns/F0Dialog.
packages/react/src/ui/F0Wizard/F0Wizard.tsx Update dialog imports to patterns/F0Dialog.
packages/react/src/ui/F0Wizard/stories/F0Wizard.stories.tsx Story title adjusted for new sidebar structure.
packages/react/src/ui/Card/stories/Card.stories.tsx Story title adjusted for new sidebar structure.
packages/react/src/ui/Action/stories/Action.stories.tsx Story title adjusted for new sidebar structure.
packages/react/src/sds/surveys/SurveyFormBuilder/QuestionTypes/BaseScoreQuestion/ScoreEditOption.tsx Update Reactions picker CSS import to kits path.
packages/react/src/sds/surveys/SurveyFormBuilder/Form/TableOfContent/index.tsx Update F0DialogContext import to patterns/F0Dialog.
packages/react/src/sds/surveys/SurveyFormBuilder/Form/LastQuestionDialog.tsx Switch legacy Dialog import to deprecated/Dialog.
packages/react/src/sds/surveys/SurveyAnsweringForm/types.ts Update dialog types import to patterns/F0Dialog.
packages/react/src/sds/surveys/SurveyAnsweringForm/SurveyAnsweringForm.tsx Update F0Dialog import to patterns/F0Dialog.
packages/react/src/sds/Home/DaytimePage/index.tsx New SDS DaytimePage component under sds/Home.
packages/react/src/sds/Home/DaytimePage/index.stories.tsx Story title adjusted for new sidebar structure.
packages/react/src/sds/Home/Communities/Post/CommunityPost/index.tsx Update Reactions import to kits path.
packages/react/src/sds/Home/Communities/Celebration/components/avatar.tsx Update Picker import to kits path.
packages/react/src/sds/ai/F0AiChat/components/layout/CreditsPopover.tsx Update OneEllipsis import to new lib location.
packages/react/src/sds/ai/F0AiChat/components/layout/ChatHeader.tsx Update OneEllipsis import to new lib location.
packages/react/src/sds/ai/F0AiChat/components/input/ToolHintSelector.tsx Update OneEllipsis import to new lib location.
packages/react/src/sds/ai/F0AiChat/components/input/MentionPopover.tsx Update OneEllipsis import to new lib location.
packages/react/src/sds/ai/F0AiChat/components/input/ChatInput.tsx Update OneEllipsis import to new lib location.
packages/react/src/sds/ai/F0AiChat/components/history/components/ThreadItem.tsx Update OneEllipsis import to new lib location.
packages/react/src/sds/ai/F0AiChat/components/history/ChatHistoryDialog.tsx Update OneEllipsis import to new lib location.
packages/react/src/sds/ai/F0AiChat/components/feedback/FeedbackModal.tsx Update F0Dialog import to patterns/F0Dialog.
packages/react/src/sds/ai/F0AiChat/canvas/entities/dashboard/DashboardHeader.tsx Update OneEllipsis import to new lib location.
packages/react/src/sds/ai/F0AiChat/canvas/entities/dashboard/DashboardContent.tsx Update OneFilterPicker types import to patterns path.
packages/react/src/sds/ai/F0AiChat/canvas/components/CanvasCard.tsx Update OneEllipsis import to new lib location.
packages/react/src/sds/ai/Banners/F0Callout/CalloutInternal.tsx Update OneEllipsis import to new lib location.
packages/react/src/sds/ai/Banners/F0AiBanner/AiBannerInternal.tsx Update OneEllipsis import to new lib location.
packages/react/src/patterns/SectionHeader/index.tsx New SectionHeader pattern component.
packages/react/src/patterns/SectionHeader/index.stories.tsx Story uses canonical icons import path.
packages/react/src/patterns/SectionHeader/index.mdx New MDX docs for SectionHeader.
packages/react/src/patterns/OneFilterPicker/utils.ts New URL/base64 helpers for filters state.
packages/react/src/patterns/OneFilterPicker/types.ts New canonical filter/preset types module.
packages/react/src/patterns/OneFilterPicker/internal/getPresetCoveredKeys.ts New helper to compute preset-covered keys.
packages/react/src/patterns/OneFilterPicker/internal/getPresetCoveredKeys.test.ts Tests for preset-covered-keys helper.
packages/react/src/patterns/OneFilterPicker/internal/getActiveFilterKeys.ts New helper to compute active filter keys.
packages/react/src/patterns/OneFilterPicker/index.tsx New public barrel for OneFilterPicker pattern.
packages/react/src/patterns/OneFilterPicker/filterTypes/utils.ts New filterTypes utility helpers (defaults + lookup).
packages/react/src/patterns/OneFilterPicker/filterTypes/types.ts New filterTypes typing surface.
packages/react/src/patterns/OneFilterPicker/filterTypes/SearchFilter/SearchFilter.tsx New SearchFilter implementation.
packages/react/src/patterns/OneFilterPicker/filterTypes/SearchFilter/index.tsx Search filter type definition + export.
packages/react/src/patterns/OneFilterPicker/filterTypes/SearchFilter/stories/SearchFilter.stories.tsx Stories for SearchFilter.
packages/react/src/patterns/OneFilterPicker/filterTypes/NumberFilter/index.tsx Number filter type definition + export.
packages/react/src/patterns/OneFilterPicker/filterTypes/NumberFilter/stories/NumberFilter.stories.tsx Stories for NumberFilter.
packages/react/src/patterns/OneFilterPicker/filterTypes/InFilter/useLoadOptions.ts Options loading + caching for InFilter.
packages/react/src/patterns/OneFilterPicker/filterTypes/InFilter/types.ts InFilter option types + source integration types.
packages/react/src/patterns/OneFilterPicker/filterTypes/InFilter/InFilter.tsx Update OneEllipsis import to new lib location.
packages/react/src/patterns/OneFilterPicker/filterTypes/InFilter/index.tsx InFilter type definition + chip label logic.
packages/react/src/patterns/OneFilterPicker/filterTypes/InFilter/components/option-utils.ts New utilities for nested option search/selection.
packages/react/src/patterns/OneFilterPicker/filterTypes/InFilter/components/InFilterOptionRow.tsx Update OneEllipsis import to new lib location.
packages/react/src/patterns/OneFilterPicker/filterTypes/InFilter/components/InFilterFlatOption.tsx Update OneEllipsis import to new lib location.
packages/react/src/patterns/OneFilterPicker/filterTypes/InFilter/tests/InFilter.test.tsx New InFilter tests.
packages/react/src/patterns/OneFilterPicker/filterTypes/index.tsx Barrel exports for filterTypes.
packages/react/src/patterns/OneFilterPicker/filterTypes/filters.tsx Registry of filter type implementations + value typing.
packages/react/src/patterns/OneFilterPicker/filterTypes/DateFilter/index.tsx Date filter type definition + export.
packages/react/src/patterns/OneFilterPicker/filterTypes/DateFilter/DateFilter.tsx DateFilter UI implementation.
packages/react/src/patterns/OneFilterPicker/exports.ts Exports for OneFilterPicker consumer surface.
packages/react/src/patterns/OneFilterPicker/context.ts New FiltersContext and typing.
packages/react/src/patterns/OneFilterPicker/components/FiltersPresets.tsx Presets rendering + counters/overflow behavior.
packages/react/src/patterns/OneFilterPicker/components/FiltersControls.tsx Update dialog/filter-picker imports to patterns.
packages/react/src/patterns/OneFilterPicker/components/FiltersChipsList.tsx New chip list for active filters.
packages/react/src/patterns/OneFilterPicker/components/FilterList.tsx Update OneEllipsis import to new lib location.
packages/react/src/patterns/OneFilterPicker/components/FilterContent.tsx New right-pane renderer for selected filter.
packages/react/src/patterns/OneFilterPicker/components/FilterChipButton.tsx New chip button with async label support.
packages/react/src/patterns/OneFilterPicker/test/filters-presets-counter.test.tsx Tests ensuring preset counters match in overflow UI.
packages/react/src/patterns/OneFilterPicker/stories/presets.mdx New MDX docs for presets usage.
packages/react/src/patterns/OneFilterPicker/stories/OneFiltersPicker.internal.mdx New internal MDX docs for composition API.
packages/react/src/patterns/OneDataCollection/visualizations/collection/VisualizationRenderer.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations/collection/types.ts Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations/collection/Table/settings/SettingsRenderer.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations/collection/Table/components/SortAndHideList/SortAndHideList.tsx Update OneEllipsis import to new lib location.
packages/react/src/patterns/OneDataCollection/visualizations/collection/Table/components/Row.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations/collection/Table/components/NestedRow.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations/collection/List/types.ts Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations/collection/List/index.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations/collection/List/components/ListSkeleton.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations/collection/List/components/ListGroup.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations/collection/List/components/ItemTeaser.tsx Update OneEllipsis import to new lib location.
packages/react/src/patterns/OneDataCollection/visualizations/collection/Kanban/Kanban.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations/collection/collectionViewRegistry.tsx Update OneFilterPicker import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations/collection/Card/index.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/visualizations.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/useEventEmitter.ts Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/types.ts Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/Settings/VisualizationSettingsRenderer.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/Settings/Settings.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/Settings/components/VisualizationSelector.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/OneDatacollection.tsx Update OneFilterPicker import to patterns path.
packages/react/src/patterns/OneDataCollection/hooks/usePerVisualizationFilters.ts Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/exports.ts Re-export OneFilterPicker exports from patterns path.
packages/react/src/patterns/OneDataCollection/components/itemActions/useItemActions.ts Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/components/ActionBar/index.tsx Update OneEllipsis import to new lib location.
packages/react/src/patterns/OneDataCollection/tests/index.spec.tsx Update OneFilterPicker types import to patterns path.
packages/react/src/patterns/OneDataCollection/stories/mockData.tsx Update OneFilterPicker types import to patterns path.
packages/react/src/patterns/OneDataCollection/stories/empty-states.stories.tsx Update filter types import to patterns path.
packages/react/src/patterns/OneDataCollection/stories/actions/collection-actions.stories.tsx Update filter types import to patterns path.
packages/react/src/patterns/F0FilterPickerContent/types.ts New types for standalone filter picker content pattern.
packages/react/src/patterns/F0FilterPickerContent/internal.tsx New shared internal renderer for filter picker content.
packages/react/src/patterns/F0FilterPickerContent/internal-types.ts New shared internal props/types.
packages/react/src/patterns/F0FilterPickerContent/index.ts New barrel exports for F0FilterPickerContent.
packages/react/src/patterns/F0FilterPickerContent/F0FilterPickerContent.tsx New standalone dual-pane filter picker content component.
packages/react/src/patterns/F0Dialog/utils.ts New small-screen media query helper.
packages/react/src/patterns/F0Dialog/types.ts New canonical dialog types.
packages/react/src/patterns/F0Dialog/internal-types.ts New internal types for dialog provider/internal component.
packages/react/src/patterns/F0Dialog/index.tsx New pattern entrypoint + exports for dialog context/types.
packages/react/src/patterns/F0Dialog/F0DialogInternal.tsx New internal dialog implementation (dialog/drawer variants).
packages/react/src/patterns/F0Dialog/F0Dialog.tsx Thin wrapper exporting the internal dialog.
packages/react/src/patterns/F0Dialog/components/F0DialogProvider.tsx New dialog context provider + hook.
packages/react/src/patterns/F0Dialog/components/F0DialogHeader.tsx New dialog header implementation (module/actions/tabs).
packages/react/src/patterns/F0Dialog/components/F0DialogFooter.tsx New dialog footer actions renderer.
packages/react/src/patterns/F0Dialog/components/F0DialogContent.tsx New dialog scrollable content with shadows.
packages/react/src/patterns/F0AnalyticsDashboard/types.ts Update filter types import to patterns path.
packages/react/src/patterns/F0AnalyticsDashboard/hooks/useDashboardItemData.ts Update filter types import to patterns path.
packages/react/src/patterns/F0AnalyticsDashboard/hooks/useDashboardExport.ts Update filter types import to patterns path.
packages/react/src/patterns/F0AnalyticsDashboard/F0AnalyticsDashboard.tsx Update filter types import to patterns path.
packages/react/src/patterns/F0AnalyticsDashboard/components/MetricItem/MetricItem.tsx Update filter types import to patterns path.
packages/react/src/patterns/F0AnalyticsDashboard/components/FilterBar/FilterBar.tsx Update OneFilterPicker import to patterns path.
packages/react/src/patterns/F0AnalyticsDashboard/components/DashboardItem/DashboardItem.tsx Update OneEllipsis import to new lib location.
packages/react/src/patterns/F0AnalyticsDashboard/components/DashboardGrid/DashboardGrid.tsx Update filter types import to patterns path.
packages/react/src/patterns/F0AnalyticsDashboard/components/CollectionItem/CollectionItem.tsx Update filter types import to patterns path.
packages/react/src/patterns/F0AnalyticsDashboard/components/ChartItem/ChartItem.tsx Update filter types import to patterns path.
packages/react/src/patterns/F0AnalyticsDashboard/stories/mockDataMixed.ts Update presets types import to patterns path.
packages/react/src/patterns/F0AnalyticsDashboard/stories/index.stories.tsx Story title adjusted for new sidebar structure.
packages/react/src/lib/VirtualList/index.tsx Fix internal import to use @/lib/utils.
packages/react/src/lib/VirtualList/index.stories.tsx New VirtualList story under simplified title.
packages/react/src/lib/providers/datacollection/types.ts Update filter types import to patterns path.
packages/react/src/lib/OneEllipsis/OneEllipsis.test.tsx New tests for OneEllipsis in lib.
packages/react/src/lib/OneEllipsis/index.tsx New barrel export for OneEllipsis.
packages/react/src/lib/OneEllipsis/stories/OneEllipsis.stories.tsx New OneEllipsis stories under simplified title.
packages/react/src/lib/exports.ts Re-export OneEllipsis from lib.
packages/react/src/kits/Social/Reactions/reaction.tsx New Reaction component for Social Reactions kit.
packages/react/src/kits/Social/Reactions/Picker/index.tsx New emoji picker popover for Reactions kit.
packages/react/src/kits/Social/Reactions/Picker/index.css New styling for emoji picker.
packages/react/src/kits/Social/Reactions/index.tsx New Reactions kit component entrypoint.
packages/react/src/kits/Social/Reactions/index.stories.tsx Adjust story title to Social/Reactions.
packages/react/src/kits/F0DataChart/components/FunnelChart/FunnelChart.tsx Update OneEllipsis import to new lib location.
packages/react/src/hooks/datasource/useSelectable/useSelectable.ts Update filter types import to patterns path.
packages/react/src/hooks/datasource/useData.ts Update filter types import to patterns path.
packages/react/src/hooks/datasource/types/selection.typings.ts Update filter types import to patterns path.
packages/react/src/hooks/datasource/types/grouping.typings.ts Update filter types import to patterns path.
packages/react/src/hooks/datasource/types/filters.typings.ts Re-export filter typings from patterns path.
packages/react/src/hooks/datasource/types/fetch.typings.ts Update filter types import to patterns path.
packages/react/src/hooks/datasource/types/datasource.typings.ts Update filter types import to patterns path.
packages/react/src/hooks/datasource/index.ts Re-export filter types from patterns path.
packages/react/src/hooks/datasource/test/useData.spec.tsx Update filter types import to patterns path.
packages/react/src/experimental/Widgets/Content/Weekdays/index.tsx Update ToggleGroup import to deprecated path.
packages/react/src/experimental/RichText/NotesTextEditor/Header/index.tsx Update OneEllipsis import to new lib location.
packages/react/src/experimental/RichText/CoreEditor/Toolbar/index.tsx Update Picker import to kits path.
packages/react/src/experimental/Overlays/exports.tsx Deprecation re-export for Dialog from deprecated/Dialog.
packages/react/src/experimental/Navigation/Header/Breadcrumbs/types.ts Update OneFilterPicker import to patterns path.
packages/react/src/experimental/Navigation/Header/Breadcrumbs/index.stories.tsx Update OneFilterPicker import to patterns path.
packages/react/src/experimental/Navigation/F0TableOfContent/Item/PrimitiveItem.tsx Update OneEllipsis import to new lib location.
packages/react/src/experimental/Navigation/F0TableOfContent/index.tsx Update OneEllipsis import to new lib location.
packages/react/src/experimental/Navigation/exports.tsx Deprecation re-exports for DaytimePage and VirtualList.
packages/react/src/experimental/Information/Headers/exports.ts Deprecation re-export for SectionHeader from patterns.
packages/react/src/experimental/Information/exports.tsx Deprecation re-export for Reactions from kits.
packages/react/src/experimental/Forms/Fields/ToggleGroup/index.tsx Update ToggleGroup export to deprecated path.
packages/react/src/experimental/Forms/Fields/ToggleGroup/index.stories.tsx Update ToggleGroup imports to deprecated path.
packages/react/src/experimental/Forms/exports.tsx Deprecation re-export for EntitySelect from deprecated path.
packages/react/src/experimental/F0VersionHistory/VersionItem/index.tsx Update OneEllipsis import to new lib location.
packages/react/src/experimental/F0VersionHistory/index.tsx Update OneEllipsis import to new lib location.
packages/react/src/experimental/F0VersionHistory/CurrentVersionIndicator/index.tsx Update OneEllipsis import to new lib location.
packages/react/src/experimental/F0VersionHistory/stories/F0VersionHistory.stories.tsx Story title adjusted for new sidebar structure.
packages/react/src/deprecated/ToggleGroup/ToggleGroup.tsx Update imports to canonical @/lib/utils and @/ui/toggle.
packages/react/src/deprecated/ToggleGroup/index.tsx New barrel export for deprecated ToggleGroup.
packages/react/src/deprecated/EntitySelect/utils.ts New helper util for EntitySelect sub-entity mapping.
packages/react/src/deprecated/EntitySelect/types.ts Update Action import path for EntitySelect typing.
packages/react/src/deprecated/EntitySelect/Trigger/index.tsx Update OneEllipsis import to new lib location.
packages/react/src/deprecated/EntitySelect/Trigger/index.stories.tsx New Trigger stories with updated sidebar title.
packages/react/src/deprecated/EntitySelect/ListTag/index.tsx Update types import to deprecated EntitySelect types.
packages/react/src/deprecated/EntitySelect/ListTag/index.stories.tsx New ListTag stories.
packages/react/src/deprecated/EntitySelect/ListItem/index.stories.tsx New ListItem stories.
packages/react/src/deprecated/EntitySelect/index.tsx Update utils import to canonical @/lib/utils.
packages/react/src/deprecated/EntitySelect/index.mdx New MDX docs for deprecated EntitySelect.
packages/react/src/deprecated/EntitySelect/HighLightText/index.tsx Update utils import to canonical @/lib/utils.
packages/react/src/deprecated/EntitySelect/groups-avatar-name.factory.tsx Fix storybook asset import path.
packages/react/src/deprecated/EntitySelect/exports.tsx New exports barrel for deprecated EntitySelect.
packages/react/src/deprecated/EntitySelect/entity-select-name.factory.tsx Fix storybook asset import path.
packages/react/src/deprecated/EntitySelect/CreateItem/index.tsx New “create” row component for EntitySelect.
packages/react/src/deprecated/EntitySelect/Content/SecondaryContent/index.tsx Update VirtualList import to lib/VirtualList.
packages/react/src/deprecated/EntitySelect/Content/MainContent/Searcher.tsx Update F0Icon import to canonical path.
packages/react/src/deprecated/EntitySelect/Content/MainContent/index.tsx Update Action/cn/VirtualList imports to canonical paths.
packages/react/src/deprecated/EntitySelect/Content/MainContent/Footer.tsx Update Action import to canonical path.
packages/react/src/deprecated/EntitySelect/Content/index.tsx Update Action import to canonical path.
packages/react/src/deprecated/Dialog/index.tsx New deprecated Dialog component (moved from experimental).
packages/react/src/deprecated/Dialog/index.stories.tsx Story title adjusted for new sidebar structure.
packages/react/src/components/tags/internal/BaseTag/index.tsx Update OneEllipsis import to new lib location.
packages/react/src/components/Navigation/Sidebar/Menu/index.tsx Update OneEllipsis import to new lib location.
packages/react/src/components/Navigation/Sidebar/Footer/index.tsx Update OneEllipsis import to new lib location.
packages/react/src/components/Navigation/Sidebar/CompanySelector/index.tsx Update OneEllipsis import to new lib location.
packages/react/src/components/F0WizardForm/types.ts Update dialog types import to patterns/F0Dialog.
packages/react/src/components/F0Select/F0Select.tsx Update F0DialogContext import to patterns/F0Dialog.
packages/react/src/components/F0Select/components/SelectTopActions.tsx Update OneFilterPicker import path; canonicalize F1SearchBox import.
packages/react/src/components/F0Select/components/SelectItem.tsx Update OneEllipsis import to new lib location.
packages/react/src/components/F0Select/components/SelectionPreview.tsx Update OneEllipsis import to new lib location.
packages/react/src/components/F0Select/components/SelectedItems.tsx Update OneEllipsis import to new lib location.
packages/react/src/components/F0Select/components/SelectAll.tsx Update OneEllipsis import to new lib location.
packages/react/src/components/F0Select/components/ActiveFiltersChips.tsx Update filterTypes import to patterns path.
packages/react/src/components/F0Form/F0AiFormPresenter.tsx Update F0Dialog import to patterns/F0Dialog.
packages/react/src/components/F0Form/components/SectionRenderer.tsx Update SectionHeader import to patterns/SectionHeader.
packages/react/src/components/F0Form/components/F0FormSection.tsx Update SectionHeader import to patterns/SectionHeader.
packages/react/src/components/F0Form/stories/F0Form.stories.tsx Update F0Dialog import to patterns/F0Dialog.
packages/react/src/components/F0Card/CardInternal.tsx Update OneEllipsis import to new lib location.
packages/react/src/components/F0Button/internal.tsx Update OneEllipsis import to new lib location.
packages/react/src/components/exports.ts Add deprecated re-exports to keep backwards compatibility while moving modules.
packages/react/.storybook/main.ts Add Deprecated category/directory to Storybook config.

Move components between sections to better reflect their maturity and purpose:

- Add 'Deprecated' category to Storybook main.ts
- Move experimental/Overlays/Dialog → deprecated/Dialog
- Move components/F0Dialog → patterns/F0Dialog
- Move components/OneFilterPicker → patterns/OneFilterPicker
- Move components/F0FilterPickerContent → patterns/F0FilterPickerContent
- Move components/OneEllipsis → lib/OneEllipsis
- Move experimental/Forms → experimental/Forms (reverted back)
- Move experimental/Forms/EntitySelect → deprecated/EntitySelect
- Move experimental/Navigation/VirtualList → lib/VirtualList
- Move experimental/Navigation/DaytimePage → sds/Home/DaytimePage
- Move experimental/Information/Reactions → kits/Social/Reactions
- Move experimental/Information/Headers/SectionHeader → patterns/SectionHeader
- Move ui/toggleGroup.tsx → deprecated/ToggleGroup/

Add @deprecated re-exports in source sections for backward compatibility.
Update all @/ alias imports across the codebase to point to new paths.
@eliseo-juan eliseo-juan force-pushed the refactor/storybook-sidebar-reorganization-2 branch from 18ab84e to f4dccfb Compare April 2, 2026 22:45
Copilot AI review requested due to automatic review settings April 2, 2026 22:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 107 out of 514 changed files in this pull request and generated 5 comments.

Comment on lines +61 to +76
export { OneFilterPicker } from "../patterns/OneFilterPicker/OneFilterPicker"
export type {
DateFilterDefinition,
FilterDefinition,
FilterValue,
InFilterDefinition,
NumberFilterDefinition,
SearchFilterDefinition,
FilterValueByKey,
FiltersMode,
FiltersDefinition,
FilterOptions,
CurrentFilters,
PresetDefinition,
PresetsDefinition,
} from "../patterns/OneFilterPicker/types"
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

This replaces the previous export * from "./OneFilterPicker/exports" pattern with a narrower set of exports (component + selected types). If consumers relied on any additional runtime exports previously surfaced via ./OneFilterPicker/exports (e.g., helpers/constants/subcomponents), this becomes a breaking change and conflicts with the PR’s “backward compatibility” claim. Consider re-exporting the full public surface from the new canonical location (and marking it @deprecated) rather than hand-picking symbols, or ensure all previously-exported symbols are still available from @/components.

Suggested change
export { OneFilterPicker } from "../patterns/OneFilterPicker/OneFilterPicker"
export type {
DateFilterDefinition,
FilterDefinition,
FilterValue,
InFilterDefinition,
NumberFilterDefinition,
SearchFilterDefinition,
FilterValueByKey,
FiltersMode,
FiltersDefinition,
FilterOptions,
CurrentFilters,
PresetDefinition,
PresetsDefinition,
} from "../patterns/OneFilterPicker/types"
export * from "../patterns/OneFilterPicker/exports"

Copilot uses AI. Check for mistakes.
} from "react"

import { OneEllipsis } from "@/components/OneEllipsis/OneEllipsis"
import { OneEllipsis } from "@/lib/OneEllipsis/OneEllipsis"
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

This is a deep import into the implementation file. Since OneEllipsis is now exposed via @/lib/OneEllipsis (and packages/react/src/lib/exports.ts), prefer importing from the package entrypoint to reduce coupling to internal file structure and make future moves/refactors cheaper.

Suggested change
import { OneEllipsis } from "@/lib/OneEllipsis/OneEllipsis"
import { OneEllipsis } from "@/lib/OneEllipsis"

Copilot uses AI. Check for mistakes.
import { forwardRef } from "react"

import { ToggleGroup, ToggleGroupItem } from "@/ui/toggleGroup"
import { ToggleGroup, ToggleGroupItem } from "@/deprecated/ToggleGroup"
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

Importing directly from @/deprecated/ToggleGroup makes this experimental widget depend on a deprecated module path. Since you already added an experimental re-export (experimental/Forms/Fields/ToggleGroup), consider importing from @/experimental/Forms/Fields/ToggleGroup instead so the experimental area doesn’t “pin” itself to deprecated internals and can be re-routed centrally later.

Suggested change
import { ToggleGroup, ToggleGroupItem } from "@/deprecated/ToggleGroup"
import {
ToggleGroup,
ToggleGroupItem,
} from "@/experimental/Forms/Fields/ToggleGroup"

Copilot uses AI. Check for mistakes.
@@ -1,2 +1,3 @@
export { Dialog } from "./Dialog"
/** @deprecated Dialog has moved to @/deprecated/Dialog. Import from there instead. */
export { Dialog } from "../../deprecated/Dialog"
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

The deprecation message points to an absolute import (@/deprecated/Dialog) but the re-export uses a relative path. For consistency with the rest of the refactor (and to avoid path churn if folders move again), prefer using the same absolute alias in the re-export as well.

Suggested change
export { Dialog } from "../../deprecated/Dialog"
export { Dialog } from "@/deprecated/Dialog"

Copilot uses AI. Check for mistakes.

import { IconType } from "../../../components/F0Icon"
import { OneEmptyState } from "../../OneEmptyState/OneEmptyState"
import { OneEmptyState } from "@/components/OneEmptyState/OneEmptyState"
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

Similar to other moves in this PR, this is a deep import into the component implementation file. Prefer importing OneEmptyState from @/components/OneEmptyState (or the relevant barrel) to keep internal file structure private and minimize future refactor work.

Suggested change
import { OneEmptyState } from "@/components/OneEmptyState/OneEmptyState"
import { OneEmptyState } from "@/components/OneEmptyState"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

react Changes affect packages/react refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants