Skip to content

Migration & refactoring#803

Merged
surajair merged 12 commits intodevfrom
migration-changes
Mar 16, 2026
Merged

Migration & refactoring#803
surajair merged 12 commits intodevfrom
migration-changes

Conversation

@surajair
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings March 16, 2026 02:44
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 16, 2026

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

Project Deployment Actions Updated (UTC)
sdk Ready Ready Preview, Comment Mar 16, 2026 2:51am

Request Review

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 16, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
sdk-nextjs 8aaff87 Mar 16 2026, 02:51 AM

@surajair surajair changed the title Migration-changes Migration & refactoring Mar 16, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 16, 2026

Deploying sdk with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8aaff87
Status: ✅  Deploy successful!
Preview URL: https://ef1b3df5.sdk-8n4.pages.dev
Branch Preview URL: https://migration-changes.sdk-8n4.pages.dev

View logs

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 primarily migrates internal import paths from the @/ alias to the ~/ alias across the codebase.

Changes:

  • Replaced @/… imports with ~/… imports throughout hooks, core UI, runtime usage, and server/actions code.
  • Updated unit tests/mocks to use the new ~/ alias.
  • Included a few behavioral UI changes (e.g., permissions gating and design-token UI removal) alongside the alias migration.

Reviewed changes

