@allbluecn/web-app 0.18.0 → 0.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -3
- package/src/__tests__/visual/theme-surface.vrt.test.tsx +1 -1
- package/src/components/agents/agent-bindings-tab.tsx +3 -3
- package/src/components/agents/agent-card.tsx +4 -4
- package/src/components/agents/agent-form-dialog.tsx +9 -9
- package/src/components/agents/agent-selector.tsx +1 -1
- package/src/components/agents/agents-page.tsx +1 -1
- package/src/components/agents/skill-card.tsx +1 -1
- package/src/components/agents/skill-form-dialog.tsx +5 -5
- package/src/components/agents/use-agent-handlers.ts +1 -1
- package/src/components/ai/__tests__/prompt-input-actions.test.tsx +1 -1
- package/src/components/ai/ai-chat-prompt.tsx +3 -3
- package/src/components/ai/ai-prompt-input/components/action-buttons.tsx +3 -3
- package/src/components/ai/ai-prompt-input/components/agent-mode-select.tsx +1 -1
- package/src/components/ai/ai-prompt-input/components/model-select.tsx +1 -1
- package/src/components/ai/ai-prompt-input/index.tsx +3 -3
- package/src/components/ai/ai-suggested-prompts.tsx +5 -5
- package/src/components/ai/global-harness-sidebar/index.tsx +5 -5
- package/src/components/ai/tool-parts/tool-call-part.tsx +1 -1
- package/src/components/ai/tool-parts/tool-result-part.tsx +1 -1
- package/src/components/anyhub/anyhub-app-card.tsx +5 -5
- package/src/components/anyhub/anyhub-install-dialog.tsx +4 -4
- package/src/components/anyhub/anyhub-management-view.tsx +1 -1
- package/src/components/anyhub/anyhub-marketplace-view.tsx +4 -4
- package/src/components/anyhub/anyhub-permission-panel.tsx +4 -4
- package/src/components/anyhub/anyhub-top-nav.tsx +2 -2
- package/src/components/auth/icon-input.tsx +2 -2
- package/src/components/auth/oauth-section.tsx +2 -2
- package/src/components/auth/password-input.tsx +2 -2
- package/src/components/auth/sso-section.tsx +1 -1
- package/src/components/billing/__tests__/seats-manager.test.tsx +1 -1
- package/src/components/billing/checkout-redirect.ts +1 -1
- package/src/components/billing/login-prompt-dialog.tsx +3 -3
- package/src/components/billing/seats-manager.tsx +2 -2
- package/src/components/bug/__tests__/bug-display-dropdown.test.tsx +1 -1
- package/src/components/bug/__tests__/bug-toolbar.test.tsx +1 -1
- package/src/components/bug/__tests__/create-bug-dialog.test.tsx +2 -2
- package/src/components/bug/__tests__/use-paged-bug-groups.test.tsx +1 -1
- package/src/components/bug/bug-list-table.tsx +1 -1
- package/src/components/bug/bug-list-view.tsx +1 -1
- package/src/components/bug/bug-panel-header.tsx +5 -5
- package/src/components/bug/bug-toolbar.tsx +3 -3
- package/src/components/bug/collect/__tests__/collect-form.test.tsx +1 -1
- package/src/components/bug/collect/collect-form.tsx +5 -5
- package/src/components/bug/columns.tsx +1 -1
- package/src/components/bug/create-bug-dialog.tsx +4 -4
- package/src/components/bug/detail/__tests__/error-context.test.tsx +1 -1
- package/src/components/bug/detail/activity-tabs.tsx +1 -1
- package/src/components/bug/detail/bug-detail-body.tsx +6 -6
- package/src/components/bug/detail/comment-input.tsx +3 -3
- package/src/components/bug/detail/comment-item.tsx +5 -5
- package/src/components/bug/detail/events-timeline.tsx +1 -1
- package/src/components/bug/detail/fix-timeline.tsx +3 -3
- package/src/components/bug/detail/props-section.tsx +2 -2
- package/src/components/bug/detail/regression-section.tsx +3 -3
- package/src/components/bug/detail/repro-report-card.tsx +5 -5
- package/src/components/bug/display/display-dropdown.tsx +2 -2
- package/src/components/bug/filters/add-filter-dropdown.tsx +1 -1
- package/src/components/bug/filters/applied-filters.tsx +1 -1
- package/src/components/bug/filters/filter-row.tsx +1 -1
- package/src/components/bug/filters/filter-toggle.tsx +2 -2
- package/src/components/bug/filters/filter-value-input.tsx +1 -1
- package/src/components/bug/inline-editors/assignee-editor.tsx +1 -1
- package/src/components/bug/inline-editors/date-editor.tsx +1 -1
- package/src/components/bug/inline-editors/inline-trigger.tsx +2 -2
- package/src/components/bug/peek-panel.tsx +1 -1
- package/src/components/bug/reproduce-steps-editor.tsx +3 -3
- package/src/components/bug/settings/bug-settings-panel.tsx +4 -4
- package/src/components/bug/settings/collect-page-manager.tsx +9 -9
- package/src/components/bug/settings/install-commands.tsx +3 -3
- package/src/components/bug/settings/token-list.tsx +7 -7
- package/src/components/bug/settings/webhook-manager.tsx +9 -9
- package/src/components/bug/views/bug-list/batch-toolbar.tsx +4 -4
- package/src/components/bug/views/bug-list/group.tsx +2 -2
- package/src/components/bug/views/bug-list/index.tsx +1 -1
- package/src/components/bug/views/bug-list/inline-bug-creator.tsx +1 -1
- package/src/components/bug/views/bug-list/row.tsx +2 -2
- package/src/components/bug/views/view-switcher.tsx +1 -1
- package/src/components/changelog/changelog-page.tsx +1 -1
- package/src/components/confirm-dialog.tsx +94 -0
- package/src/components/design/canvas/panels/appearance-text-panel.tsx +3 -3
- package/src/components/design/canvas/panels/controls/add-button.tsx +1 -1
- package/src/components/design/canvas/panels/controls/constraint-select.tsx +1 -1
- package/src/components/design/canvas/panels/controls/gradient-editor.tsx +1 -1
- package/src/components/design/canvas/panels/controls/pattern-params.tsx +2 -2
- package/src/components/design/canvas/panels/controls/rows.tsx +3 -3
- package/src/components/design/canvas/panels/controls/shader-picker.tsx +3 -3
- package/src/components/design/canvas/panels/controls/text-style-button.tsx +1 -1
- package/src/components/design/canvas/panels/controls/toolbar-button.tsx +2 -2
- package/src/components/design/canvas/panels/frame-property-panel.tsx +3 -3
- package/src/components/design/canvas/panels/layer-panel.tsx +2 -2
- package/src/components/design/canvas/panels/paint-lists-panel.tsx +1 -1
- package/src/components/design/canvas/panels/property-panel.tsx +3 -3
- package/src/components/design/canvas/panels/shape-corners-panel.tsx +2 -2
- package/src/components/design/canvas/panels/toolbar.tsx +4 -4
- package/src/components/design/canvas/panels/transform-layout-panel.tsx +3 -3
- package/src/components/design/canvas/react/__tests__/hooks.test.tsx +2 -2
- package/src/components/design/canvas/react/hooks.ts +1 -1
- package/src/components/design/canvas/react/workbench.tsx +2 -2
- package/src/components/design/editor/annotation/annotation-node/annotation-node-view.tsx +1 -1
- package/src/components/design/editor/collaboration/__tests__/design-agent-panel-regenerate.test.tsx +1 -1
- package/src/components/design/editor/collaboration/__tests__/design-agent-panel-stream.test.tsx +2 -2
- package/src/components/design/editor/collaboration/agent-input.tsx +2 -2
- package/src/components/design/editor/collaboration/design-agent-panel.tsx +2 -2
- package/src/components/design/editor/collaboration/design-comment-review-panel.tsx +4 -4
- package/src/components/design/editor/dashboard/create-design-dialog.tsx +3 -3
- package/src/components/design/editor/dashboard/design-dashboard.tsx +4 -4
- package/src/components/design/editor/layout/__tests__/context-menu.test.tsx +1 -1
- package/src/components/design/editor/layout/__tests__/no-page-save-toast.test.tsx +2 -2
- package/src/components/design/editor/layout/__tests__/persistence-restore.test.tsx +1 -1
- package/src/components/design/editor/layout/__tests__/ssr-localstorage-smoke.test.tsx +1 -1
- package/src/components/design/editor/layout/context-menu.tsx +1 -1
- package/src/components/design/editor/layout/design-doc-panel.tsx +2 -2
- package/src/components/design/editor/layout/design-editor-layout.tsx +1 -1
- package/src/components/design/editor/layout/design-navigation.tsx +4 -4
- package/src/components/design/editor/layout/design-right-sidebar.tsx +2 -2
- package/src/components/design/editor/layout/hooks/use-design-auto-save.ts +1 -1
- package/src/components/design/editor/pages/design-detail-page.tsx +1 -1
- package/src/components/design/editor/pages/share-design-page.tsx +1 -1
- package/src/components/design/editor/pages-tree/design-tree-page-tab.tsx +3 -3
- package/src/components/design/editor/share/design-share-panel/components/single-version-share-card.tsx +6 -6
- package/src/components/design/editor/share/design-share-panel/index.tsx +9 -9
- package/src/components/design/editor/share/share-comment-panel.tsx +4 -4
- package/src/components/design/editor/share/share-nav-bar.tsx +3 -3
- package/src/components/design/editor/share/share-password-gate.tsx +3 -3
- package/src/components/design/editor/share/share-review-panel.tsx +4 -4
- package/src/components/design/editor/versions/components/create-version-dialog.tsx +2 -2
- package/src/components/design/editor/versions/components/delete-version-dialog.tsx +2 -2
- package/src/components/design/editor/versions/components/edit-version-dialog.tsx +2 -2
- package/src/components/design/editor/versions/components/page-tree-selector.tsx +4 -4
- package/src/components/design/editor/versions/components/page-version-timeline.tsx +2 -2
- package/src/components/design/editor/versions/page-version-panel.tsx +5 -5
- package/src/components/design/editor/versions/page-version-tree.tsx +3 -3
- package/src/components/design/editor/versions/restore-version-dialog.tsx +2 -2
- package/src/components/error/global-error-boundary.tsx +1 -1
- package/src/components/forms/app-array-field.tsx +1 -1
- package/src/components/forms/app-checkbox.tsx +1 -1
- package/src/components/forms/app-combobox.tsx +1 -1
- package/src/components/forms/app-date-picker.tsx +1 -1
- package/src/components/forms/app-field.tsx +1 -1
- package/src/components/forms/app-form-dialog.tsx +2 -2
- package/src/components/forms/app-input.tsx +1 -1
- package/src/components/forms/app-section.tsx +1 -1
- package/src/components/forms/app-select.tsx +1 -1
- package/src/components/forms/app-switch.tsx +1 -1
- package/src/components/forms/app-textarea.tsx +1 -1
- package/src/components/forms/hooks/use-form-submit.ts +1 -1
- package/src/components/harness/__tests__/media-route.test.tsx +1 -1
- package/src/components/harness/agent-preset-picker.tsx +3 -3
- package/src/components/harness/ai-chat-history/components/conversation-header.tsx +2 -2
- package/src/components/harness/ai-chat-history/components/conversation-item.tsx +3 -3
- package/src/components/harness/ai-chat-history/components/conversation-search.tsx +1 -1
- package/src/components/harness/ai-chat-history/components/empty-state.tsx +1 -1
- package/src/components/harness/ai-chat-history/index.tsx +2 -2
- package/src/components/harness/ai-citations/components/citation-item.tsx +1 -1
- package/src/components/harness/ai-citations/components/source-components.tsx +1 -1
- package/src/components/harness/ai-citations/index.tsx +1 -1
- package/src/components/harness/ai-thinking.tsx +1 -1
- package/src/components/harness/code/file-tree.tsx +1 -1
- package/src/components/harness/code/preview-panel.tsx +2 -2
- package/src/components/harness/code/workspace-picker.tsx +3 -3
- package/src/components/harness/composer/harness-composer.tsx +3 -3
- package/src/components/harness/composer/model-select.tsx +1 -1
- package/src/components/harness/connection-indicator.tsx +1 -1
- package/src/components/harness/gallery/gallery-card.tsx +5 -5
- package/src/components/harness/gallery/gallery-grid.tsx +5 -5
- package/src/components/harness/gallery/lightbox-viewer.tsx +2 -2
- package/src/components/harness/gallery/retranscribe-dialog.tsx +5 -5
- package/src/components/harness/harness-workbench-page.tsx +2 -2
- package/src/components/harness/image-lightbox.tsx +1 -1
- package/src/components/harness/interrupt-approval.tsx +2 -2
- package/src/components/harness/message-actions.tsx +2 -2
- package/src/components/harness/plan-approval-card.tsx +2 -2
- package/src/components/harness/plugin-define-approval.tsx +2 -2
- package/src/components/harness/plugin-panel.tsx +3 -3
- package/src/components/harness/queue-bar.tsx +1 -1
- package/src/components/harness/queue-item.tsx +1 -1
- package/src/components/harness/retry-countdown-bar.tsx +1 -1
- package/src/components/hextaui/ai-citations.tsx +1 -1
- package/src/components/hextaui/ai-file-upload.tsx +2 -2
- package/src/components/hextaui/ai-message.tsx +2 -2
- package/src/components/hextaui/ai-thinking.tsx +1 -1
- package/src/components/hotkeys/shortcuts-panel.tsx +2 -2
- package/src/components/infinite-scroll-sentinel.tsx +37 -0
- package/src/components/iteration/auto-schedule-dialog.tsx +5 -5
- package/src/components/iteration/create-iteration-dialog.tsx +5 -5
- package/src/components/iteration/iteration-editor.tsx +3 -3
- package/src/components/knowledge/dialog/knowledge-form-dialog.tsx +3 -3
- package/src/components/knowledge/doc-properties.tsx +2 -2
- package/src/components/knowledge/kb-filter-popover.tsx +2 -2
- package/src/components/knowledge/knowledge-tag-input.tsx +2 -2
- package/src/components/knowledge/knowledge-toolbar.tsx +9 -9
- package/src/components/knowledge/knowledge-tree-item.tsx +5 -5
- package/src/components/knowledge/knowledge-tree.tsx +3 -3
- package/src/components/knowledge-public/bookmark-card.tsx +3 -3
- package/src/components/knowledge-public/bookmark-form-dialog.tsx +6 -6
- package/src/components/knowledge-public/knowledge-card.tsx +1 -1
- package/src/components/knowledge-public/knowledge-form-dialog.tsx +6 -6
- package/src/components/knowledge-public/knowledge-search-bar.tsx +2 -2
- package/src/components/knowledge-public/legal-compliance-editor.tsx +1 -1
- package/src/components/knowledge-public/markdown-editor.tsx +2 -2
- package/src/components/knowledge-public/sharers-avatar-group.tsx +1 -1
- package/src/components/layout/sidebar-03/__tests__/nav-workspace.test.tsx +2 -2
- package/src/components/layout/sidebar-03/__tests__/user-menu-anonymous.test.tsx +3 -3
- package/src/components/layout/sidebar-03/app-sidebar.tsx +1 -1
- package/src/components/layout/sidebar-03/index.tsx +1 -1
- package/src/components/layout/sidebar-03/nav-anyhub.tsx +2 -2
- package/src/components/layout/sidebar-03/nav-knowledge.tsx +4 -4
- package/src/components/layout/sidebar-03/nav-main.tsx +4 -4
- package/src/components/layout/sidebar-03/nav-notifications.tsx +1 -1
- package/src/components/layout/sidebar-03/nav-search-trigger.tsx +1 -1
- package/src/components/layout/sidebar-03/nav-secondary.tsx +1 -1
- package/src/components/layout/sidebar-03/nav-workspace.tsx +2 -2
- package/src/components/layout/sidebar-03/team-switcher.tsx +2 -2
- package/src/components/layout/sidebar-03/user-menu.tsx +3 -3
- package/src/components/notifications/settings-notifications.tsx +6 -6
- package/src/components/notifications/team-notifications.tsx +6 -6
- package/src/components/project/create-project-dialog.tsx +4 -4
- package/src/components/project/invite-member-dialog.tsx +6 -6
- package/src/components/project/project-member-manager.tsx +5 -5
- package/src/components/project/project-module-card.tsx +1 -1
- package/src/components/settings/ai/api-key-field.tsx +3 -3
- package/src/components/settings/ai/byok-section.tsx +2 -2
- package/src/components/settings/ai/create-custom-model-dialog.tsx +5 -5
- package/src/components/settings/ai/create-custom-provider-dialog.tsx +5 -5
- package/src/components/settings/ai/local-agent-panel.tsx +3 -3
- package/src/components/settings/ai/model-card.tsx +2 -2
- package/src/components/settings/ai/model-manager.tsx +4 -4
- package/src/components/settings/ai/provider-card.tsx +1 -1
- package/src/components/settings/ai/provider-detail-form.tsx +6 -6
- package/src/components/settings/ai/provider-grid.tsx +3 -3
- package/src/components/settings/ai/source/model-source-picker.tsx +2 -2
- package/src/components/settings/language-selector.tsx +2 -2
- package/src/components/settings/personal-team/account/account-client.tsx +2 -2
- package/src/components/settings/personal-team/account/avatar/notion-avatar-editor.tsx +3 -3
- package/src/components/settings/personal-team/account/settings-profile.tsx +8 -8
- package/src/components/settings/personal-team/team/invitation-cards/invitation-badges.tsx +1 -1
- package/src/components/settings/personal-team/team/invitation-cards/invitation-history-list.tsx +5 -5
- package/src/components/settings/personal-team/team/invitation-cards/invite-email-card.tsx +5 -5
- package/src/components/settings/personal-team/team/invitation-cards/invite-link-card.tsx +3 -3
- package/src/components/settings/personal-team/team/team-client.tsx +6 -6
- package/src/components/settings/personal-team/team/team-invitations.tsx +1 -1
- package/src/components/settings/personal-team/team/team-member-list.tsx +7 -7
- package/src/components/shared-kit/avatars/notion-avatar.tsx +109 -3
- package/src/components/shared-kit/avatars/user-avatar.tsx +65 -3
- package/src/components/shared-kit/data-viz/contribution-graph-tooltip.tsx +1 -1
- package/src/components/shared-kit/dialogs/name-confirm-dialog.tsx +5 -5
- package/src/components/shared-kit/i18n/language-switcher.tsx +2 -2
- package/src/components/shared-kit/icons/lucide-icon-picker/index.tsx +1 -1
- package/src/components/shared-kit/icons/lucide-icon-picker/panel.tsx +1 -1
- package/src/components/shared-kit/theme/theme-surface.tsx +4 -4
- package/src/components/shared-kit/theme/theme-toggle.tsx +1 -1
- package/src/components/shared-kit/timezone/timezone-select.tsx +1 -1
- package/src/components/story/__tests__/story-list-view-restore.test.tsx +2 -2
- package/src/components/story/__tests__/story-list-view-ssr.test.tsx +2 -2
- package/src/components/story/ai/handlers/more-popover.tsx +2 -2
- package/src/components/story/ai/handlers/stream-text.ts +1 -1
- package/src/components/story/ai/prototype-dialog.tsx +4 -4
- package/src/components/story/ai/split-dialog.tsx +6 -6
- package/src/components/story/ai/story-ai-panel.tsx +4 -4
- package/src/components/story/ai/story-ai-preview-list.tsx +4 -4
- package/src/components/story/ai/story-ai-toolbar.tsx +3 -3
- package/src/components/story/columns.tsx +1 -1
- package/src/components/story/create-story-dialog.tsx +4 -4
- package/src/components/story/detail/__tests__/associated-attachments-panel.test.tsx +1 -1
- package/src/components/story/detail/__tests__/categories.test.tsx +1 -1
- package/src/components/story/detail/__tests__/dependencies-button.test.tsx +1 -1
- package/src/components/story/detail/comment-input.tsx +3 -3
- package/src/components/story/detail/comment-item.tsx +3 -3
- package/src/components/story/detail/reaction-bar.tsx +1 -1
- package/src/components/story/detail/story-detail-body.tsx +5 -5
- package/src/components/story/detail/story-detail-toolbar/__tests__/related-test-cases.test.tsx +1 -1
- package/src/components/story/detail/story-detail-toolbar/associated-attachments-panel.tsx +4 -4
- package/src/components/story/detail/story-detail-toolbar/categories.tsx +1 -1
- package/src/components/story/detail/story-detail-toolbar/children.tsx +5 -5
- package/src/components/story/detail/story-detail-toolbar/dependencies.tsx +1 -1
- package/src/components/story/detail/story-detail-toolbar/dependency-panel.tsx +3 -3
- package/src/components/story/detail/story-detail-toolbar/related-test-cases.tsx +1 -1
- package/src/components/story/detail/story-detail-toolbar.tsx +2 -2
- package/src/components/story/detail/story-properties.tsx +1 -1
- package/src/components/story/display/__tests__/display-dropdown.test.tsx +1 -1
- package/src/components/story/display/display-dropdown.tsx +3 -3
- package/src/components/story/filters/add-filter-dropdown.tsx +1 -1
- package/src/components/story/filters/applied-filters.tsx +1 -1
- package/src/components/story/filters/filter-row.tsx +1 -1
- package/src/components/story/filters/filter-toggle.tsx +2 -2
- package/src/components/story/inline-editors/__tests__/dependency-type-select.test.tsx +2 -2
- package/src/components/story/inline-editors/__tests__/labels-editor.test.tsx +2 -2
- package/src/components/story/inline-editors/__tests__/priority-editor.test.tsx +1 -1
- package/src/components/story/inline-editors/__tests__/state-editor.test.tsx +1 -1
- package/src/components/story/inline-editors/assignee-editor.tsx +1 -1
- package/src/components/story/inline-editors/date-editor.tsx +1 -1
- package/src/components/story/inline-editors/dependency-type-select.tsx +2 -2
- package/src/components/story/inline-editors/inline-trigger.tsx +2 -2
- package/src/components/story/inline-editors/labels-editor.tsx +2 -2
- package/src/components/story/inline-editors/parent-story-editor.tsx +1 -1
- package/src/components/story/inline-editors/story-select-dialog.tsx +6 -6
- package/src/components/story/peek-panel.tsx +2 -2
- package/src/components/story/relations/__tests__/attachment-manage-dialog.test.tsx +4 -4
- package/src/components/story/relations/__tests__/knowledge-select-dialog.test.tsx +2 -2
- package/src/components/story/relations/__tests__/link-manage-dialog.test.tsx +1 -1
- package/src/components/story/relations/attachment-manage-dialog.tsx +4 -4
- package/src/components/story/relations/knowledge-select-dialog.tsx +5 -5
- package/src/components/story/relations/link-manage-dialog.tsx +5 -5
- package/src/components/story/relations/story-ref-row.tsx +5 -5
- package/src/components/story/search-popover.tsx +1 -1
- package/src/components/story/story-list-table.tsx +1 -1
- package/src/components/story/story-list-view.tsx +2 -2
- package/src/components/story/story-panel-header.tsx +5 -5
- package/src/components/story/story-toolbar.tsx +4 -4
- package/src/components/story/transfer-story-popover.tsx +4 -4
- package/src/components/story/views/calendar-view.tsx +3 -3
- package/src/components/story/views/create-view-dialog.tsx +2 -2
- package/src/components/story/views/kanban-board.tsx +2 -2
- package/src/components/story/views/story-list/__tests__/batch-toolbar.test.tsx +1 -1
- package/src/components/story/views/story-list/__tests__/group-header.test.tsx +1 -1
- package/src/components/story/views/story-list/batch-preview-dialog.tsx +7 -7
- package/src/components/story/views/story-list/batch-toolbar.tsx +3 -3
- package/src/components/story/views/story-list/group.tsx +2 -2
- package/src/components/story/views/story-list/index.tsx +1 -1
- package/src/components/story/views/story-list/row.tsx +1 -1
- package/src/components/story/views/timeline-view.tsx +3 -3
- package/src/components/story/views/view-list-section.tsx +1 -1
- package/src/components/story/views/view-selector-button.tsx +2 -2
- package/src/components/story/views/view-switcher.tsx +1 -1
- package/src/components/tags/nav-tag.tsx +6 -6
- package/src/components/tags/tag-badge.tsx +1 -1
- package/src/components/tags/tag-manager.tsx +5 -5
- package/src/components/tags/tag-selector.tsx +1 -1
- package/src/components/testcase/__tests__/artifact-panel.test.tsx +1 -1
- package/src/components/testcase/__tests__/case-row.test.tsx +2 -2
- package/src/components/testcase/__tests__/convert-bug.test.tsx +2 -2
- package/src/components/testcase/__tests__/folder-tree.test.tsx +2 -2
- package/src/components/testcase/__tests__/generate-dialog.test.tsx +1 -1
- package/src/components/testcase/__tests__/review-layout.test.tsx +1 -1
- package/src/components/testcase/__tests__/step-editor.test.tsx +2 -2
- package/src/components/testcase/ai/generate-dialog.tsx +4 -4
- package/src/components/testcase/automation/artifact-diff.tsx +1 -1
- package/src/components/testcase/automation/artifact-panel.tsx +6 -6
- package/src/components/testcase/automation/verify-report.tsx +1 -1
- package/src/components/testcase/create-testcase-dialog.tsx +5 -5
- package/src/components/testcase/detail/case-detail-body.tsx +1 -1
- package/src/components/testcase/detail/properties.tsx +1 -1
- package/src/components/testcase/detail/story-link-editor.tsx +1 -1
- package/src/components/testcase/filters/index.tsx +2 -2
- package/src/components/testcase/folder-tree.tsx +2 -2
- package/src/components/testcase/generation/batch-actions.tsx +1 -1
- package/src/components/testcase/generation/draft-card.tsx +5 -5
- package/src/components/testcase/generation/review-layout.tsx +2 -2
- package/src/components/testcase/inline-editors/assignee-editor.tsx +1 -1
- package/src/components/testcase/list/case-row.tsx +1 -1
- package/src/components/testcase/list/grouped-list.tsx +1 -1
- package/src/components/testcase/list-view.tsx +1 -1
- package/src/components/testcase/peek-panel.tsx +4 -4
- package/src/components/testcase/plans/add-to-plan-bar.tsx +2 -2
- package/src/components/testcase/plans/add-to-plan-dialog.tsx +4 -4
- package/src/components/testcase/plans/create-plan-dialog.tsx +5 -5
- package/src/components/testcase/plans/plan-detail.tsx +7 -7
- package/src/components/testcase/plans/plan-list.tsx +3 -3
- package/src/components/testcase/plans/plan-state-badge.tsx +1 -1
- package/src/components/testcase/runs/case-checklist.tsx +3 -3
- package/src/components/testcase/runs/convert-bug-button.tsx +1 -1
- package/src/components/testcase/runs/failure-list.tsx +2 -2
- package/src/components/testcase/runs/pending-bugs.tsx +3 -3
- package/src/components/testcase/runs/run-header.tsx +1 -1
- package/src/components/testcase/runs/step-row.tsx +2 -2
- package/src/components/testcase/step-editor.tsx +2 -2
- package/src/components/testcase/table/table-view.tsx +1 -1
- package/src/components/testcase/testcase-toolbar.tsx +3 -3
- package/src/components/testcase/views/create-view-dialog.tsx +2 -2
- package/src/components/testcase/views/view-selector-button.tsx +2 -2
- package/src/components/testcase/views/view-switcher.tsx +1 -1
- package/src/components/tiptap/mindmap/mind-map-context-menu.tsx +1 -1
- package/src/components/tiptap/mindmap/mind-map-controls.tsx +2 -2
- package/src/components/tiptap/mindmap/mindmap-fullscreen-dialog.tsx +1 -1
- package/src/components/tiptap/notion-like/notion-like-editor-header.tsx +2 -2
- package/src/components/tiptap/ui/ai-menu/ai-menu.tsx +1 -1
- package/src/components/tiptap/ui/mention-dropdown-menu/mention-dropdown-menu.tsx +1 -1
- package/src/components/ui/__tests__/select.test.tsx +1 -1
- package/src/components/ui/alert-dialog.tsx +185 -0
- package/src/components/ui/alert.tsx +75 -0
- package/src/components/ui/avatar.tsx +106 -0
- package/src/components/ui/badge.tsx +51 -0
- package/src/components/ui/button-group.tsx +1 -1
- package/src/components/ui/button.tsx +57 -0
- package/src/components/ui/calendar.tsx +1 -1
- package/src/components/ui/card.tsx +102 -0
- package/src/components/ui/checkbox.tsx +27 -0
- package/src/components/ui/collapsible.tsx +19 -0
- package/src/components/ui/command.tsx +2 -2
- package/src/components/ui/dialog.tsx +155 -0
- package/src/components/ui/dropdown-menu.tsx +265 -0
- package/src/components/ui/field.tsx +236 -0
- package/src/components/ui/input-group.tsx +157 -0
- package/src/components/ui/input.tsx +19 -0
- package/src/components/ui/item.tsx +1 -1
- package/src/components/ui/label.tsx +17 -0
- package/src/components/ui/message-scroller.tsx +1 -1
- package/src/components/ui/pagination.tsx +130 -0
- package/src/components/ui/questionnaire.tsx +1 -1
- package/src/components/ui/select.tsx +232 -0
- package/src/components/ui/separator.tsx +23 -0
- package/src/components/ui/sheet.tsx +134 -0
- package/src/components/ui/sidebar.tsx +721 -0
- package/src/components/ui/skeleton.tsx +13 -0
- package/src/components/ui/switch.tsx +30 -0
- package/src/components/ui/table.tsx +113 -0
- package/src/components/ui/textarea.tsx +17 -0
- package/src/components/ui/toast.tsx +308 -0
- package/src/components/ui/tooltip.tsx +64 -0
- package/src/components/workspace/__tests__/dialogs/create-workspace-dialog.test.tsx +3 -3
- package/src/components/workspace/__tests__/dialogs/delete-workspace-options.test.tsx +3 -3
- package/src/components/workspace/__tests__/dialogs/edit-workspace-dialog.test.tsx +3 -3
- package/src/components/workspace/__tests__/header/workspace-header.test.tsx +3 -3
- package/src/components/workspace/__tests__/kb/workspace-kb-card.test.tsx +2 -2
- package/src/components/workspace/__tests__/members/workspace-members-manager.test.tsx +5 -5
- package/src/components/workspace/__tests__/projects/workspace-project-list.test.tsx +2 -2
- package/src/components/workspace/dialogs/create-workspace-dialog.tsx +3 -3
- package/src/components/workspace/dialogs/delete-workspace-options.tsx +3 -3
- package/src/components/workspace/dialogs/edit-workspace-dialog.tsx +3 -3
- package/src/components/workspace/header/workspace-header.tsx +3 -3
- package/src/components/workspace/kb/workspace-kb-card.tsx +6 -6
- package/src/components/workspace/kb/workspace-kb-manage-dialog.tsx +5 -5
- package/src/components/workspace/kb/workspace-quick-doc-dialog.tsx +6 -6
- package/src/components/workspace/members/workspace-members-manager.tsx +6 -6
- package/src/components/workspace/projects/workspace-project-list.tsx +2 -2
- package/src/hooks/use-load-more.ts +57 -0
- package/src/hooks/use-mobile.ts +19 -0
- package/src/hooks/use-notifications.ts +1 -1
- package/src/lib/changelog/sdk-versions.ts +1 -1
- package/src/lib/datetime.ts +209 -4
- package/src/lib/sanitize.ts +17 -19
- package/src/lib/toast-error.ts +1 -1
- package/src/providers/index.tsx +2 -2
- package/src/routes/__desktop/onboarding/route.lazy.tsx +6 -6
- package/src/routes/__root.tsx +2 -2
- package/src/routes/_login/forgot-password/route.lazy.tsx +1 -1
- package/src/routes/_login/login/route.lazy.tsx +4 -4
- package/src/routes/_login/register/route.lazy.tsx +2 -2
- package/src/routes/_login/reset-password/route.lazy.tsx +1 -1
- package/src/routes/_login/verify-email/route.lazy.tsx +1 -1
- package/src/routes/_nav/-components/nav-not-found.tsx +1 -1
- package/src/routes/_nav/bugs/$bugId/route.tsx +1 -1
- package/src/routes/_nav/dashboard/-components/activity-feed.tsx +1 -1
- package/src/routes/_nav/dashboard/-components/quick-actions.tsx +1 -1
- package/src/routes/_nav/dashboard/-components/stats-grid.tsx +1 -1
- package/src/routes/_nav/dashboard/route.lazy.tsx +1 -1
- package/src/routes/_nav/knowledge/$kbId/-components/knowledge-workspace-pending.tsx +1 -1
- package/src/routes/_nav/knowledge/$kbId/doc/$docId/route.tsx +1 -1
- package/src/routes/_nav/knowledge/$kbId/route.lazy.tsx +1 -1
- package/src/routes/_nav/knowledge/bookmarks/$id.lazy.tsx +6 -6
- package/src/routes/_nav/knowledge/bookmarks/index.lazy.tsx +1 -1
- package/src/routes/_nav/knowledge/compliance/$id.lazy.tsx +5 -5
- package/src/routes/_nav/knowledge/dictionaries/$id.lazy.tsx +3 -3
- package/src/routes/_nav/knowledge/index.lazy.tsx +6 -6
- package/src/routes/_nav/knowledge/laws/$id.lazy.tsx +5 -5
- package/src/routes/_nav/projects/$projectId/$storyId/route.lazy.tsx +2 -2
- package/src/routes/_nav/projects/$projectId/index.lazy.tsx +1 -1
- package/src/routes/_nav/projects/$projectId/iterations/$iterationId/route.lazy.tsx +5 -5
- package/src/routes/_nav/projects/$projectId/iterations/index.lazy.tsx +1 -1
- package/src/routes/_nav/projects/$projectId/settings/route.lazy.tsx +8 -8
- package/src/routes/_nav/settings/ai/hosted/route.lazy.tsx +2 -2
- package/src/routes/_nav/settings/ai/index/route.lazy.tsx +1 -1
- package/src/routes/_nav/settings/billing/route.lazy.tsx +1 -1
- package/src/routes/_nav/settings/connection/route.lazy.tsx +3 -3
- package/src/routes/_nav/settings/general/route.lazy.tsx +3 -3
- package/src/routes/_nav/settings/privacy/route.lazy.tsx +5 -5
- package/src/routes/_nav/settings/route.tsx +1 -1
- package/src/routes/_nav/stories/-components/story-detail-skeleton.tsx +1 -1
- package/src/routes/_nav/test-cases/$caseId/route.tsx +1 -1
- package/src/routes/_nav/test-cases/generation/$generationId/route.tsx +1 -1
- package/src/routes/_nav/test-cases/plans/$planId/route.tsx +1 -1
- package/src/routes/_nav/test-cases/runs/$runId/route.tsx +1 -1
- package/src/routes/_nav/workspaces/$workspaceId/activities/route.lazy.tsx +1 -1
- package/src/routes/_nav/workspaces/$workspaceId/settings/route.lazy.tsx +6 -6
- package/src/routes/_nav/workspaces/index.lazy.tsx +5 -5
- package/src/routes/invite/$token/route.lazy.tsx +2 -2
- package/src/routes/share/compliance/$id/route.lazy.tsx +3 -3
- package/src/routes/share/law/$id/route.lazy.tsx +3 -3
- package/src/server/__tests__/agent-client-graph.test.ts +1 -1
- package/src/styles/globals.css +0 -1
package/src/routes/__root.tsx
CHANGED
|
@@ -27,11 +27,11 @@ import { Providers } from '@/providers'
|
|
|
27
27
|
import { RootProvider } from 'fumadocs-ui/provider/tanstack'
|
|
28
28
|
import { i18nProvider } from 'fumadocs-ui/i18n'
|
|
29
29
|
import { translations } from '@/lib/layout.shared'
|
|
30
|
-
import { Toaster } from '
|
|
30
|
+
import { Toaster } from '@/components/ui/toast'
|
|
31
31
|
import { getSessionFn } from '@/server/serverFns/auth/session'
|
|
32
32
|
import { FileQuestionIcon } from 'lucide-react'
|
|
33
33
|
import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from '@/components/ui/empty'
|
|
34
|
-
import { Button } from '
|
|
34
|
+
import { Button } from '@/components/ui/button'
|
|
35
35
|
import type { Session } from '@/lib/auth/auth-client'
|
|
36
36
|
import { getLocale } from '@/paraglide/runtime.js'
|
|
37
37
|
import { m } from "@/paraglide/messages.js";
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import { createLazyFileRoute, Link } from '@tanstack/react-router'
|
|
19
19
|
import { useForm } from '@tanstack/react-form'
|
|
20
|
-
import { toast } from '
|
|
20
|
+
import { toast } from '@/components/ui/toast'
|
|
21
21
|
import { RainbowButton } from '@/components/magicui/rainbow-button'
|
|
22
22
|
import { AppField } from '@/components/forms'
|
|
23
23
|
import { ArrowRight, Mail, Users, BarChart3, MessageSquare, TrendingUp } from 'lucide-react'
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
import { useEffect } from 'react'
|
|
19
19
|
import { createLazyFileRoute, Link } from '@tanstack/react-router'
|
|
20
20
|
import { useForm } from '@tanstack/react-form'
|
|
21
|
-
import { toast } from '
|
|
21
|
+
import { toast } from '@/components/ui/toast'
|
|
22
22
|
import { RainbowButton } from '@/components/magicui/rainbow-button'
|
|
23
|
-
import { Checkbox } from '
|
|
24
|
-
import { Field, FieldLabel } from '
|
|
25
|
-
import { Separator } from '
|
|
23
|
+
import { Checkbox } from '@/components/ui/checkbox'
|
|
24
|
+
import { Field, FieldLabel } from '@/components/ui/field'
|
|
25
|
+
import { Separator } from '@/components/ui/separator'
|
|
26
26
|
import { AppField } from '@/components/forms'
|
|
27
27
|
import { ArrowRight, Mail, Users, BarChart3, MessageSquare, TrendingUp } from 'lucide-react'
|
|
28
28
|
import { AuthLayout, AuthLayoutLeft, AuthLayoutRight } from '@/components/auth/auth-layout'
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
|
|
18
18
|
import { createLazyFileRoute, useRouter, Link } from '@tanstack/react-router'
|
|
19
19
|
import { useForm } from '@tanstack/react-form'
|
|
20
|
-
import { toast } from '
|
|
20
|
+
import { toast } from '@/components/ui/toast'
|
|
21
21
|
import { RainbowButton } from '@/components/magicui/rainbow-button'
|
|
22
|
-
import { Separator } from '
|
|
22
|
+
import { Separator } from '@/components/ui/separator'
|
|
23
23
|
import { AppField } from '@/components/forms'
|
|
24
24
|
import { ArrowRight, Mail, User, QrCode, Users, BarChart3, MessageSquare, TrendingUp } from 'lucide-react'
|
|
25
25
|
import { AuthLayout, AuthLayoutLeft, AuthLayoutRight } from '@/components/auth/auth-layout'
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import { createLazyFileRoute, useRouter, useSearch, Link } from '@tanstack/react-router'
|
|
19
19
|
import { useForm } from '@tanstack/react-form'
|
|
20
|
-
import { toast } from '
|
|
20
|
+
import { toast } from '@/components/ui/toast'
|
|
21
21
|
import { RainbowButton } from '@/components/magicui/rainbow-button'
|
|
22
22
|
import { AppField } from '@/components/forms'
|
|
23
23
|
import { ArrowRight, Users, BarChart3, MessageSquare, TrendingUp } from 'lucide-react'
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
18
|
import { createLazyFileRoute, Link } from '@tanstack/react-router'
|
|
19
|
-
import { toast } from '
|
|
19
|
+
import { toast } from '@/components/ui/toast'
|
|
20
20
|
import { RainbowButton } from '@/components/magicui/rainbow-button'
|
|
21
21
|
import { ArrowRight } from 'lucide-react'
|
|
22
22
|
import { AuthLayout, AuthLayoutLeft, AuthLayoutRight } from '@/components/auth/auth-layout'
|
|
@@ -19,7 +19,7 @@ import { Link, useLocation } from '@tanstack/react-router'
|
|
|
19
19
|
|
|
20
20
|
import { m } from '@/paraglide/messages.js'
|
|
21
21
|
import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from '@/components/ui/empty'
|
|
22
|
-
import { Button } from '
|
|
22
|
+
import { Button } from '@/components/ui/button'
|
|
23
23
|
import { FileQuestionIcon } from 'lucide-react'
|
|
24
24
|
|
|
25
25
|
// pathname 首段 → notFoundPages_* i18n key 后缀
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
18
|
import { createFileRoute } from "@tanstack/react-router";
|
|
19
|
-
import { Skeleton } from "
|
|
19
|
+
import { Skeleton } from "@/components/ui/skeleton";
|
|
20
20
|
import { getBugDetailFn, getBugNeighborsFn } from "@/server/serverFns/bug";
|
|
21
21
|
import { listUsersBriefFn, listLabelsFn } from "@/server/serverFns/story";
|
|
22
22
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
// You should have received a copy of the GNU Affero General Public License
|
|
16
16
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
|
-
import { Card, CardContent, CardHeader, CardTitle } from '
|
|
18
|
+
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
|
|
19
19
|
import { MessageSquare } from 'lucide-react'
|
|
20
20
|
import { m } from "@/paraglide/messages.js";
|
|
21
21
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
// You should have received a copy of the GNU Affero General Public License
|
|
16
16
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
|
-
import { Button } from '
|
|
18
|
+
import { Button } from '@/components/ui/button'
|
|
19
19
|
import { Plus, Package2, MessageSquare } from 'lucide-react'
|
|
20
20
|
import { Link } from '@tanstack/react-router'
|
|
21
21
|
import { m } from "@/paraglide/messages.js";
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
// You should have received a copy of the GNU Affero General Public License
|
|
16
16
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
|
-
import { Card, CardContent, CardHeader, CardTitle } from '
|
|
18
|
+
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
|
|
19
19
|
import { FileText, MessageSquare, CheckCircle2, Package2 } from 'lucide-react'
|
|
20
20
|
import { m } from "@/paraglide/messages.js";
|
|
21
21
|
|
|
@@ -20,7 +20,7 @@ import { ClientOnly, createLazyFileRoute } from '@tanstack/react-router'
|
|
|
20
20
|
import { useEffect, useState } from 'react'
|
|
21
21
|
import { StatsGrid } from './-components/stats-grid'
|
|
22
22
|
import { ActivityFeed } from './-components/activity-feed'
|
|
23
|
-
import { Card, CardContent, CardHeader, CardTitle } from '
|
|
23
|
+
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'
|
|
24
24
|
import { LightRays as MagicuiLightRays } from '@/components/magicui/light-rays'
|
|
25
25
|
import WebglLightRays from '@/components/react-bits/light-rays'
|
|
26
26
|
import { AiChatPrompt } from '@/components/ai/ai-chat-prompt'
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
// You should have received a copy of the GNU Affero General Public License
|
|
16
16
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
|
-
import { Skeleton } from '
|
|
18
|
+
import { Skeleton } from '@/components/ui/skeleton'
|
|
19
19
|
|
|
20
20
|
const PENDING_CONTENT_SKELETON = (
|
|
21
21
|
<div className="px-20 pt-6 pb-2 mx-auto w-full space-y-6" style={{ maxWidth: '50%' }}>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
18
|
import { createFileRoute } from '@tanstack/react-router'
|
|
19
|
-
import { Skeleton } from '
|
|
19
|
+
import { Skeleton } from '@/components/ui/skeleton'
|
|
20
20
|
import { getDocumentFn } from '@/server/serverFns/knowledge'
|
|
21
21
|
import { DOC_EDITOR_WIDTH_VARS } from '@/components/knowledge/editor/knowledge-doc-editor-vars'
|
|
22
22
|
import { EDITOR_WIDTH_MAX_WIDTH, useEditorWidth } from '@/components/knowledge/editor/editor-width-context'
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import { createLazyFileRoute, Outlet, useNavigate, useLocation, useRouter } from '@tanstack/react-router'
|
|
19
19
|
import { useCallback, useEffect, useRef, useState } from 'react'
|
|
20
|
-
import { Button } from '
|
|
20
|
+
import { Button } from '@/components/ui/button'
|
|
21
21
|
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from '@/components/ui/resizable'
|
|
22
22
|
import { KnowledgeTree } from '@/components/knowledge/knowledge-tree'
|
|
23
23
|
import { KnowledgeToolbar } from '@/components/knowledge/knowledge-toolbar'
|
|
@@ -23,14 +23,14 @@ import { updateBookmarkFn } from '@/server/serverFns/knowledge-public/bookmarks/
|
|
|
23
23
|
import { shareBookmarkFn } from '@/server/serverFns/knowledge-public/bookmarks/share'
|
|
24
24
|
import { unshareBookmarkFn } from '@/server/serverFns/knowledge-public/bookmarks/unshare'
|
|
25
25
|
import { listBookmarkCategoriesFn } from '@/server/serverFns/knowledge-public/bookmarks/categories'
|
|
26
|
-
import { Button } from '
|
|
27
|
-
import { Input } from '
|
|
28
|
-
import { Textarea } from '
|
|
29
|
-
import { Badge } from '
|
|
30
|
-
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '
|
|
26
|
+
import { Button } from '@/components/ui/button'
|
|
27
|
+
import { Input } from '@/components/ui/input'
|
|
28
|
+
import { Textarea } from '@/components/ui/textarea'
|
|
29
|
+
import { Badge } from '@/components/ui/badge'
|
|
30
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '@/components/ui/select'
|
|
31
31
|
import { BookmarkCard } from '@/components/knowledge-public/bookmark-card'
|
|
32
32
|
import { ArrowLeft, X, Share2, Loader2 } from 'lucide-react'
|
|
33
|
-
import { toast } from '
|
|
33
|
+
import { toast } from '@/components/ui/toast'
|
|
34
34
|
import { m } from "@/paraglide/messages.js";
|
|
35
35
|
import { toastError } from "@/lib/toast-error";
|
|
36
36
|
|
|
@@ -29,7 +29,7 @@ import { KnowledgeSearchBar } from '@/components/knowledge-public/knowledge-sear
|
|
|
29
29
|
import { KnowledgeFilters } from '@/components/knowledge-public/knowledge-filters'
|
|
30
30
|
import { BookmarkCard } from '@/components/knowledge-public/bookmark-card'
|
|
31
31
|
import { BookmarkFormDialog, type BookmarkEditTarget } from '@/components/knowledge-public/bookmark-form-dialog'
|
|
32
|
-
import { toast } from '
|
|
32
|
+
import { toast } from '@/components/ui/toast'
|
|
33
33
|
import { DotPattern } from '@/components/magicui/dot-pattern'
|
|
34
34
|
import { AuroraText } from '@/components/magicui/aurora-text'
|
|
35
35
|
import { m } from "@/paraglide/messages.js";
|
|
@@ -26,14 +26,14 @@ import { SharersAvatarGroup } from '@/components/knowledge-public/sharers-avatar
|
|
|
26
26
|
import { KnowledgeDocEditor } from '@/components/knowledge/editor/knowledge-doc-editor'
|
|
27
27
|
import { COMPLIANCE_FIELDS } from '@/components/knowledge-public/legal-compliance-editor'
|
|
28
28
|
import type { PropertyValues } from '@/components/knowledge/doc-properties'
|
|
29
|
-
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from '
|
|
30
|
-
import { Button } from '
|
|
31
|
-
import { Tooltip, TooltipContent, TooltipTrigger } from '
|
|
32
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from '
|
|
29
|
+
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from '@/components/ui/alert-dialog'
|
|
30
|
+
import { Button } from '@/components/ui/button'
|
|
31
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'
|
|
32
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from '@/components/ui/dropdown-menu'
|
|
33
33
|
import { Share2, ArrowLeft, Pencil, Trash2, Link2, Globe, Star } from 'lucide-react'
|
|
34
34
|
import { cn } from '@/lib/utils'
|
|
35
35
|
import { toggleFavoriteFn, getFavoriteIdsFn } from '@/server/serverFns/knowledge-public/favorite'
|
|
36
|
-
import { toast } from '
|
|
36
|
+
import { toast } from '@/components/ui/toast'
|
|
37
37
|
import { m } from "@/paraglide/messages.js";
|
|
38
38
|
import { toastError } from "@/lib/toast-error";
|
|
39
39
|
|
|
@@ -21,10 +21,10 @@ import { getDictionaryDetailFn } from '@/server/serverFns/knowledge-public/dicti
|
|
|
21
21
|
import { shareDictionaryFn } from '@/server/serverFns/knowledge-public/dictionary/share'
|
|
22
22
|
import { MarkdownView } from '@/components/knowledge-public/markdown-view'
|
|
23
23
|
import { SharersAvatarGroup } from '@/components/knowledge-public/sharers-avatar-group'
|
|
24
|
-
import { Badge } from '
|
|
25
|
-
import { Button } from '
|
|
24
|
+
import { Badge } from '@/components/ui/badge'
|
|
25
|
+
import { Button } from '@/components/ui/button'
|
|
26
26
|
import { Share2, ArrowLeft } from 'lucide-react'
|
|
27
|
-
import { toast } from '
|
|
27
|
+
import { toast } from '@/components/ui/toast'
|
|
28
28
|
import { m } from "@/paraglide/messages.js";
|
|
29
29
|
|
|
30
30
|
export const Route = createLazyFileRoute('/_nav/knowledge/dictionaries/$id')({ component: DictionaryDetailPage })
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
import { createLazyFileRoute, Link } from '@tanstack/react-router'
|
|
19
19
|
import { Plus, Lock, Calendar, Pin, PinOff, Scale, ShieldCheck, BookMarked, Bookmark, BookCopy, MoreVertical, Trash2 } from 'lucide-react'
|
|
20
20
|
import { useEffect, useState } from 'react'
|
|
21
|
-
import { Button } from '
|
|
22
|
-
import { Card } from '
|
|
23
|
-
import { Badge } from '
|
|
24
|
-
import { Input } from '
|
|
21
|
+
import { Button } from '@/components/ui/button'
|
|
22
|
+
import { Card } from '@/components/ui/card'
|
|
23
|
+
import { Badge } from '@/components/ui/badge'
|
|
24
|
+
import { Input } from '@/components/ui/input'
|
|
25
25
|
import {
|
|
26
26
|
Dialog,
|
|
27
27
|
DialogContent,
|
|
@@ -29,8 +29,8 @@ import {
|
|
|
29
29
|
DialogFooter,
|
|
30
30
|
DialogHeader,
|
|
31
31
|
DialogTitle,
|
|
32
|
-
} from '
|
|
33
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger } from '
|
|
32
|
+
} from '@/components/ui/dialog'
|
|
33
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger } from '@/components/ui/dropdown-menu'
|
|
34
34
|
import { AnimatedGridPattern } from '@/components/magicui/animated-grid-pattern'
|
|
35
35
|
import { BookOpenTextIcon } from '@/components/animated-icons/book-open-text'
|
|
36
36
|
import { LucideIconByName } from '@/components/shared-kit/icons/lucide-icon-picker/lucide-icon-by-name'
|
|
@@ -26,14 +26,14 @@ import { SharersAvatarGroup } from '@/components/knowledge-public/sharers-avatar
|
|
|
26
26
|
import { KnowledgeDocEditor } from '@/components/knowledge/editor/knowledge-doc-editor'
|
|
27
27
|
import { LEGAL_FIELDS, JURISDICTION_OPTS } from '@/components/knowledge-public/legal-compliance-editor'
|
|
28
28
|
import type { PropertyValues } from '@/components/knowledge/doc-properties'
|
|
29
|
-
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from '
|
|
30
|
-
import { Button } from '
|
|
31
|
-
import { Tooltip, TooltipContent, TooltipTrigger } from '
|
|
32
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from '
|
|
29
|
+
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger } from '@/components/ui/alert-dialog'
|
|
30
|
+
import { Button } from '@/components/ui/button'
|
|
31
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'
|
|
32
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from '@/components/ui/dropdown-menu'
|
|
33
33
|
import { Share2, ArrowLeft, Pencil, Trash2, Link2, Globe, Star } from 'lucide-react'
|
|
34
34
|
import { cn } from '@/lib/utils'
|
|
35
35
|
import { toggleFavoriteFn, getFavoriteIdsFn } from '@/server/serverFns/knowledge-public/favorite'
|
|
36
|
-
import { toast } from '
|
|
36
|
+
import { toast } from '@/components/ui/toast'
|
|
37
37
|
import { m } from "@/paraglide/messages.js";
|
|
38
38
|
import { toastError } from "@/lib/toast-error";
|
|
39
39
|
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
|
|
18
18
|
import { createLazyFileRoute, Link } from "@tanstack/react-router";
|
|
19
19
|
import { ArrowLeft, ChevronRight } from "lucide-react";
|
|
20
|
-
import { Button } from "
|
|
21
|
-
import { Badge } from "
|
|
20
|
+
import { Button } from "@/components/ui/button";
|
|
21
|
+
import { Badge } from "@/components/ui/badge";
|
|
22
22
|
import { LucideIconByName } from "@/components/shared-kit/icons/lucide-icon-picker/lucide-icon-by-name";
|
|
23
23
|
import { PROJECT_MODULE_META } from "@/lib/project-module-meta";
|
|
24
24
|
import type { ProjectModuleItem } from "@/types/project";
|
|
@@ -20,7 +20,7 @@ import { Settings, LayoutGrid, Activity as ActivityIcon, CalendarRange, ArrowLef
|
|
|
20
20
|
import { useTheme } from "next-themes";
|
|
21
21
|
import { UserAvatar } from "@/components/shared-kit";
|
|
22
22
|
import type { AvatarConfig, ShapeType } from "@allbluecn/kernel";
|
|
23
|
-
import { Button } from "
|
|
23
|
+
import { Button } from "@/components/ui/button";
|
|
24
24
|
import { AvatarGroup } from "@/components/magicui/components/animate/avatar-group";
|
|
25
25
|
import { GlyphMatrix } from "@/components/magicui/glyph-matrix";
|
|
26
26
|
import { LucideIconByName } from "@/components/shared-kit/icons/lucide-icon-picker/lucide-icon-by-name";
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
import { useState } from "react";
|
|
19
19
|
import { createLazyFileRoute, Link, useLoaderData, useRouter } from "@tanstack/react-router";
|
|
20
20
|
import { MoreVertical, Pencil, Trash2, Archive, ArchiveX, Plus } from "lucide-react";
|
|
21
|
-
import { Button } from "
|
|
21
|
+
import { Button } from "@/components/ui/button";
|
|
22
22
|
import { IterationStatusBadge } from "@/components/iteration/iteration-status-badge";
|
|
23
23
|
import { IterationProgressBar } from "@/components/iteration/iteration-progress-bar";
|
|
24
24
|
import { BurndownChart } from "@/components/iteration/burndown-chart";
|
|
25
|
-
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "
|
|
26
|
-
import { ConfirmDialog } from "
|
|
27
|
-
import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle } from "
|
|
25
|
+
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "@/components/ui/dropdown-menu";
|
|
26
|
+
import { ConfirmDialog } from "@/components/confirm-dialog";
|
|
27
|
+
import { Dialog, DialogContent, DialogFooter, DialogHeader, DialogTitle } from "@/components/ui/dialog";
|
|
28
28
|
import { StorySelectDialog } from "@/components/story/inline-editors/story-select-dialog";
|
|
29
29
|
import { archiveIterationsFn, deleteIterationsFn, transferUnfinishedFn, getIterationBurndownFn, listIterationsFn, addStoriesToIterationFn } from "@/server/serverFns/iteration";
|
|
30
30
|
import { listProjectsBriefFn } from "@/server/serverFns/project";
|
|
31
|
-
import { toast } from "
|
|
31
|
+
import { toast } from "@/components/ui/toast";
|
|
32
32
|
import { useQuery } from "@tanstack/react-query";
|
|
33
33
|
import type { IterationSummary } from "@/server/serverFns/iteration/schemas";
|
|
34
34
|
import type { StoryState } from "@/components/story/constants";
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import { useState } from "react";
|
|
19
19
|
import { createLazyFileRoute, Link, useLoaderData, useRouter } from "@tanstack/react-router";
|
|
20
20
|
import { CalendarRange, Plus, Settings } from "lucide-react";
|
|
21
|
-
import { Button } from "
|
|
21
|
+
import { Button } from "@/components/ui/button";
|
|
22
22
|
import { PlaceholderPage } from "@/components/shared-kit/pages/placeholder-page";
|
|
23
23
|
import { IterationCard } from "@/components/iteration/iteration-card";
|
|
24
24
|
import { CreateIterationDialog } from "@/components/iteration/create-iteration-dialog";
|
|
@@ -19,14 +19,14 @@ import { createLazyFileRoute, Link } from "@tanstack/react-router";
|
|
|
19
19
|
import { useRouter } from "@tanstack/react-router";
|
|
20
20
|
import { useEffect, useState } from "react";
|
|
21
21
|
import { ArrowLeft, BookOpenText, Loader2 } from "lucide-react";
|
|
22
|
-
import { toast } from '
|
|
23
|
-
import { Button } from "
|
|
24
|
-
import { Input } from "
|
|
25
|
-
import { Textarea } from "
|
|
26
|
-
import { Label } from "
|
|
27
|
-
import { Card, CardContent, CardHeader, CardTitle } from "
|
|
28
|
-
import { Checkbox } from "
|
|
29
|
-
import { Badge } from "
|
|
22
|
+
import { toast } from '@/components/ui/toast';
|
|
23
|
+
import { Button } from "@/components/ui/button";
|
|
24
|
+
import { Input } from "@/components/ui/input";
|
|
25
|
+
import { Textarea } from "@/components/ui/textarea";
|
|
26
|
+
import { Label } from "@/components/ui/label";
|
|
27
|
+
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
|
28
|
+
import { Checkbox } from "@/components/ui/checkbox";
|
|
29
|
+
import { Badge } from "@/components/ui/badge";
|
|
30
30
|
import { LucideIconPicker } from "@/components/shared-kit/icons/lucide-icon-picker";
|
|
31
31
|
|
|
32
32
|
import { NameConfirmDialog } from "@/components/shared-kit/dialogs/name-confirm-dialog";
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
import { createLazyFileRoute } from '@tanstack/react-router'
|
|
19
19
|
import { Cloud } from 'lucide-react'
|
|
20
20
|
import { useQuery } from '@tanstack/react-query'
|
|
21
|
-
import { Card, CardHeader, CardTitle } from '
|
|
22
|
-
import { Badge } from '
|
|
21
|
+
import { Card, CardHeader, CardTitle } from '@/components/ui/card'
|
|
22
|
+
import { Badge } from '@/components/ui/badge'
|
|
23
23
|
import { listHostedModelsFn } from '@/server/serverFns/design/ai/hosted-models'
|
|
24
24
|
import { m } from '@/paraglide/messages.js'
|
|
25
25
|
|
|
@@ -19,7 +19,7 @@ import { useEffect, useRef, useState } from 'react'
|
|
|
19
19
|
import { createLazyFileRoute } from '@tanstack/react-router'
|
|
20
20
|
import { Bot, Cloud } from 'lucide-react'
|
|
21
21
|
import { useMutation, useQuery } from '@tanstack/react-query'
|
|
22
|
-
import { toast } from '
|
|
22
|
+
import { toast } from '@/components/ui/toast'
|
|
23
23
|
import { ModelSourcePicker } from '@/components/settings/ai/source/model-source-picker'
|
|
24
24
|
import { ProviderGrid } from '@/components/settings/ai/provider-grid'
|
|
25
25
|
import { LocalAgentPanel } from '@/components/settings/ai/local-agent-panel'
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import { createLazyFileRoute, useSearch } from '@tanstack/react-router'
|
|
19
19
|
import { useEffect } from 'react'
|
|
20
|
-
import { toast } from '
|
|
20
|
+
import { toast } from '@/components/ui/toast'
|
|
21
21
|
import { BillingPanel } from '@/components/billing/billing-panel'
|
|
22
22
|
import { m } from "@/paraglide/messages.js";
|
|
23
23
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createLazyFileRoute } from '@tanstack/react-router'
|
|
2
2
|
import { useState } from 'react'
|
|
3
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '
|
|
4
|
-
import { Button } from '
|
|
5
|
-
import { Badge } from '
|
|
3
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
|
|
4
|
+
import { Button } from '@/components/ui/button'
|
|
5
|
+
import { Badge } from '@/components/ui/badge'
|
|
6
6
|
import { useConnection, ModeSwitchDialog } from '@desktop/connection-manager'
|
|
7
7
|
import type { ConnectionMode } from '@desktop/connection-manager'
|
|
8
8
|
import { m } from "@/paraglide/messages.js";
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
import { createLazyFileRoute } from '@tanstack/react-router'
|
|
19
19
|
import { useState } from 'react'
|
|
20
20
|
import { Globe, Languages, Loader2 } from 'lucide-react'
|
|
21
|
-
import { toast } from '
|
|
22
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '
|
|
23
|
-
import { Button } from '
|
|
21
|
+
import { toast } from '@/components/ui/toast'
|
|
22
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
|
|
23
|
+
import { Button } from '@/components/ui/button'
|
|
24
24
|
import { TimezoneSelect } from '@/components/shared-kit/timezone/timezone-select'
|
|
25
25
|
import { updateUserTimezoneFn } from '@/server/serverFns/user/settings'
|
|
26
26
|
import { LanguageSelector } from '@/components/settings/language-selector'
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import { createLazyFileRoute, useNavigate } from '@tanstack/react-router'
|
|
19
19
|
import { useEffect, useState } from 'react'
|
|
20
20
|
import { Download, Loader2, Trash2 } from 'lucide-react'
|
|
21
|
-
import { toast } from '
|
|
21
|
+
import { toast } from '@/components/ui/toast'
|
|
22
22
|
import {
|
|
23
23
|
AlertDialog,
|
|
24
24
|
AlertDialogAction,
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
AlertDialogHeader,
|
|
30
30
|
AlertDialogTitle,
|
|
31
31
|
AlertDialogTrigger,
|
|
32
|
-
} from '
|
|
33
|
-
import { Button } from '
|
|
34
|
-
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '
|
|
35
|
-
import { Input } from '
|
|
32
|
+
} from '@/components/ui/alert-dialog'
|
|
33
|
+
import { Button } from '@/components/ui/button'
|
|
34
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
|
|
35
|
+
import { Input } from '@/components/ui/input'
|
|
36
36
|
import { FeatureGate } from '@/components/billing/feature-gate'
|
|
37
37
|
import { requestMyExportFn, requestMyDeletionFn } from '@/server/serverFns/compliance'
|
|
38
38
|
import { signOut } from '@/lib/auth/auth-client'
|
|
@@ -19,7 +19,7 @@ import { createFileRoute, Link, redirect } from '@tanstack/react-router'
|
|
|
19
19
|
import { requireSessionPage } from '@/lib/auth/page-gate'
|
|
20
20
|
import { SettingsIcon } from 'lucide-react'
|
|
21
21
|
import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle } from '@/components/ui/empty'
|
|
22
|
-
import { Button } from '
|
|
22
|
+
import { Button } from '@/components/ui/button'
|
|
23
23
|
import { m } from "@/paraglide/messages.js";
|
|
24
24
|
|
|
25
25
|
function SettingsNotFound() {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
// You should have received a copy of the GNU Affero General Public License
|
|
16
16
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
|
-
import { Skeleton } from "
|
|
18
|
+
import { Skeleton } from "@/components/ui/skeleton";
|
|
19
19
|
|
|
20
20
|
export function StoryDetailSkeleton() {
|
|
21
21
|
return (
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// 用例详情 loader(任务 12,替换任务 10 占位):详情 + 成员简表 + 模块树 + 活动。
|
|
19
19
|
// 鉴权由 _nav 布局 beforeLoad 统一兜底;详情读门槛 requireAuth(同 getStoryDetailFn)。
|
|
20
20
|
import { createFileRoute } from "@tanstack/react-router";
|
|
21
|
-
import { Skeleton } from "
|
|
21
|
+
import { Skeleton } from "@/components/ui/skeleton";
|
|
22
22
|
import { getTestCaseFn } from "@/server/serverFns/testcase/testcase-crud";
|
|
23
23
|
import { listTestCaseActivitiesFn } from "@/server/serverFns/testcase/testcase-activities";
|
|
24
24
|
import { listFoldersFn } from "@/server/serverFns/testcase/testcase-folders";
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// 生成批次评审 loader(任务 22):getGenerationFn 返回 run + drafts DTO。数据在
|
|
19
19
|
// loader 拉取(照 plans/$planId 先例);读门槛 requireAuth,鉴权兜底由 _nav 布局统一。
|
|
20
20
|
import { createFileRoute } from "@tanstack/react-router";
|
|
21
|
-
import { Skeleton } from "
|
|
21
|
+
import { Skeleton } from "@/components/ui/skeleton";
|
|
22
22
|
import { getGenerationFn } from "@/server/serverFns/testcase/generation";
|
|
23
23
|
|
|
24
24
|
function GenerationReviewSkeleton() {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// 计划详情 loader(任务 13):详情(含用例集)+ 迭代选项。读门槛 requireAuth
|
|
19
19
|
// (同 getTestCaseFn / getStoryDetailFn 先例);鉴权兜底由 _nav 布局统一。
|
|
20
20
|
import { createFileRoute } from "@tanstack/react-router";
|
|
21
|
-
import { Skeleton } from "
|
|
21
|
+
import { Skeleton } from "@/components/ui/skeleton";
|
|
22
22
|
import { getPlanFn } from "@/server/serverFns/testcase/plans";
|
|
23
23
|
import { listIterationsFn } from "@/server/serverFns/iteration";
|
|
24
24
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
// 执行批次详情 loader(任务 16):getRunFn 详情(含 RunCase 列表 + caseSnapshot)。
|
|
19
19
|
// 执行负载(stepResults)不在详情行 DTO 内——由页面按选中用例经 getRunCaseFn 拉取。
|
|
20
20
|
import { createFileRoute } from "@tanstack/react-router";
|
|
21
|
-
import { Skeleton } from "
|
|
21
|
+
import { Skeleton } from "@/components/ui/skeleton";
|
|
22
22
|
import { getRunFn } from "@/server/serverFns/testcase/runs";
|
|
23
23
|
|
|
24
24
|
function RunDetailSkeleton() {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
import { createLazyFileRoute, Link } from "@tanstack/react-router";
|
|
19
19
|
import { ArrowLeft, Activity as ActivityIcon } from "lucide-react";
|
|
20
|
-
import { Button } from "
|
|
20
|
+
import { Button } from "@/components/ui/button";
|
|
21
21
|
import { ProjectActivityList } from "@/components/project/project-activity-list";
|
|
22
22
|
import { m } from "@/paraglide/messages.js";
|
|
23
23
|
|
|
@@ -19,12 +19,12 @@ import { createLazyFileRoute, Link } from "@tanstack/react-router";
|
|
|
19
19
|
import { useRouter } from "@tanstack/react-router";
|
|
20
20
|
import { useEffect, useState } from "react";
|
|
21
21
|
import { ArrowLeft, Loader2 } from "lucide-react";
|
|
22
|
-
import { toast } from "
|
|
23
|
-
import { Button } from "
|
|
24
|
-
import { Input } from "
|
|
25
|
-
import { Textarea } from "
|
|
26
|
-
import { Label } from "
|
|
27
|
-
import { Card, CardContent, CardHeader, CardTitle } from "
|
|
22
|
+
import { toast } from "@/components/ui/toast";
|
|
23
|
+
import { Button } from "@/components/ui/button";
|
|
24
|
+
import { Input } from "@/components/ui/input";
|
|
25
|
+
import { Textarea } from "@/components/ui/textarea";
|
|
26
|
+
import { Label } from "@/components/ui/label";
|
|
27
|
+
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
|
28
28
|
import { LucideIconPicker } from "@/components/shared-kit/icons/lucide-icon-picker";
|
|
29
29
|
|
|
30
30
|
import { NameConfirmDialog } from "@/components/shared-kit/dialogs/name-confirm-dialog";
|
|
@@ -19,15 +19,15 @@ import { createLazyFileRoute, Link, useRouter } from "@tanstack/react-router";
|
|
|
19
19
|
import { FolderKanban, Plus, Calendar, MoreVertical, Pin, PinOff, Pencil, Trash2 } from "lucide-react";
|
|
20
20
|
import { useEffect, useState } from "react";
|
|
21
21
|
import { useTheme } from "next-themes";
|
|
22
|
-
import { Button } from "
|
|
23
|
-
import { Card } from "
|
|
22
|
+
import { Button } from "@/components/ui/button";
|
|
23
|
+
import { Card } from "@/components/ui/card";
|
|
24
24
|
import {
|
|
25
25
|
DropdownMenu,
|
|
26
26
|
DropdownMenuContent,
|
|
27
27
|
DropdownMenuItem,
|
|
28
28
|
DropdownMenuTrigger,
|
|
29
|
-
} from "
|
|
30
|
-
import { Separator } from "
|
|
29
|
+
} from "@/components/ui/dropdown-menu";
|
|
30
|
+
import { Separator } from "@/components/ui/separator";
|
|
31
31
|
import { GlyphMatrix } from "@/components/magicui/glyph-matrix";
|
|
32
32
|
import { LucideIconByName } from "@/components/shared-kit/icons/lucide-icon-picker/lucide-icon-by-name";
|
|
33
33
|
import { CreateWorkspaceDialog } from "@/components/workspace/dialogs/create-workspace-dialog";
|
|
@@ -35,7 +35,7 @@ import { DeleteWorkspaceOptions } from "@/components/workspace/dialogs/delete-wo
|
|
|
35
35
|
import { EditWorkspaceDialog } from "@/components/workspace/dialogs/edit-workspace-dialog";
|
|
36
36
|
import { NameConfirmDialog } from "@/components/shared-kit/dialogs/name-confirm-dialog";
|
|
37
37
|
import { toggleWorkspacePinFn, deleteWorkspaceFn } from "@/server/serverFns/workspace";
|
|
38
|
-
import { toast } from "
|
|
38
|
+
import { toast } from "@/components/ui/toast";
|
|
39
39
|
import { m } from "@/paraglide/messages.js";
|
|
40
40
|
import workspaceEmptyIllustration from "@/assets/illustrations/empty-states/workspace-empty.svg?url";
|
|
41
41
|
import { toastError } from "@/lib/toast-error";
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
import { createLazyFileRoute, Link, useNavigate } from '@tanstack/react-router'
|
|
19
19
|
import { useState, useEffect } from 'react'
|
|
20
20
|
import { useMutation } from '@tanstack/react-query'
|
|
21
|
-
import { toast } from '
|
|
21
|
+
import { toast } from '@/components/ui/toast'
|
|
22
22
|
import { RainbowButton } from '@/components/magicui/rainbow-button'
|
|
23
23
|
import { UserAvatar } from '@/components/shared-kit'
|
|
24
24
|
import { AuthLayout, AuthLayoutLeft, AuthLayoutRight } from '@/components/auth/auth-layout'
|
|
25
25
|
import { AuthBrandPanel } from '@/components/auth/auth-brand-panel'
|
|
26
26
|
import { IconInput } from '@/components/auth/icon-input'
|
|
27
|
-
import { Card, CardContent } from '
|
|
27
|
+
import { Card, CardContent } from '@/components/ui/card'
|
|
28
28
|
import { ArrowRight, CheckCircle2, Info, Loader2, Mail, UserCircle } from 'lucide-react'
|
|
29
29
|
import { useDebouncedCallback } from '@/lib/pacer'
|
|
30
30
|
import { acceptTeamInvitationFn, applyTeamInvitationFn, checkInviteEmailRegisteredFn } from '@/server/serverFns/team'
|