Copilot reviewed 300 out of 578 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/hooks/use-key-event-watcher.ts Switch internal imports from @/ to ~/.
src/hooks/use-i18n-blocks.ts Switch internal imports from @/ to ~/.
src/hooks/use-html-to-blocks.ts Switch internal imports from @/ to ~/.
src/hooks/use-html-to-blocks.test.ts Update test imports/mocks to use ~/ alias.
src/hooks/use-get-page-data.ts Switch internal imports from @/ to ~/.
src/hooks/use-expand-tree.ts Switch internal imports from @/ to ~/.
src/hooks/use-duplicate-blocks.ts Switch internal imports from @/ to ~/.
src/hooks/use-cut-blockIds.ts Switch internal imports from @/ to ~/.
src/hooks/use-copy-to-clipboard.ts Switch internal imports from @/ to ~/.
src/hooks/use-copy-blockIds.ts Switch internal imports from @/ to ~/.
src/hooks/use-check-structure.tsx Switch internal imports from @/ to ~/.
src/hooks/use-canvas-settings.ts Switch internal imports from @/ to ~/.
src/hooks/use-canvas-iframe.ts Switch internal imports from @/ to ~/.
src/hooks/use-builder-reset.ts Switch internal imports from @/ to ~/.
src/hooks/use-builder-prop.ts Switch internal imports from @/ to ~/.
src/hooks/use-broadcast-channel.ts Switch internal imports from @/ to ~/.
src/hooks/use-branding-options.ts Switch internal imports from @/ to ~/.
src/hooks/use-blocks-html-for-ai.ts Switch internal imports from @/ to ~/.
src/hooks/use-block-highlight.ts Switch internal imports from @/ to ~/.
src/hooks/use-ask-ai.ts Switch internal imports from @/ to ~/.
src/hooks/use-add-classes-to-blocks.ts Switch internal imports from @/ to ~/.
src/hooks/use-add-block.ts Switch internal imports from @/ to ~/.
src/hooks/structure-rules.ts Switch internal imports from @/ to ~/.
src/hooks/partial-blocks/utils.ts Switch internal imports from @/ to ~/.
src/hooks/partial-blocks/use-watch-partial-blocks.ts Switch internal imports from @/ to ~/.
src/hooks/partial-blocks/use-partial-can-add.ts Switch internal imports from @/ to ~/.
src/hooks/partial-blocks/use-partial-blocks-store.ts Switch internal imports from @/ to ~/.
src/hooks/partial-blocks/use-partial-blocks-list.ts Switch internal imports from @/ to ~/.
src/hooks/partial-blocks/index.ts Switch internal imports/exports from @/ to ~/.
src/hooks/partial-blocks/atoms.ts Switch internal imports from @/ to ~/.
src/hooks/history/use-undo-manager.ts Switch internal imports from @/ to ~/.
src/hooks/history/use-blocks-store-undoable-actions.ts Switch internal imports from @/ to ~/.
src/hooks/history/use-blocks-store-manager.ts Switch internal imports from @/ to ~/.
src/hooks/history/move-blocks-with-children.ts Switch internal imports from @/ to ~/.
src/hooks/history/move-blocks-with-children.test.ts Update test imports to use ~/ alias.
src/hooks/history/insert-block-at-position.ts Switch internal imports from @/ to ~/.
src/hooks/history/insert-block-at-position.test.ts Update test imports to use ~/ alias.
src/hooks/get-split-classes.ts Switch internal imports from @/ to ~/.
src/hooks/get-block-with-nested-children.ts Switch internal imports from @/ to ~/.
src/hooks/get-block-with-nested-children.test.ts Update test imports to use ~/ alias.
src/hooks/default-theme-options.ts Switch internal imports from @/ to ~/.
src/hooks/async-props/use-async-props.ts Switch internal imports from @/ to ~/.
src/hooks/tests/use-replace-block.test.ts Update test imports/mocks to use ~/ alias.
src/hooks/tests/use-partial-blocks-store.test.ts Update test imports to use ~/ alias.
src/hooks/tests/use-blocks-html-for-ai.test.ts Update test imports to use ~/ alias.
src/hooks/tests/pick-only-ai-props.test.ts Update test imports/mocks to use ~/ alias.
src/express/registerPageTypes.ts Switch internal imports from @/ to ~/.
src/express/register.ts Switch internal imports from @/ to ~/.
src/express/index.ts Switch internal imports from @/ to ~/.
src/express/blocks.ts Switch internal imports from @/ to ~/.
src/express/assets/class-chai-assets.ts Switch internal imports from @/ to ~/ and reformat a conditional.
src/express/actions/user/get-chai-user.ts Switch internal imports from @/ to ~/.
src/express/actions/user/change-password.ts Switch internal imports from @/ to ~/.
src/express/actions/storage/upload-to-storage.ts Switch internal imports from @/ to ~/.
src/express/actions/storage/index.ts Switch internal imports from @/ to ~/.
src/express/actions/storage/delete-from-storage.ts Switch internal imports from @/ to ~/.
src/express/actions/assets/upload-asset.ts Switch internal imports from @/ to ~/.
src/express/actions/assets/update-asset.ts Switch internal imports from @/ to ~/.
src/express/actions/assets/get-assets.ts Switch internal imports from @/ to ~/.
src/express/actions/assets/get-asset.ts Switch internal imports from @/ to ~/.
src/express/actions/assets/delete-asset.ts Switch internal imports from @/ to ~/.
src/core/utils/remove-size-classes.ts Switch internal imports from @/ to ~/.
src/core/utils/css-theme-parser.ts Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/slider.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/rte-widget/rte-widget.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/rte-widget/rte-widget-modal.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/rte-widget/rte-menu-bar.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/rte-widget/rte-dropdown-menu.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/rte-widget/rte-color-picker.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/row-col.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/repeater-binding.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/link.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/json-form-field-template.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/image.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/data-binding-selector.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/collection-select.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/code-widget.tsx Switch internal imports from @/ to ~/.
src/core/rjsf-widgets/IconPicker.tsx Switch internal imports from @/ to ~/.
src/core/modals/export-code-modal.tsx Switch internal imports from @/ to ~/.
src/core/modals/code-display.tsx Switch internal imports from @/ to ~/.
src/core/miscellaneous/index.ts Switch internal imports/exports from @/ to ~/.
src/core/main/index.ts Switch internal imports/exports from @/ to ~/.
src/core/locales/load.ts Switch internal imports from @/ to ~/.
src/core/library-blocks/default-chai-library.ts Switch internal imports from @/ to ~/.
src/core/lib.ts Switch internal exports from @/ to ~/.
src/core/import-html/import-video.test.ts Update test imports to use ~/ alias.
src/core/import-html/html-to-json.ts Switch internal imports from @/ to ~/.
src/core/import-html/html-to-json.test.ts Update test imports to use ~/ alias.
src/core/functions/wrapInsideContainer.ts Switch internal imports from @/ to ~/.
src/core/functions/split-blocks.ts Switch internal imports from @/ to ~/.
src/core/functions/sanitize-classes.test.ts Update test imports to use ~/ alias.
src/core/functions/remove-duplicate-classes.ts Switch internal imports from @/ to ~/.
src/core/functions/order-classes-by-breakpoint.ts Switch internal imports from @/ to ~/.
src/core/functions/is-visible-at-breakpoint.test.ts Update test imports to use ~/ alias.
src/core/functions/helper-fn.test.ts Update test imports to use ~/ alias.
src/core/functions/get-user-input-values.test.ts Update test imports to use ~/ alias.
src/core/functions/get-new-classes.ts Switch internal imports from @/ to ~/.
src/core/functions/convert-brbitrary-to-tailwind-class.ts Switch internal imports from @/ to ~/ and remove stray whitespace lines.
src/core/functions/convert-brbitrary-to-tailwind-class.test.ts Update test imports to use ~/ alias.
src/core/functions/common-functions.test.ts Update test imports to use ~/ alias.
src/core/functions/class-fn.ts Switch internal imports from @/ to ~/.
src/core/functions/class-fn.test.ts Update test imports to use ~/ alias.
src/core/functions/blocks-fn.ts Switch internal imports from @/ to ~/.
src/core/functions/block-helpers.ts Switch internal imports from @/ to ~/.
src/core/functions/SanitizeClasses.ts Switch internal imports from @/ to ~/.
src/core/frame/index.ts Switch internal exports from @/ to ~/.
src/core/frame/Frame.tsx Switch internal imports from @/ to ~/.
src/core/constants/THEME_PRESETS.ts Switch internal imports from @/ to ~/.
src/core/constants/STYLING_GROUPS.ts Switch internal imports from @/ to ~/.
src/core/constants/CLASSES_LIST.ts Switch internal imports from @/ to ~/.
src/core/components/use-auto-save.tsx Switch internal imports from @/ to ~/.
src/core/components/topbar/save-button.tsx Switch internal imports from @/ to ~/.
src/core/components/topbar/Preview.tsx Switch internal imports from @/ to ~/.
src/core/components/sidepanels/panels/theme-configuration/theme-config-panel.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/theme-configuration/index.ts Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/theme-configuration/font-selector.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/theme-configuration/css-import-modal.tsx Switch imports from @/ to ~/ and reorder imports.
src/core/components/sidepanels/panels/theme-configuration/border-radius-input.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/outline/upsert-library-block-modal.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/outline/unlink-library-block.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/outline/save-to-library.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/outline/paste-into-root.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/outline/node.tsx Switch imports from @/ to ~/ and modify permissions gating logic.
src/core/components/sidepanels/panels/outline/list-tree.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/outline/export-code.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/outline/block-type-icon.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/outline/block-more-options.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/images/media-manager-modal.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/add-blocks/search-input.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/add-blocks/partial-blocks.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/add-blocks/libraries-select.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/add-blocks/libraries-panel.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/add-blocks/import-html.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/add-blocks/import-html.test.tsx Update test imports/mocks to use ~/ alias.
src/core/components/sidepanels/panels/add-blocks/draggable-block.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/add-blocks/default-blocks.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/add-blocks/core-block.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/add-blocks/block-controller.tsx Switch imports from @/ to ~/.
src/core/components/sidepanels/panels/add-blocks/add-blocks.tsx Switch imports from @/ to ~/.
src/core/components/settings/visibility-setting.tsx Switch imports from @/ to ~/.
src/core/components/settings/user-data-binding.tsx Switch imports from @/ to ~/.
src/core/components/settings/settings-panel.tsx Switch imports from @/ to ~/.
src/core/components/settings/new-panel/token-usage-section.tsx Switch imports from @/ to ~/.
src/core/components/settings/new-panel/setting-section.tsx Switch imports from @/ to ~/.
src/core/components/settings/new-panel/manual-classes.tsx Switch imports from @/ to ~/ and remove design-token UI/modal support.
src/core/components/settings/new-panel/manage-design-token/manage-design-tokens-modal.tsx Removed file (design-token management modal).
src/core/components/settings/new-panel/manage-design-token/design-token-utils.ts Removed file (design-token helpers).
src/core/components/settings/new-panel/manage-design-token/design-token-usage.tsx Removed file (design-token usage UI).
src/core/components/settings/new-panel/manage-design-token/design-token-preview.tsx Removed file (design-token preview UI).
src/core/components/settings/new-panel/manage-design-token/delete-design-token.tsx Removed file (design-token delete UI).
src/core/components/settings/new-panel/breakpoint-selector.tsx Switch imports from @/ to ~/.
src/core/components/settings/new-panel/block-attributes-editor.tsx Switch imports from @/ to ~/.
src/core/components/settings/new-panel/attributes-editor.tsx Switch imports from @/ to ~/.
src/core/components/settings/json-form.tsx Switch imports from @/ to ~/.
src/core/components/settings/common-settings.tsx Switch imports from @/ to ~/.
src/core/components/settings/choices/reset-all-styles.tsx Switch imports from @/ to ~/ and reorder imports.
src/core/components/settings/choices/range-choices.tsx Switch imports from @/ to ~/.
src/core/components/settings/choices/multiple-choices.tsx Switch imports from @/ to ~/.
src/core/components/settings/choices/icon-choice.tsx Switch imports from @/ to ~/.
src/core/components/settings/choices/dropdown-choices.tsx Switch imports from @/ to ~/.
src/core/components/settings/choices/color-choice.tsx Switch imports from @/ to ~/ and remove stray whitespace lines.
src/core/components/settings/choices/block-style.tsx Switch imports from @/ to ~/.
src/core/components/settings/choices/advance-choices.tsx Switch imports from @/ to ~/.
src/core/components/settings/block-styling.tsx Switch imports from @/ to ~/.
src/core/components/settings/block-styling-props.tsx Switch imports from @/ to ~/ and reorder imports.
src/core/components/settings/block-settings.tsx Switch imports from @/ to ~/.
src/core/components/nested-path-selector.tsx Switch imports from @/ to ~/.
src/core/components/layout/root-layout.tsx Switch imports from @/ to ~/ and remove design-token panel routing.
src/core/components/layout/add-blocks-dialog.tsx Switch imports from @/ to ~/.
src/core/components/index.ts Switch exports/imports from @/ to ~/.
src/core/components/hot-keys.tsx Switch imports from @/ to ~/.
src/core/components/css-theme-var.tsx Switch imports from @/ to ~/.
src/core/components/chaibuilder-editor.tsx Switch imports from @/ to ~/ and remove feature flags widget usage.
src/core/components/chai-select.tsx Switch imports from @/ to ~/.
src/core/components/canvas/topbar/undo-redo.tsx Switch imports from @/ to ~/.
src/core/components/canvas/topbar/page-validation.tsx Switch imports from @/ to ~/.
src/core/components/canvas/topbar/data-binding.tsx Switch imports from @/ to ~/.
src/core/components/canvas/topbar/dark-mode.tsx Switch imports from @/ to ~/.
src/core/components/canvas/topbar/clear-canvas.tsx Switch imports from @/ to ~/ and reorder imports.
src/core/components/canvas/topbar/canvas-top-bar.tsx Switch imports from @/ to ~/.
src/core/components/canvas/topbar/canvas-breakpoints.tsx Switch imports from @/ to ~/ and reorder imports.
src/core/components/canvas/topbar/ai-assistant.tsx Switch imports from @/ to ~/.
src/core/components/canvas/tailwind-preview-iframe.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/with-block-text-editor.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/use-chai-external-data.ts Switch imports from @/ to ~/.
src/core/components/canvas/static/use-canvas-scale.ts Switch imports from @/ to ~/.
src/core/components/canvas/static/use-block-runtime-props.ts Switch imports from @/ to ~/.
src/core/components/canvas/static/static-canvas.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/static-blocks-renderer.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/resizable-canvas-wrapper.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/new-blocks-renderer.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/new-blocks-render-helpers.ts Switch imports from @/ to ~/.
src/core/components/canvas/static/head-tags.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/get-theme-custom-font-face.test.ts Update test imports to use ~/ alias.
src/core/components/canvas/static/code-editor.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/chai-theme-helpers.ts Switch imports from @/ to ~/.
src/core/components/canvas/static/chai-canvas.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/canvas-events-watcher.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/bubble-menu.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/async-props-wrapper.tsx Switch imports from @/ to ~/.
src/core/components/canvas/static/apply-language.test.ts Update test imports to use ~/ alias.
src/core/components/canvas/static/adjust-spacing-in-blocks.ts Switch imports from @/ to ~/.
src/core/components/canvas/static/add-block-at-bottom.tsx Switch imports from @/ to ~/.
src/core/components/canvas/scale-percent.tsx Switch imports from @/ to ~/.
src/core/components/canvas/keyboar-handler.tsx Switch imports from @/ to ~/.
src/core/components/canvas/goto-settings-icon.tsx Switch imports from @/ to ~/.
src/core/components/canvas/dnd/drag-and-drop/prevent-circular-drop.ts Switch imports from @/ to ~/.
src/core/components/canvas/dnd/drag-and-drop/hooks/use-drag-parent-highlight.ts Switch imports from @/ to ~/.
src/core/components/canvas/dnd/drag-and-drop/hooks/use-drag-and-drop.ts Switch imports from @/ to ~/.
src/core/components/canvas/dnd/drag-and-drop/hooks/use-direct-block-drag.ts Switch imports from @/ to ~/.
src/core/components/canvas/dnd/drag-and-drop/hooks/use-block-drop.ts Switch imports from @/ to ~/ and reorder imports.
src/core/components/canvas/dnd/drag-and-drop/hooks/use-block-drag-start.ts Switch imports from @/ to ~/ and reorder imports.
src/core/components/canvas/dnd/drag-and-drop/hooks/use-block-drag-over.ts Switch imports from @/ to ~/ and reorder imports.
src/core/components/canvas/dnd/drag-and-drop/hooks/use-block-drag-end.ts Switch imports from @/ to ~/ and reorder imports.
src/core/components/canvas/dnd/drag-and-drop/hooks/index.ts Switch imports/exports from @/ to ~/.
src/core/components/canvas/dnd/drag-and-drop/drag-and-drop-utils.ts Switch imports from @/ to ~/.
src/core/components/canvas/canvas-area.tsx Switch imports and lazy import path from @/ to ~/.
src/core/components/canvas/block-style-highlight.tsx Switch imports from @/ to ~/.
src/core/components/canvas/block-floating-actions.tsx Switch imports from @/ to ~/.
src/core/components/canvas/add-block-placements.tsx Switch imports from @/ to ~/ and reorder imports.
src/core/components/ask-ai-panel.tsx Switch imports from @/ to ~/.
src/core/components/QuickPrompts.tsx Switch imports from @/ to ~/.
src/core/components/PreviewScreen.tsx Switch imports from @/ to ~/.
src/components/ui/tooltip.tsx Switch imports from @/ to ~/.
src/components/ui/toggle.tsx Switch imports from @/ to ~/.
src/components/ui/textarea.tsx Switch imports from @/ to ~/.
src/components/ui/tabs.tsx Switch imports from @/ to ~/.
src/components/ui/switch.tsx Switch imports from @/ to ~/.
src/components/ui/slider.tsx Switch imports from @/ to ~/.
src/components/ui/skeleton.tsx Switch imports from @/ to ~/.
src/components/ui/sheet.tsx Switch imports from @/ to ~/.
src/components/ui/separator.tsx Switch imports from @/ to ~/.
src/components/ui/select.tsx Switch imports from @/ to ~/.
src/components/ui/scroll-area.tsx Switch imports from @/ to ~/.
src/components/ui/popover.tsx Switch imports from @/ to ~/.
src/components/ui/navigation-menu.tsx Switch imports from @/ to ~/.
src/components/ui/label.tsx Switch imports from @/ to ~/.
src/components/ui/input.tsx Switch imports from @/ to ~/.
src/components/ui/hover-card.tsx Switch imports from @/ to ~/ and reorder Tailwind class string.
src/components/ui/dropdown-menu.tsx Switch imports from @/ to ~/.
src/components/ui/dialog.tsx Switch imports from @/ to ~/.
src/components/ui/context-menu.tsx Switch imports from @/ to ~/.
src/components/ui/command.tsx Switch imports from @/ to ~/.
src/components/ui/checkbox.tsx Switch imports from @/ to ~/.
src/components/ui/card.tsx Switch imports from @/ to ~/.
src/components/ui/button.tsx Switch imports from @/ to ~/.
src/components/ui/badge.tsx Switch imports from @/ to ~/.
src/components/ui/avatar.tsx Switch imports from @/ to ~/.
src/components/ui/alert.tsx Switch imports from @/ to ~/.
src/components/ui/alert-dialog.tsx Switch imports from @/ to ~/ and reorder Tailwind class strings.
src/components/ui/accordion.tsx Switch imports from @/ to ~/ and reformat component definitions.
src/atoms/ui.ts Switch imports from @/ to ~/.
src/atoms/store.ts Switch imports from @/ to ~/.
src/atoms/builder.ts Switch imports from @/ to ~/.
src/atoms/blocks.ts Switch imports from @/ to ~/.
src/actions/utils/page-tree-builder.ts Switch imports from @/ to ~/.
src/actions/utils/log-ai-request.ts Switch imports from @/ to ~/.
src/actions/classes/chai-ai-chat-handler.ts Switch imports from @/ to ~/.
src/actions/builder/upsert-library-item.ts Switch imports from @/ to ~/.
src/actions/builder/update-website-fields.ts Switch imports from @/ to ~/.
src/actions/builder/update-page.ts Switch imports from @/ to ~/ and remove stray blank lines.
src/actions/builder/update-page-metadata.ts Switch imports from @/ to ~/.
src/actions/builder/unmark-as-template.ts Switch imports from @/ to ~/.
src/actions/builder/take-offline.ts Switch imports from @/ to ~/.
src/actions/builder/slug-change-handler.ts Switch imports from @/ to ~/.
src/actions/builder/search-pages.ts Switch imports from @/ to ~/.
src/actions/builder/search-page-type-items.ts Switch imports from @/ to ~/.
src/actions/builder/restore-page.ts Switch imports from @/ to ~/.
src/actions/builder/publish-changes.ts Switch imports from @/ to ~/.
src/actions/builder/mark-as-template.ts Switch imports from @/ to ~/.
src/actions/builder/get-website-settings.ts Switch imports from @/ to ~/.
src/actions/builder/get-website-pages.ts Switch imports from @/ to ~/.
src/actions/builder/get-templates-by-type.ts Switch imports from @/ to ~/.
src/actions/builder/get-site-wide-data.ts Switch imports from @/ to ~/.
src/actions/builder/get-revision-page.ts Switch imports from @/ to ~/.
src/actions/builder/get-page-types.ts Switch imports from @/ to ~/.
src/actions/builder/get-page-revisions.ts Switch imports from @/ to ~/.
src/actions/builder/get-library-items.ts Switch imports from @/ to ~/.
src/actions/builder/get-library-item.ts Switch imports from @/ to ~/.
src/actions/builder/get-library-groups.ts Switch imports from @/ to ~/.
src/actions/builder/get-libraries.ts Switch imports from @/ to ~/.
src/actions/builder/get-language-pages.ts Switch imports from @/ to ~/.
src/actions/builder/get-dynamic-pages.ts Switch imports from @/ to ~/.
src/actions/builder/get-draft-page.ts Switch imports from @/ to ~/.
src/actions/builder/get-compare-data.ts Switch imports from @/ to ~/.
src/actions/builder/get-collections.ts Switch imports from @/ to ~/.
src/actions/builder/get-changes.ts Switch imports from @/ to ~/.
src/actions/builder/get-builder-page-data.ts Switch imports from @/ to ~/.
src/actions/builder/get-block-async-props.ts Switch imports from @/ to ~/.
src/actions/builder/duplicate-page.ts Switch imports from @/ to ~/.
src/actions/builder/delete-page.ts Switch imports from @/ to ~/.
src/actions/builder/delete-page-revision.ts Switch imports from @/ to ~/.
src/actions/builder/delete-library-item.ts Switch imports from @/ to ~/.
src/actions/builder/create-page.ts Switch imports from @/ to ~/.
src/actions/builder/ask-ai-action.ts Switch imports from @/ to ~/.
src/actions/builder/actions-registery.ts Switch imports from @/ to ~/ and reorder imports.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread src/core/components/sidepanels/panels/outline/node.tsx
{!isDragAndDropEnabled &&
node?.rowIndex !== null &&
node?.rowIndex !== undefined &&
node?.rowIndex > 0 &&
Comment thread src/core/components/sidepanels/panels/outline/node.tsx
const [editingClassIndex, setEditingClassIndex] = useState(-1);
const isSelectingSuggestion = useRef(false);
const [isDesignTokenModalOpen, setIsDesignTokenModalOpen] = useState(false);
const [, setIsDesignTokenModalOpen] = useState(false);
) : (
<SettingsPanel />
)}
{panel === "ai" ? <AskAI /> : panel === "theme" ? <ThemeConfigPanel /> : <SettingsPanel />}
@@ -133,7 +132,6 @@ const ChaiBuilderEditor: React.FC<ChaiBuilderEditorProps> = (props: ChaiBuilderE
<ChaiWatchers {...props} />
<PreviewScreen />
<Toaster richColors />
@surajair surajair force-pushed the migration-changes branch from 66312ec to 8aaff87 Compare March 16, 2026 02:50
@surajair surajair merged commit 4faa67d into dev Mar 16, 2026
3 of 4 checks passed
@surajair surajair deleted the migration-changes branch March 16, 2026 02:55
surajair added a commit that referenced this pull request Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants