@tuturuuu/ui 0.17.0 → 0.19.0
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/CHANGELOG.md +52 -0
- package/biome.json +1 -1
- package/package.json +111 -152
- package/src/components/ui/calendar-app/calendar-client-page.tsx +30 -3
- package/src/components/ui/calendar-app/calendar-page-shell.tsx +60 -29
- package/src/components/ui/calendar-app/components/calendar-connections-manager-helpers.ts +70 -0
- package/src/components/ui/calendar-app/components/calendar-connections-settings-content.tsx +516 -578
- package/src/components/ui/calendar-app/components/calendar-connections-unified.tsx +1 -0
- package/src/components/ui/calendar-app/components/calendar-sync-settings-panel.tsx +155 -0
- package/src/components/ui/calendar-app/components/merge-provider-calendars.test.ts +46 -0
- package/src/components/ui/calendar-app/components/merge-provider-calendars.ts +81 -0
- package/src/components/ui/calendar-app/components/use-calendar-connections-manager.ts +22 -129
- package/src/components/ui/chat/chat-agent-details-operations-panel.test.tsx +17 -3
- package/src/components/ui/chat/chat-agent-details-utils.tsx +2 -0
- package/src/components/ui/chat/chat-agent-details-zalo-personal-panel.tsx +17 -6
- package/src/components/ui/custom/__tests__/settings-dialog-shell.test.tsx +35 -0
- package/src/components/ui/custom/__tests__/workspace-select-helpers.test.ts +17 -0
- package/src/components/ui/custom/nav-link.test.tsx +1 -0
- package/src/components/ui/custom/nav-link.tsx +4 -1
- package/src/components/ui/custom/notification-popover-client.tsx +3 -3
- package/src/components/ui/custom/settings-dialog-shell.tsx +23 -14
- package/src/components/ui/custom/statistic-card.tsx +3 -5
- package/src/components/ui/custom/structure.test.tsx +4 -0
- package/src/components/ui/custom/user-filters.tsx +4 -7
- package/src/components/ui/custom/workspace-access/workspace-access-page-header.tsx +1 -1
- package/src/components/ui/custom/workspace-access/workspace-access-tabs-toolbar.tsx +1 -1
- package/src/components/ui/custom/workspace-select.tsx +38 -53
- package/src/components/ui/finance/analytics/category-spending-chart.test.tsx +3 -3
- package/src/components/ui/finance/budgets/budget-card.test.tsx +3 -3
- package/src/components/ui/finance/debts/debt-loan-card.test.tsx +3 -3
- package/src/components/ui/finance/debts/debt-loan-detail-cards.test.tsx +3 -3
- package/src/components/ui/finance/invoices/charts/invoice-totals-chart.test.tsx +3 -3
- package/src/components/ui/finance/invoices/columns.test.tsx +3 -3
- package/src/components/ui/finance/invoices/components/invoice-customer-select-card.tsx +1 -1
- package/src/components/ui/finance/shared/numbers-visibility-toggle.test.tsx +1 -1
- package/src/components/ui/finance/tags/tag-manager.test.tsx +2 -2
- package/src/components/ui/finance/transactions/categories/columns.test.tsx +5 -5
- package/src/components/ui/finance/transactions/columns.test.tsx +2 -2
- package/src/components/ui/finance/transactions/confidential-field.test.tsx +2 -2
- package/src/components/ui/finance/transactions/transaction-edit-dialog.test.tsx +2 -2
- package/src/components/ui/finance/transactions/transaction-statistics.test.tsx +3 -3
- package/src/components/ui/finance/wallets/form.test.tsx +3 -3
- package/src/components/ui/finance/wallets/wallets-data-table.test.tsx +10 -0
- package/src/components/ui/legacy/calendar/calendar-cell.tsx +1 -1
- package/src/components/ui/storefront/accent-button.tsx +4 -1
- package/src/components/ui/storefront/browse-panel.tsx +6 -1
- package/src/components/ui/storefront/cart-summary-parts.tsx +18 -4
- package/src/components/ui/storefront/cart-summary.tsx +22 -6
- package/src/components/ui/storefront/hero-panel.tsx +13 -17
- package/src/components/ui/storefront/index.ts +2 -0
- package/src/components/ui/storefront/listing-card.tsx +6 -4
- package/src/components/ui/storefront/product-detail.tsx +51 -21
- package/src/components/ui/storefront/product-dialog.tsx +8 -1
- package/src/components/ui/storefront/storefront-surface.test.tsx +79 -3
- package/src/components/ui/storefront/storefront-surface.tsx +151 -100
- package/src/components/ui/storefront/types.ts +3 -0
- package/src/components/ui/storefront/utils.ts +5 -1
- package/src/components/ui/tasks/progress/activity-heatmap.tsx +256 -0
- package/src/components/ui/tasks/progress/breakdown-bars.tsx +79 -0
- package/src/components/ui/tasks/progress/cumulative-progress-chart.tsx +185 -0
- package/src/components/ui/tasks/progress/daily-bar-chart.tsx +97 -0
- package/src/components/ui/tasks/progress/habit-gauge.tsx +92 -0
- package/src/components/ui/tasks/progress/mini-sparkline.tsx +56 -0
- package/src/components/ui/tasks/progress/weekday-distribution-chart.tsx +72 -0
- package/src/components/ui/text-editor/__tests__/task-mention-checkbox.test.ts +23 -6
- package/src/components/ui/text-editor/__tests__/upload-placeholder.test.ts +1 -10
- package/src/components/ui/text-editor/color-controls.tsx +1 -1
- package/src/components/ui/text-editor/editor.tsx +7 -1
- package/src/components/ui/text-editor/extensions.ts +4 -1
- package/src/components/ui/text-editor/mention-extension.tsx +33 -121
- package/src/globals.css +20 -0
- package/src/globals.test.ts +75 -0
- package/src/hooks/__tests__/use-calendar-sync.test.tsx +103 -1
- package/src/hooks/use-calendar-sync.tsx +51 -14
- package/src/lib/task-personal-external.ts +1 -1
- package/src/lib/workspace-actions.ts +15 -4
- package/src/components/ui/calendar-app/components/actions-dropdown.tsx +0 -269
- package/src/components/ui/calendar-app/components/auto-schedule-comprehensive-dialog.tsx +0 -220
- package/src/components/ui/calendar-app/components/calendar-header-actions.tsx +0 -67
- package/src/components/ui/calendar-app/components/experimental-feature-dialog.tsx +0 -56
- package/src/components/ui/calendar-app/components/habits-panel.tsx +0 -335
- package/src/components/ui/calendar-app/components/load-smart-scheduling-tasks.tsx +0 -143
- package/src/components/ui/calendar-app/components/priority-dropdown.tsx +0 -113
- package/src/components/ui/calendar-app/components/priority-view.tsx +0 -954
- package/src/components/ui/calendar-app/components/quick-task-dialog.tsx +0 -335
- package/src/components/ui/calendar-app/components/quick-task-timer.tsx +0 -112
- package/src/components/ui/calendar-app/components/scheduling-dialog.tsx +0 -664
- package/src/components/ui/calendar-app/components/sidebar/calendar-sidebar.tsx +0 -128
- package/src/components/ui/calendar-app/components/sidebar/index.tsx +0 -1
- package/src/components/ui/calendar-app/components/smart-schedule-button.tsx +0 -117
- package/src/components/ui/calendar-app/components/smart-schedule-preview-dialog.tsx +0 -845
- package/src/components/ui/calendar-app/components/smart-schedule-preview-panel.tsx +0 -941
- package/src/components/ui/calendar-app/components/task-fetcher.ts +0 -51
- package/src/components/ui/calendar-app/components/task-form.tsx +0 -132
- package/src/components/ui/calendar-app/components/task-list-form.tsx +0 -84
- package/src/components/ui/calendar-app/components/task-scheduler-panel.tsx +0 -494
- package/src/components/ui/calendar-app/components/tasks-sidebar-content.tsx +0 -232
- package/src/components/ui/calendar-app/components/tasks-sidebar.tsx +0 -31
- package/src/components/ui/calendar-app/components/time-tracker/components/active-session-card.tsx +0 -113
- package/src/components/ui/calendar-app/components/time-tracker/components/index.ts +0 -3
- package/src/components/ui/calendar-app/components/time-tracker/components/session-card.tsx +0 -153
- package/src/components/ui/calendar-app/components/time-tracker/components/stats-cards.tsx +0 -58
- package/src/components/ui/calendar-app/components/time-tracker/dialogs/create-task-dialog.tsx +0 -190
- package/src/components/ui/calendar-app/components/time-tracker/dialogs/delete-session-dialog.tsx +0 -52
- package/src/components/ui/calendar-app/components/time-tracker/dialogs/edit-session-dialog.tsx +0 -173
- package/src/components/ui/calendar-app/components/time-tracker/dialogs/index.ts +0 -3
- package/src/components/ui/calendar-app/components/time-tracker/hooks/index.ts +0 -2
- package/src/components/ui/calendar-app/components/time-tracker/hooks/use-sessions.ts +0 -191
- package/src/components/ui/calendar-app/components/time-tracker/hooks/use-time-tracker.ts +0 -408
- package/src/components/ui/calendar-app/components/time-tracker/index.tsx +0 -907
- package/src/components/ui/calendar-app/components/time-tracker/tabs/history-tab.tsx +0 -28
- package/src/components/ui/calendar-app/components/time-tracker/tabs/index.ts +0 -2
- package/src/components/ui/calendar-app/components/time-tracker/tabs/recent-sessions-tab.tsx +0 -173
- package/src/components/ui/calendar-app/components/time-tracker/time-tracker-trigger.tsx +0 -50
- package/src/components/ui/calendar-app/components/time-tracker/utils/category-colors.ts +0 -38
- package/src/components/ui/calendar-app/components/time-tracker/utils/format-time.ts +0 -26
- package/src/components/ui/calendar-app/components/time-tracker/utils/index.ts +0 -2
- package/src/components/ui/calendar-app/components/time-tracker.tsx +0 -2040
- package/src/components/ui/custom/settings/task-settings.tsx +0 -543
- package/src/components/ui/custom/settings/task-sound-settings.test.tsx +0 -146
- package/src/components/ui/text-editor/__tests__/task-mention-chip.test.tsx +0 -476
- package/src/components/ui/text-editor/task-mention-chip.tsx +0 -1397
- package/src/components/ui/text-editor/task-mention-resolution.ts +0 -235
- package/src/components/ui/text-editor/task-summary-popover.tsx +0 -360
- package/src/components/ui/tu-do/boards/__tests__/board-share-dialog.test.tsx +0 -286
- package/src/components/ui/tu-do/boards/__tests__/quick-create-board-dialog.test.tsx +0 -52
- package/src/components/ui/tu-do/boards/__tests__/task-board-form.test.tsx +0 -142
- package/src/components/ui/tu-do/boards/__tests__/workspace-projects-client-page.test.tsx +0 -169
- package/src/components/ui/tu-do/boards/analytics/GanttChart.tsx +0 -419
- package/src/components/ui/tu-do/boards/analytics/GanttControls.tsx +0 -123
- package/src/components/ui/tu-do/boards/analytics/GanttHeader.tsx +0 -48
- package/src/components/ui/tu-do/boards/analytics/GanttTimeline.tsx +0 -355
- package/src/components/ui/tu-do/boards/analytics/StatusDistribution.tsx +0 -130
- package/src/components/ui/tu-do/boards/analytics/TaskCreationAnalytics.tsx +0 -285
- package/src/components/ui/tu-do/boards/analytics/TaskDetailCard.tsx +0 -270
- package/src/components/ui/tu-do/boards/analytics/TaskGroup.tsx +0 -282
- package/src/components/ui/tu-do/boards/analytics/TaskWorkflowAnalytics.tsx +0 -280
- package/src/components/ui/tu-do/boards/board-public-link-section.tsx +0 -231
- package/src/components/ui/tu-do/boards/board-selector.tsx +0 -301
- package/src/components/ui/tu-do/boards/board-share-dialog.tsx +0 -69
- package/src/components/ui/tu-do/boards/board-share-settings-panel.tsx +0 -351
- package/src/components/ui/tu-do/boards/boardId/__tests__/list-actions.test.tsx +0 -199
- package/src/components/ui/tu-do/boards/boardId/board-column-external-retry.test.tsx +0 -185
- package/src/components/ui/tu-do/boards/boardId/board-column-initial-load.test.ts +0 -38
- package/src/components/ui/tu-do/boards/boardId/board-column.tsx +0 -922
- package/src/components/ui/tu-do/boards/boardId/board-text-utils.test.ts +0 -24
- package/src/components/ui/tu-do/boards/boardId/board-text-utils.ts +0 -11
- package/src/components/ui/tu-do/boards/boardId/enhanced-task-list.tsx +0 -543
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/__tests__/bulk-mutations-external-workspaces.test.tsx +0 -392
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/__tests__/bulk-mutations-move.test.tsx +0 -252
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-actions-island.test.tsx +0 -57
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-actions-island.tsx +0 -106
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-actions-menu.tsx +0 -689
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-custom-date-dialog.tsx +0 -82
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-delete-dialog.tsx +0 -58
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-mutations-clear-delete.ts +0 -418
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-mutations-move.ts +0 -662
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-mutations-relations-assignees.ts +0 -375
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-mutations-relations-labels.ts +0 -278
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-mutations-relations-projects.ts +0 -297
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-mutations-relations.ts +0 -12
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-mutations-updates.ts +0 -462
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-operation-i18n.ts +0 -524
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-operation-types.ts +0 -34
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-operation-utils.ts +0 -377
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-operations.ts +0 -348
- package/src/components/ui/tu-do/boards/boardId/kanban/bulk/bulk-personal-external-move.ts +0 -132
- package/src/components/ui/tu-do/boards/boardId/kanban/data/kanban-deadline-query.ts +0 -90
- package/src/components/ui/tu-do/boards/boardId/kanban/data/use-applied-sets.ts +0 -79
- package/src/components/ui/tu-do/boards/boardId/kanban/data/use-bulk-resources.ts +0 -112
- package/src/components/ui/tu-do/boards/boardId/kanban/data/use-filtered-resources.ts +0 -54
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/__tests__/column-reorder.test.ts +0 -80
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/auto-scroll.test.ts +0 -118
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/auto-scroll.ts +0 -160
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/column-reorder.ts +0 -65
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/drag-preview.tsx +0 -117
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/kanban-sort-helpers.ts +0 -76
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/task-drag-cache.ts +0 -367
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/task-drag-geometry.test.ts +0 -67
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/task-drag-geometry.ts +0 -94
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/task-drag-order.ts +0 -150
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/task-drag-pending.test.ts +0 -37
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/task-drag-pending.ts +0 -42
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/task-drag-preview.test.ts +0 -318
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/task-drag-preview.ts +0 -260
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/task-drag-types.ts +0 -39
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/task-sort-key.ts +0 -47
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/use-kanban-dnd.test.ts +0 -859
- package/src/components/ui/tu-do/boards/boardId/kanban/dnd/use-kanban-dnd.ts +0 -1659
- package/src/components/ui/tu-do/boards/boardId/kanban/kanban-column-collapse.ts +0 -16
- package/src/components/ui/tu-do/boards/boardId/kanban/kanban-constants.ts +0 -43
- package/src/components/ui/tu-do/boards/boardId/kanban/planner/__tests__/kanban-planner-island.test.tsx +0 -380
- package/src/components/ui/tu-do/boards/boardId/kanban/planner/kanban-planner-dialog.tsx +0 -204
- package/src/components/ui/tu-do/boards/boardId/kanban/planner/planner-digest-panel.tsx +0 -61
- package/src/components/ui/tu-do/boards/boardId/kanban/planner/planner-item-strip.tsx +0 -54
- package/src/components/ui/tu-do/boards/boardId/kanban/planner/planner-plan-toolbar.tsx +0 -251
- package/src/components/ui/tu-do/boards/boardId/kanban/planner/planner-scope-badge.tsx +0 -27
- package/src/components/ui/tu-do/boards/boardId/kanban/planner/planner-section.tsx +0 -58
- package/src/components/ui/tu-do/boards/boardId/kanban/planner/planner-share-dialog.tsx +0 -238
- package/src/components/ui/tu-do/boards/boardId/kanban/planner/planner-target-controls.tsx +0 -143
- package/src/components/ui/tu-do/boards/boardId/kanban/planner/planner-utils.ts +0 -65
- package/src/components/ui/tu-do/boards/boardId/kanban/planner/use-kanban-planner-state.ts +0 -234
- package/src/components/ui/tu-do/boards/boardId/kanban/rendering/kanban-column-width.ts +0 -30
- package/src/components/ui/tu-do/boards/boardId/kanban/rendering/kanban-columns.test.tsx +0 -1077
- package/src/components/ui/tu-do/boards/boardId/kanban/rendering/kanban-columns.tsx +0 -447
- package/src/components/ui/tu-do/boards/boardId/kanban/rendering/kanban-deadline-panels.tsx +0 -703
- package/src/components/ui/tu-do/boards/boardId/kanban/rendering/kanban-deadline-tasks.test.ts +0 -267
- package/src/components/ui/tu-do/boards/boardId/kanban/rendering/kanban-deadline-tasks.ts +0 -112
- package/src/components/ui/tu-do/boards/boardId/kanban/rendering/kanban-skeleton.tsx +0 -113
- package/src/components/ui/tu-do/boards/boardId/kanban/selection/use-keyboard-shortcuts.ts +0 -137
- package/src/components/ui/tu-do/boards/boardId/kanban/selection/use-multi-select.ts +0 -119
- package/src/components/ui/tu-do/boards/boardId/kanban.tsx +0 -631
- package/src/components/ui/tu-do/boards/boardId/list-actions.tsx +0 -522
- package/src/components/ui/tu-do/boards/boardId/menus/__tests__/task-estimation-menu.test.tsx +0 -261
- package/src/components/ui/tu-do/boards/boardId/menus/__tests__/task-menus.test.tsx +0 -708
- package/src/components/ui/tu-do/boards/boardId/menus/index.ts +0 -12
- package/src/components/ui/tu-do/boards/boardId/menus/task-assignees-menu.tsx +0 -176
- package/src/components/ui/tu-do/boards/boardId/menus/task-blocking-menu.tsx +0 -304
- package/src/components/ui/tu-do/boards/boardId/menus/task-due-date-menu.tsx +0 -201
- package/src/components/ui/tu-do/boards/boardId/menus/task-estimation-menu.tsx +0 -103
- package/src/components/ui/tu-do/boards/boardId/menus/task-labels-menu.tsx +0 -134
- package/src/components/ui/tu-do/boards/boardId/menus/task-move-menu.tsx +0 -66
- package/src/components/ui/tu-do/boards/boardId/menus/task-parent-menu.tsx +0 -228
- package/src/components/ui/tu-do/boards/boardId/menus/task-picker-popover.tsx +0 -300
- package/src/components/ui/tu-do/boards/boardId/menus/task-priority-menu.tsx +0 -178
- package/src/components/ui/tu-do/boards/boardId/menus/task-projects-menu.tsx +0 -143
- package/src/components/ui/tu-do/boards/boardId/menus/task-related-menu.tsx +0 -242
- package/src/components/ui/tu-do/boards/boardId/menus/task-scheduling-menu.tsx +0 -465
- package/src/components/ui/tu-do/boards/boardId/menus/task-scheduling-utils.ts +0 -109
- package/src/components/ui/tu-do/boards/boardId/status-grouped-board.tsx +0 -533
- package/src/components/ui/tu-do/boards/boardId/status-section.tsx +0 -274
- package/src/components/ui/tu-do/boards/boardId/task-actions.tsx +0 -675
- package/src/components/ui/tu-do/boards/boardId/task-board-server-page.test.tsx +0 -209
- package/src/components/ui/tu-do/boards/boardId/task-board-server-page.tsx +0 -109
- package/src/components/ui/tu-do/boards/boardId/task-card/TaskCardCheckbox.tsx +0 -50
- package/src/components/ui/tu-do/boards/boardId/task-card/TaskCardDates.tsx +0 -123
- package/src/components/ui/tu-do/boards/boardId/task-card/TaskCardHeader.tsx +0 -97
- package/src/components/ui/tu-do/boards/boardId/task-card/TaskCardMetadata.tsx +0 -152
- package/src/components/ui/tu-do/boards/boardId/task-card/measured-task-card.tsx +0 -118
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-archive-visibility.test.ts +0 -44
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-archive-visibility.ts +0 -17
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-checkbox-style.ts +0 -39
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-comparator.test.ts +0 -104
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-comparator.ts +0 -123
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-completion-checkbox-visibility.test.ts +0 -31
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-completion-checkbox-visibility.ts +0 -9
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-identifier-row.test.tsx +0 -124
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-identifier-row.tsx +0 -88
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-label-options.ts +0 -24
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-open-options.test.ts +0 -166
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-open-options.ts +0 -148
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-resource-context.test.ts +0 -113
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-resource-context.ts +0 -50
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-visibility.test.ts +0 -41
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card-visibility.ts +0 -14
- package/src/components/ui/tu-do/boards/boardId/task-card/task-card.tsx +0 -2889
- package/src/components/ui/tu-do/boards/boardId/task-card/task-scheduling-badge.tsx +0 -174
- package/src/components/ui/tu-do/boards/boardId/task-dialogs/BoardEstimationConfigDialog.tsx +0 -499
- package/src/components/ui/tu-do/boards/boardId/task-dialogs/TaskCustomDateDialog.tsx +0 -109
- package/src/components/ui/tu-do/boards/boardId/task-dialogs/TaskDeleteDialog.tsx +0 -96
- package/src/components/ui/tu-do/boards/boardId/task-dialogs/TaskNewLabelDialog.tsx +0 -178
- package/src/components/ui/tu-do/boards/boardId/task-dialogs/TaskNewProjectDialog.tsx +0 -127
- package/src/components/ui/tu-do/boards/boardId/task-filter.test.tsx +0 -152
- package/src/components/ui/tu-do/boards/boardId/task-filter.tsx +0 -996
- package/src/components/ui/tu-do/boards/boardId/task-form.tsx +0 -498
- package/src/components/ui/tu-do/boards/boardId/task-list-drag-preview.test.ts +0 -101
- package/src/components/ui/tu-do/boards/boardId/task-list-form.tsx +0 -91
- package/src/components/ui/tu-do/boards/boardId/task-list.tsx +0 -535
- package/src/components/ui/tu-do/boards/boardId/task-parent-badge-state.test.ts +0 -64
- package/src/components/ui/tu-do/boards/boardId/task-parent-badge-state.ts +0 -31
- package/src/components/ui/tu-do/boards/boardId/task.tsx +0 -2
- package/src/components/ui/tu-do/boards/boardId/timeline/task-edit-dialog.tsx +0 -109
- package/src/components/ui/tu-do/boards/boardId/timeline/timeline-display.ts +0 -103
- package/src/components/ui/tu-do/boards/boardId/timeline/timeline-grid.tsx +0 -381
- package/src/components/ui/tu-do/boards/boardId/timeline/timeline-task-row.tsx +0 -339
- package/src/components/ui/tu-do/boards/boardId/timeline/timeline-toolbar.tsx +0 -356
- package/src/components/ui/tu-do/boards/boardId/timeline/timeline-utils.test.ts +0 -169
- package/src/components/ui/tu-do/boards/boardId/timeline/timeline-utils.ts +0 -517
- package/src/components/ui/tu-do/boards/boardId/timeline-board-open-task.test.tsx +0 -164
- package/src/components/ui/tu-do/boards/boardId/timeline-board.test.tsx +0 -217
- package/src/components/ui/tu-do/boards/boardId/timeline-board.tsx +0 -834
- package/src/components/ui/tu-do/boards/boards-list-skeleton.tsx +0 -62
- package/src/components/ui/tu-do/boards/columns.tsx +0 -159
- package/src/components/ui/tu-do/boards/copy-board-dialog.tsx +0 -156
- package/src/components/ui/tu-do/boards/enhanced-boards-view.tsx +0 -347
- package/src/components/ui/tu-do/boards/form.tsx +0 -264
- package/src/components/ui/tu-do/boards/quick-create-board-dialog.tsx +0 -75
- package/src/components/ui/tu-do/boards/row-actions.tsx +0 -397
- package/src/components/ui/tu-do/boards/share-section.tsx +0 -100
- package/src/components/ui/tu-do/boards/workspace-projects-client-page.tsx +0 -192
- package/src/components/ui/tu-do/boards/workspace-projects-page.tsx +0 -155
- package/src/components/ui/tu-do/cycles/task-cycles-client.tsx +0 -753
- package/src/components/ui/tu-do/cycles/task-cycles-page.tsx +0 -103
- package/src/components/ui/tu-do/drafts/draft-card.tsx +0 -204
- package/src/components/ui/tu-do/drafts/draft-convert-dialog.tsx +0 -195
- package/src/components/ui/tu-do/drafts/drafts-page.tsx +0 -122
- package/src/components/ui/tu-do/drafts/task-drafts-page.tsx +0 -90
- package/src/components/ui/tu-do/estimates/client.tsx +0 -292
- package/src/components/ui/tu-do/estimates/edit-estimation-dialog.tsx +0 -374
- package/src/components/ui/tu-do/estimates/task-estimates-page.tsx +0 -57
- package/src/components/ui/tu-do/estimates/use-task-estimates.ts +0 -324
- package/src/components/ui/tu-do/habits/client.tsx +0 -263
- package/src/components/ui/tu-do/habits/habit-card.tsx +0 -183
- package/src/components/ui/tu-do/habits/habit-form-dialog.tsx +0 -701
- package/src/components/ui/tu-do/habits/habits-page.tsx +0 -27
- package/src/components/ui/tu-do/hooks/__tests__/useDraftPersistence.test.ts +0 -494
- package/src/components/ui/tu-do/hooks/__tests__/useTaskDialog.test.tsx +0 -127
- package/src/components/ui/tu-do/hooks/__tests__/useTaskDialogState.test.ts +0 -217
- package/src/components/ui/tu-do/hooks/__tests__/useTaskLabelManagement.test.tsx +0 -572
- package/src/components/ui/tu-do/hooks/__tests__/useTaskProjectManagement.test.tsx +0 -144
- package/src/components/ui/tu-do/hooks/useDraftPersistence.ts +0 -199
- package/src/components/ui/tu-do/hooks/useTaskCardRelationships.ts +0 -340
- package/src/components/ui/tu-do/hooks/useTaskDialog.ts +0 -122
- package/src/components/ui/tu-do/hooks/useTaskDialogState.ts +0 -145
- package/src/components/ui/tu-do/hooks/useTaskFormState.ts +0 -206
- package/src/components/ui/tu-do/hooks/useTaskKeyboardShortcuts.ts +0 -58
- package/src/components/ui/tu-do/hooks/useTaskLabelManagement.ts +0 -425
- package/src/components/ui/tu-do/hooks/useTaskProjectManagement.ts +0 -454
- package/src/components/ui/tu-do/initiatives/task-initiatives-client.tsx +0 -889
- package/src/components/ui/tu-do/initiatives/task-initiatives-page.tsx +0 -116
- package/src/components/ui/tu-do/labels/client.tsx +0 -201
- package/src/components/ui/tu-do/labels/components/delete-label-dialog.tsx +0 -57
- package/src/components/ui/tu-do/labels/components/label-card.tsx +0 -86
- package/src/components/ui/tu-do/labels/components/label-dialog.tsx +0 -259
- package/src/components/ui/tu-do/labels/components/label-list.tsx +0 -83
- package/src/components/ui/tu-do/labels/hooks/use-task-labels.ts +0 -170
- package/src/components/ui/tu-do/labels/task-labels-page.tsx +0 -53
- package/src/components/ui/tu-do/labels/types.ts +0 -6
- package/src/components/ui/tu-do/logs/columns.tsx +0 -755
- package/src/components/ui/tu-do/logs/logs-client.tsx +0 -1006
- package/src/components/ui/tu-do/logs/logs-timeline.tsx +0 -2483
- package/src/components/ui/tu-do/logs/task-logs-page.tsx +0 -59
- package/src/components/ui/tu-do/my-tasks/__tests__/my-tasks-content.test.tsx +0 -408
- package/src/components/ui/tu-do/my-tasks/__tests__/use-my-tasks-query.test.ts +0 -469
- package/src/components/ui/tu-do/my-tasks/__tests__/use-my-tasks-state.test.ts +0 -1017
- package/src/components/ui/tu-do/my-tasks/__tests__/use-task-context-actions.test.ts +0 -584
- package/src/components/ui/tu-do/my-tasks/ai-credit-indicator.tsx +0 -143
- package/src/components/ui/tu-do/my-tasks/board-selector-dialog.tsx +0 -239
- package/src/components/ui/tu-do/my-tasks/command-bar.tsx +0 -1351
- package/src/components/ui/tu-do/my-tasks/label-project-filter.tsx +0 -194
- package/src/components/ui/tu-do/my-tasks/my-task-context-menu.tsx +0 -356
- package/src/components/ui/tu-do/my-tasks/my-tasks-content.tsx +0 -328
- package/src/components/ui/tu-do/my-tasks/my-tasks-data-loader.tsx +0 -17
- package/src/components/ui/tu-do/my-tasks/my-tasks-filters.tsx +0 -258
- package/src/components/ui/tu-do/my-tasks/my-tasks-header.tsx +0 -121
- package/src/components/ui/tu-do/my-tasks/my-tasks-page.tsx +0 -40
- package/src/components/ui/tu-do/my-tasks/personal-placement-dialog.tsx +0 -188
- package/src/components/ui/tu-do/my-tasks/task-filter.tsx +0 -235
- package/src/components/ui/tu-do/my-tasks/task-list-with-completion.tsx +0 -832
- package/src/components/ui/tu-do/my-tasks/task-list.tsx +0 -258
- package/src/components/ui/tu-do/my-tasks/task-preview-dialog.tsx +0 -1597
- package/src/components/ui/tu-do/my-tasks/task-section.tsx +0 -261
- package/src/components/ui/tu-do/my-tasks/use-my-tasks-query.ts +0 -149
- package/src/components/ui/tu-do/my-tasks/use-my-tasks-state.ts +0 -1037
- package/src/components/ui/tu-do/my-tasks/use-task-context-actions.ts +0 -474
- package/src/components/ui/tu-do/notes/note-edit-dialog.tsx +0 -118
- package/src/components/ui/tu-do/notes/note-list.tsx +0 -799
- package/src/components/ui/tu-do/notes/notes-content.tsx +0 -178
- package/src/components/ui/tu-do/notes/notes-page.tsx +0 -27
- package/src/components/ui/tu-do/progress/task-progress-import-panel.tsx +0 -60
- package/src/components/ui/tu-do/progress/task-progress-leaderboards-panel.tsx +0 -156
- package/src/components/ui/tu-do/progress/task-progress-page.tsx +0 -382
- package/src/components/ui/tu-do/progress/task-progress-panels.tsx +0 -303
- package/src/components/ui/tu-do/projects/components/index.ts +0 -11
- package/src/components/ui/tu-do/projects/components/project-actions-menu.tsx +0 -66
- package/src/components/ui/tu-do/projects/components/project-badges.tsx +0 -84
- package/src/components/ui/tu-do/projects/components/project-filter-menu.tsx +0 -170
- package/src/components/ui/tu-do/projects/components/project-grid-card.tsx +0 -198
- package/src/components/ui/tu-do/projects/components/project-list-item.tsx +0 -195
- package/src/components/ui/tu-do/projects/components/project-metrics.tsx +0 -87
- package/src/components/ui/tu-do/projects/components/project-progress-meter.tsx +0 -33
- package/src/components/ui/tu-do/projects/components/project-sort-menu.tsx +0 -71
- package/src/components/ui/tu-do/projects/components/projects-empty-state.tsx +0 -38
- package/src/components/ui/tu-do/projects/components/projects-loading-state.tsx +0 -26
- package/src/components/ui/tu-do/projects/components/projects-toolbar.tsx +0 -179
- package/src/components/ui/tu-do/projects/dialogs/create-project-dialog.tsx +0 -117
- package/src/components/ui/tu-do/projects/dialogs/edit-project-dialog.tsx +0 -125
- package/src/components/ui/tu-do/projects/dialogs/index.ts +0 -3
- package/src/components/ui/tu-do/projects/dialogs/manage-tasks-dialog.tsx +0 -205
- package/src/components/ui/tu-do/projects/hooks/index.ts +0 -2
- package/src/components/ui/tu-do/projects/hooks/use-project-filters.ts +0 -248
- package/src/components/ui/tu-do/projects/hooks/use-task-projects.ts +0 -238
- package/src/components/ui/tu-do/projects/projectId/components/__tests__/tasks-tab-layout.test.tsx +0 -169
- package/src/components/ui/tu-do/projects/projectId/components/documents-tab.tsx +0 -90
- package/src/components/ui/tu-do/projects/projectId/components/index.ts +0 -9
- package/src/components/ui/tu-do/projects/projectId/components/overview/description-card.tsx +0 -77
- package/src/components/ui/tu-do/projects/projectId/components/overview/linked-documents-card.tsx +0 -81
- package/src/components/ui/tu-do/projects/projectId/components/overview/linked-tasks-card.tsx +0 -85
- package/src/components/ui/tu-do/projects/projectId/components/overview/updates-card.tsx +0 -85
- package/src/components/ui/tu-do/projects/projectId/components/overview-tab.tsx +0 -35
- package/src/components/ui/tu-do/projects/projectId/components/project-configuration.tsx +0 -229
- package/src/components/ui/tu-do/projects/projectId/components/project-header.tsx +0 -115
- package/src/components/ui/tu-do/projects/projectId/components/project-lead-selector.tsx +0 -55
- package/src/components/ui/tu-do/projects/projectId/components/project-overview-context.tsx +0 -82
- package/src/components/ui/tu-do/projects/projectId/components/project-sidebar.tsx +0 -246
- package/src/components/ui/tu-do/projects/projectId/components/tasks-tab.tsx +0 -266
- package/src/components/ui/tu-do/projects/projectId/components/update-card.tsx +0 -162
- package/src/components/ui/tu-do/projects/projectId/components/updates-tab.tsx +0 -129
- package/src/components/ui/tu-do/projects/projectId/dialogs/index.ts +0 -1
- package/src/components/ui/tu-do/projects/projectId/dialogs/link-task-dialog.tsx +0 -114
- package/src/components/ui/tu-do/projects/projectId/hooks/index.ts +0 -4
- package/src/components/ui/tu-do/projects/projectId/hooks/use-animation-variants.ts +0 -68
- package/src/components/ui/tu-do/projects/projectId/hooks/use-project-form.ts +0 -214
- package/src/components/ui/tu-do/projects/projectId/hooks/use-project-updates.ts +0 -209
- package/src/components/ui/tu-do/projects/projectId/hooks/use-task-linking.ts +0 -101
- package/src/components/ui/tu-do/projects/projectId/task-project-detail-page-client.tsx +0 -93
- package/src/components/ui/tu-do/projects/projectId/task-project-detail-page.tsx +0 -78
- package/src/components/ui/tu-do/projects/projectId/task-project-detail.tsx +0 -367
- package/src/components/ui/tu-do/projects/projectId/types.ts +0 -51
- package/src/components/ui/tu-do/projects/task-projects-client.tsx +0 -270
- package/src/components/ui/tu-do/projects/task-projects-page.tsx +0 -97
- package/src/components/ui/tu-do/projects/types.ts +0 -62
- package/src/components/ui/tu-do/providers/__tests__/task-dialog-provider.test.tsx +0 -616
- package/src/components/ui/tu-do/providers/task-dialog-provider.tsx +0 -923
- package/src/components/ui/tu-do/providers/workspace-presence-provider.tsx +0 -88
- package/src/components/ui/tu-do/shared/AccessibleButton.tsx +0 -79
- package/src/components/ui/tu-do/shared/__tests__/assignee-select.test.tsx +0 -143
- package/src/components/ui/tu-do/shared/__tests__/board-client.test.tsx +0 -358
- package/src/components/ui/tu-do/shared/__tests__/board-header.test.tsx +0 -598
- package/src/components/ui/tu-do/shared/__tests__/board-query-cache.test.ts +0 -219
- package/src/components/ui/tu-do/shared/__tests__/board-switcher.test.tsx +0 -374
- package/src/components/ui/tu-do/shared/__tests__/board-views.test.tsx +0 -1288
- package/src/components/ui/tu-do/shared/__tests__/create-list-dialog.test.tsx +0 -118
- package/src/components/ui/tu-do/shared/__tests__/task-board-loading-state.test.tsx +0 -99
- package/src/components/ui/tu-do/shared/__tests__/task-cache-patches.test.ts +0 -147
- package/src/components/ui/tu-do/shared/__tests__/task-detail-page.test.tsx +0 -170
- package/src/components/ui/tu-do/shared/__tests__/task-dialog-manager.test.tsx +0 -945
- package/src/components/ui/tu-do/shared/__tests__/task-legacy-route-recovery.test.tsx +0 -101
- package/src/components/ui/tu-do/shared/__tests__/use-progressive-board-loader.test.tsx +0 -645
- package/src/components/ui/tu-do/shared/assignee-select.tsx +0 -592
- package/src/components/ui/tu-do/shared/board-broadcast-context.tsx +0 -45
- package/src/components/ui/tu-do/shared/board-client.tsx +0 -283
- package/src/components/ui/tu-do/shared/board-config-storage.ts +0 -94
- package/src/components/ui/tu-do/shared/board-header.tsx +0 -803
- package/src/components/ui/tu-do/shared/board-layout-settings.tsx +0 -1134
- package/src/components/ui/tu-do/shared/board-query-cache.ts +0 -157
- package/src/components/ui/tu-do/shared/board-switcher.tsx +0 -322
- package/src/components/ui/tu-do/shared/board-user-presence-avatars.tsx +0 -578
- package/src/components/ui/tu-do/shared/board-views.tsx +0 -1238
- package/src/components/ui/tu-do/shared/clear-menu-item.tsx +0 -34
- package/src/components/ui/tu-do/shared/create-list-dialog.tsx +0 -401
- package/src/components/ui/tu-do/shared/cursor-overlay-multi-wrapper.tsx +0 -245
- package/src/components/ui/tu-do/shared/cursor-overlay.tsx +0 -78
- package/src/components/ui/tu-do/shared/custom-date-picker/custom-date-picker-dialog.tsx +0 -157
- package/src/components/ui/tu-do/shared/description-overflow-warning-dialog.tsx +0 -68
- package/src/components/ui/tu-do/shared/edit-list-dialog.tsx +0 -383
- package/src/components/ui/tu-do/shared/empty-state-card.tsx +0 -46
- package/src/components/ui/tu-do/shared/estimation-mapping.test.ts +0 -32
- package/src/components/ui/tu-do/shared/estimation-mapping.ts +0 -74
- package/src/components/ui/tu-do/shared/estimation-utils.ts +0 -54
- package/src/components/ui/tu-do/shared/fade-setting-initializer.tsx +0 -61
- package/src/components/ui/tu-do/shared/label-chip.tsx +0 -46
- package/src/components/ui/tu-do/shared/list-view-context-menu.test.tsx +0 -203
- package/src/components/ui/tu-do/shared/list-view-sorting.test.ts +0 -50
- package/src/components/ui/tu-do/shared/list-view-sorting.ts +0 -108
- package/src/components/ui/tu-do/shared/list-view.tsx +0 -1248
- package/src/components/ui/tu-do/shared/mention-system/__tests__/mention-system.test.ts +0 -250
- package/src/components/ui/tu-do/shared/mention-system/mention-menu.tsx +0 -217
- package/src/components/ui/tu-do/shared/mention-system/types.ts +0 -141
- package/src/components/ui/tu-do/shared/mention-system/use-mention-suggestions.ts +0 -244
- package/src/components/ui/tu-do/shared/progressive-loader-context.tsx +0 -45
- package/src/components/ui/tu-do/shared/recent-sidebar-events.ts +0 -58
- package/src/components/ui/tu-do/shared/recycle-bin-panel.tsx +0 -651
- package/src/components/ui/tu-do/shared/relationship-task-identifier.ts +0 -14
- package/src/components/ui/tu-do/shared/slash-commands/__tests__/slash-commands.test.ts +0 -315
- package/src/components/ui/tu-do/shared/slash-commands/definitions.ts +0 -167
- package/src/components/ui/tu-do/shared/slash-commands/slash-command-menu.tsx +0 -114
- package/src/components/ui/tu-do/shared/special-task-list-pins.ts +0 -51
- package/src/components/ui/tu-do/shared/sync-warning-dialog.tsx +0 -133
- package/src/components/ui/tu-do/shared/task-board-errors.ts +0 -19
- package/src/components/ui/tu-do/shared/task-board-loading-state.tsx +0 -82
- package/src/components/ui/tu-do/shared/task-cache-patches.ts +0 -394
- package/src/components/ui/tu-do/shared/task-detail-page.tsx +0 -176
- package/src/components/ui/tu-do/shared/task-detail-server-page.tsx +0 -37
- package/src/components/ui/tu-do/shared/task-dialog-manager.tsx +0 -596
- package/src/components/ui/tu-do/shared/task-dialog-presentation.test.ts +0 -53
- package/src/components/ui/tu-do/shared/task-dialog-presentation.ts +0 -30
- package/src/components/ui/tu-do/shared/task-dialog-wrapper.tsx +0 -28
- package/src/components/ui/tu-do/shared/task-due-date-visibility.test.ts +0 -72
- package/src/components/ui/tu-do/shared/task-due-date-visibility.ts +0 -38
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/compact-task-create-popover.test.tsx +0 -325
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/compact-task-create-popover.tsx +0 -268
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/mobile-floating-save-button.tsx +0 -46
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/quick-settings-popover.tsx +0 -198
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/smart-task-suggestions-panel.test.tsx +0 -129
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/smart-task-suggestions-panel.tsx +0 -358
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/task-description-editor.tsx +0 -496
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/task-dialog-header.tsx +0 -545
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/task-list-picker-panel.tsx +0 -220
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/task-list-selector.tsx +0 -165
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/task-list-trigger-styles.ts +0 -69
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/task-name-input.test.tsx +0 -180
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/task-name-input.tsx +0 -218
- package/src/components/ui/tu-do/shared/task-edit-dialog/components/task-suggestion-menus.tsx +0 -148
- package/src/components/ui/tu-do/shared/task-edit-dialog/constants.ts +0 -18
- package/src/components/ui/tu-do/shared/task-edit-dialog/context-menu-guard.test.ts +0 -37
- package/src/components/ui/tu-do/shared/task-edit-dialog/description-diff-viewer.tsx +0 -1665
- package/src/components/ui/tu-do/shared/task-edit-dialog/description-versions.test.ts +0 -97
- package/src/components/ui/tu-do/shared/task-edit-dialog/description-versions.ts +0 -210
- package/src/components/ui/tu-do/shared/task-edit-dialog/field-diff-viewer.tsx +0 -716
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/__tests__/use-task-dialog-close.test.ts +0 -218
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/__tests__/use-task-dialog-keyboard-shortcuts.test.ts +0 -140
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/__tests__/use-task-mutations.test.tsx +0 -231
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/__tests__/use-task-overrides.test.ts +0 -412
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/__tests__/use-task-realtime-sync.test.tsx +0 -237
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/__tests__/use-task-yjs-sync.test.ts +0 -190
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/__tests__/use-update-shared-task.test.ts +0 -107
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/task-api.test.ts +0 -171
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/task-api.ts +0 -296
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-editor-commands.ts +0 -314
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-suggestion-menus.ts +0 -503
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-change-detection.ts +0 -175
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-data.ts +0 -401
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-dependencies.ts +0 -773
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-dialog-close.ts +0 -193
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-dialog-keyboard-shortcuts.ts +0 -365
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-form-reset.ts +0 -231
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-form-state.ts +0 -307
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-mutations.ts +0 -609
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-overrides.ts +0 -134
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-realtime-sync.ts +0 -270
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-relationships.test.tsx +0 -212
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-relationships.ts +0 -554
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-revert.ts +0 -140
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-save.test.ts +0 -289
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-save.ts +0 -1473
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-snapshot.ts +0 -59
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-task-yjs-sync.ts +0 -224
- package/src/components/ui/tu-do/shared/task-edit-dialog/hooks/use-update-shared-task.ts +0 -60
- package/src/components/ui/tu-do/shared/task-edit-dialog/personal-overrides-section.tsx +0 -368
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/components/clickable-task-item.tsx +0 -90
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/components/index.ts +0 -4
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/components/subtask-action-buttons.tsx +0 -140
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/components/tab-button.tsx +0 -76
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/components/task-relationship-action-buttons.tsx +0 -178
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/dependencies-section.tsx +0 -140
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/index.ts +0 -35
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/parent-section.tsx +0 -70
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/related-section.tsx +0 -81
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/subtasks-section.tsx +0 -87
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/task-search-popover.tsx +0 -229
- package/src/components/ui/tu-do/shared/task-edit-dialog/relationships/types/task-relationships.types.ts +0 -194
- package/src/components/ui/tu-do/shared/task-edit-dialog/selective-revert-panel.test.tsx +0 -91
- package/src/components/ui/tu-do/shared/task-edit-dialog/selective-revert-panel.tsx +0 -365
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-activity-section.tsx +0 -802
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-delete-dialog.tsx +0 -104
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-description-change-dialog.test.tsx +0 -63
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-description-change-dialog.tsx +0 -218
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-description-restore-banner.tsx +0 -83
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-description-version-restore-dialog.test.tsx +0 -120
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-description-version-restore-dialog.tsx +0 -180
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-dialog-actions.test.tsx +0 -68
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-dialog-actions.tsx +0 -239
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-instances-section.tsx +0 -173
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-properties-section.test.tsx +0 -303
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-properties-section.tsx +0 -2213
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-relationships-properties.tsx +0 -315
- package/src/components/ui/tu-do/shared/task-edit-dialog/task-snapshot-dialog.tsx +0 -167
- package/src/components/ui/tu-do/shared/task-edit-dialog/types/pending-relationship.test.ts +0 -52
- package/src/components/ui/tu-do/shared/task-edit-dialog/types/pending-relationship.ts +0 -134
- package/src/components/ui/tu-do/shared/task-edit-dialog/types.ts +0 -64
- package/src/components/ui/tu-do/shared/task-edit-dialog/user-display.test.ts +0 -58
- package/src/components/ui/tu-do/shared/task-edit-dialog/user-display.ts +0 -45
- package/src/components/ui/tu-do/shared/task-edit-dialog/utils/inline-task-target-list.test.ts +0 -98
- package/src/components/ui/tu-do/shared/task-edit-dialog/utils/inline-task-target-list.ts +0 -39
- package/src/components/ui/tu-do/shared/task-edit-dialog/utils.test.ts +0 -504
- package/src/components/ui/tu-do/shared/task-edit-dialog/utils.ts +0 -582
- package/src/components/ui/tu-do/shared/task-edit-dialog/yjs-prosemirror-compat.test.ts +0 -65
- package/src/components/ui/tu-do/shared/task-edit-dialog.tsx +0 -3196
- package/src/components/ui/tu-do/shared/task-estimation-display.tsx +0 -52
- package/src/components/ui/tu-do/shared/task-estimation-picker.tsx +0 -226
- package/src/components/ui/tu-do/shared/task-filter.types.ts +0 -65
- package/src/components/ui/tu-do/shared/task-label-selector.tsx +0 -217
- package/src/components/ui/tu-do/shared/task-labels-display.test.tsx +0 -51
- package/src/components/ui/tu-do/shared/task-labels-display.tsx +0 -119
- package/src/components/ui/tu-do/shared/task-legacy-route-recovery.tsx +0 -65
- package/src/components/ui/tu-do/shared/task-projects-display.tsx +0 -80
- package/src/components/ui/tu-do/shared/task-quick-create-target-list.ts +0 -20
- package/src/components/ui/tu-do/shared/task-resource-search-field.tsx +0 -49
- package/src/components/ui/tu-do/shared/task-resource-search-filters.ts +0 -27
- package/src/components/ui/tu-do/shared/task-row-actions-menu.test.tsx +0 -138
- package/src/components/ui/tu-do/shared/task-row-actions-menu.tsx +0 -402
- package/src/components/ui/tu-do/shared/task-share-dialog/components/share-link-settings.tsx +0 -86
- package/src/components/ui/tu-do/shared/task-share-dialog/components/shares-list.tsx +0 -85
- package/src/components/ui/tu-do/shared/task-share-dialog/hooks/use-task-sharing.ts +0 -296
- package/src/components/ui/tu-do/shared/task-share-dialog.tsx +0 -144
- package/src/components/ui/tu-do/shared/task-sound-effects.test.ts +0 -189
- package/src/components/ui/tu-do/shared/task-sound-effects.tsx +0 -468
- package/src/components/ui/tu-do/shared/task-url.ts +0 -56
- package/src/components/ui/tu-do/shared/text-diff-viewer.tsx +0 -55
- package/src/components/ui/tu-do/shared/types.ts +0 -14
- package/src/components/ui/tu-do/shared/unsaved-changes-warning-dialog.tsx +0 -71
- package/src/components/ui/tu-do/shared/use-progressive-board-loader.ts +0 -312
- package/src/components/ui/tu-do/shared/user-avatar.tsx +0 -46
- package/src/components/ui/tu-do/shared/user-presence-avatars.tsx +0 -415
- package/src/components/ui/tu-do/shared/utils/translate-task-list-display-name.ts +0 -28
- package/src/components/ui/tu-do/tasks-route-context.tsx +0 -50
- package/src/components/ui/tu-do/templates/client.tsx +0 -505
- package/src/components/ui/tu-do/templates/marketplace/client.tsx +0 -487
- package/src/components/ui/tu-do/templates/marketplace/task-marketplace-page.tsx +0 -169
- package/src/components/ui/tu-do/templates/save-as-template-dialog.tsx +0 -381
- package/src/components/ui/tu-do/templates/task-template-api.ts +0 -142
- package/src/components/ui/tu-do/templates/task-template-card.tsx +0 -118
- package/src/components/ui/tu-do/templates/task-template-client.test.tsx +0 -52
- package/src/components/ui/tu-do/templates/task-template-client.tsx +0 -258
- package/src/components/ui/tu-do/templates/task-template-dialogs.test.tsx +0 -167
- package/src/components/ui/tu-do/templates/task-template-dialogs.tsx +0 -376
- package/src/components/ui/tu-do/templates/task-templates-hub.test.tsx +0 -114
- package/src/components/ui/tu-do/templates/task-templates-hub.tsx +0 -53
- package/src/components/ui/tu-do/templates/task-templates-page.tsx +0 -157
- package/src/components/ui/tu-do/templates/templateId/client.tsx +0 -674
- package/src/components/ui/tu-do/templates/templateId/edit-template-dialog.tsx +0 -300
- package/src/components/ui/tu-do/templates/templateId/share-template-dialog.tsx +0 -261
- package/src/components/ui/tu-do/templates/templateId/task-template-detail-page-client.tsx +0 -127
- package/src/components/ui/tu-do/templates/templateId/task-template-detail-page.tsx +0 -89
- package/src/components/ui/tu-do/templates/templateId/use-template-dialog.tsx +0 -165
- package/src/components/ui/tu-do/templates/types.ts +0 -53
- package/src/components/ui/tu-do/utils/__tests__/label-colors.test.ts +0 -43
- package/src/components/ui/tu-do/utils/__tests__/taskColorUtils.test.ts +0 -267
- package/src/components/ui/tu-do/utils/__tests__/taskConstants.test.ts +0 -178
- package/src/components/ui/tu-do/utils/__tests__/taskDateUtils.test.ts +0 -226
- package/src/components/ui/tu-do/utils/__tests__/weekDateUtils.test.ts +0 -182
- package/src/components/ui/tu-do/utils/label-colors.test.ts +0 -15
- package/src/components/ui/tu-do/utils/label-colors.ts +0 -59
- package/src/components/ui/tu-do/utils/taskColorUtils.ts +0 -116
- package/src/components/ui/tu-do/utils/taskConstants.ts +0 -102
- package/src/components/ui/tu-do/utils/taskDateUtils.ts +0 -81
- package/src/components/ui/tu-do/utils/taskPriorityUtils.tsx +0 -80
- package/src/components/ui/tu-do/utils/weekDateUtils.ts +0 -64
- package/src/hooks/__tests__/use-task-actions.test.tsx +0 -2098
- package/src/hooks/__tests__/useBoardPresence.test.tsx +0 -191
- package/src/hooks/__tests__/useBoardRealtime.test.tsx +0 -1036
- package/src/hooks/__tests__/useCursorTracking.test.tsx +0 -212
- package/src/hooks/task-actions-personal-external.ts +0 -313
- package/src/hooks/use-task-actions.ts +0 -1910
- package/src/hooks/useBoardPresence.ts +0 -364
- package/src/hooks/useBoardRealtime.ts +0 -428
- package/src/hooks/useBoardRealtime.types.ts +0 -56
- package/src/hooks/useBoardRealtimeEventHandler.ts +0 -452
- package/src/hooks/useCursorTracking.ts +0 -402
- package/src/hooks/usePresence.ts +0 -272
- package/src/hooks/useTaskUserRealtime.ts +0 -340
- /package/src/{components/ui/tu-do/shared → lib}/task-open-events.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.19.0](https://github.com/tutur3u/platform/compare/ui-v0.18.0...ui-v0.19.0) (2026-07-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **calendar:** redesign workspace sidebar ([194e126](https://github.com/tutur3u/platform/commit/194e1267e573e50416f3866826e2a182b3ff8729))
|
|
9
|
+
* **satellite:** unify app switcher headers ([411a00c](https://github.com/tutur3u/platform/commit/411a00c9cbb584579e0d8f8e7fa4c2721c414ba3))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **calendar:** restore provider calendar management ([68753a8](https://github.com/tutur3u/platform/commit/68753a865dcc25a35cd53e5fc7ced1913b9a10bb))
|
|
15
|
+
* **chat:** stop Zalo phone sync spam ([b45e778](https://github.com/tutur3u/platform/commit/b45e778693f175b7bafcd00d6b3ec46f079a946c))
|
|
16
|
+
* **ci:** keep task helper collection source-only ([7355a05](https://github.com/tutur3u/platform/commit/7355a05385ccd8d1e2d1bcf6ac15ae5297e057ad))
|
|
17
|
+
* **ci:** resolve shared task helper during e2e collection ([0319a3b](https://github.com/tutur3u/platform/commit/0319a3bd0df12592b823b7cebdff38cea3e50836))
|
|
18
|
+
* **inventory:** correct storefront bundle checkout ([cb9c247](https://github.com/tutur3u/platform/commit/cb9c24740ceb77f9426ba640383a68bd9ed95d2c))
|
|
19
|
+
* **inventory:** polish mobile sales and settings ([59ef49c](https://github.com/tutur3u/platform/commit/59ef49cde2095361e2b13ce36848e1e39f772c18))
|
|
20
|
+
* resolve code quality findings ([63f10b5](https://github.com/tutur3u/platform/commit/63f10b5ec22a4194f48f448ee2b1b088b5da8f08))
|
|
21
|
+
* **satellite:** harden workspace settings translations ([7315a2d](https://github.com/tutur3u/platform/commit/7315a2da7b75fd1d66c1c89885aaebc857a44a19))
|
|
22
|
+
* **satellite:** restore mobile workspace settings ([e276f40](https://github.com/tutur3u/platform/commit/e276f4006175cfb501410b3875e661d3975c27f2))
|
|
23
|
+
* **satellite:** restore workspace settings access ([6b4c4f9](https://github.com/tutur3u/platform/commit/6b4c4f92b06b5a68d3116b744a1b8fa6dd9668d2))
|
|
24
|
+
* **security:** remediate code scanning findings ([023db2e](https://github.com/tutur3u/platform/commit/023db2edf4b0557be108a9d772cbc7e2223af947))
|
|
25
|
+
* **tasks:** repair onboarding and external metadata ([e0b62eb](https://github.com/tutur3u/platform/commit/e0b62eb7119155f6e4cad3dc4fb4d0f9820c98e8))
|
|
26
|
+
* **ui:** prevent iOS form focus zoom ([a0e3f3c](https://github.com/tutur3u/platform/commit/a0e3f3cc10e0ef0676714857088ff8d2b826dcd2))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Performance Improvements
|
|
30
|
+
|
|
31
|
+
* **inventory:** add event-driven storefront caching ([2f571f4](https://github.com/tutur3u/platform/commit/2f571f4fc534bf5dee0ca36c4310d87b44e6e613))
|
|
32
|
+
* **storefront:** share customer navigation shell ([21cb78d](https://github.com/tutur3u/platform/commit/21cb78db484d1e1fdb9f2469fcac4e3a948bd176))
|
|
33
|
+
* **storefront:** stabilize navigation and cart rendering ([471c6b7](https://github.com/tutur3u/platform/commit/471c6b75abc6a4d69692e868cc1b220785e03262))
|
|
34
|
+
|
|
35
|
+
## [0.18.0](https://github.com/tutur3u/platform/compare/ui-v0.17.0...ui-v0.18.0) (2026-07-18)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* **inventory:** complete Square commerce integration ([fe63eca](https://github.com/tutur3u/platform/commit/fe63eca7d02d94795f93fbbb471069b80c492020))
|
|
41
|
+
* **tasks:** add autonomous progress intelligence ([ba35df5](https://github.com/tutur3u/platform/commit/ba35df5485fb01e709bf651cc2083b5fa877560f))
|
|
42
|
+
* **tasks:** add leaderboard leave button and per-member sparklines ([5b65238](https://github.com/tutur3u/platform/commit/5b65238c5388345acebacc6cbc612c738cdc3079))
|
|
43
|
+
* **tasks:** make task management autonomous ([431212d](https://github.com/tutur3u/platform/commit/431212d471425aba7fcffdd37d77039d64bec643))
|
|
44
|
+
* **tasks:** revamp progress, goals, analytics & leaderboards with TrackBear parity ([d1bda0e](https://github.com/tutur3u/platform/commit/d1bda0e37a6ed45eb22aaa3bb20c4d62dc41a19f))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Bug Fixes
|
|
48
|
+
|
|
49
|
+
* **tasks:** polish task card indicators ([d34966f](https://github.com/tutur3u/platform/commit/d34966fe8939dde56990718acada5a7899a990ed))
|
|
50
|
+
* **tasks:** preserve bulk task list rows ([5aac158](https://github.com/tutur3u/platform/commit/5aac158d38969be83499a5fec114197d0378bac7))
|
|
51
|
+
* **tasks:** repair task media permissions ([28a0bf1](https://github.com/tutur3u/platform/commit/28a0bf1f1ff11359828a335ac81bb20860062942))
|
|
52
|
+
* **tasks:** show select all for empty lists ([485ccd7](https://github.com/tutur3u/platform/commit/485ccd737d93d63d00cf582871a9055d819ba694))
|
|
53
|
+
* **tasks:** stabilize task card selection layout ([5754a9c](https://github.com/tutur3u/platform/commit/5754a9c9edcc1fdee5fff116cb809d3d2dc2bf8c))
|
|
54
|
+
|
|
3
55
|
## [0.17.0](https://github.com/tutur3u/platform/compare/ui-v0.16.0...ui-v0.17.0) (2026-07-13)
|
|
4
56
|
|
|
5
57
|
|
package/biome.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tuturuuu/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -24,33 +24,33 @@
|
|
|
24
24
|
"@hookform/resolvers": "^5.4.0",
|
|
25
25
|
"@json-render/core": "^0.19.0",
|
|
26
26
|
"@json-render/react": "^0.19.0",
|
|
27
|
-
"@radix-ui/react-accordion": "^1.2.
|
|
28
|
-
"@radix-ui/react-alert-dialog": "^1.1.
|
|
29
|
-
"@radix-ui/react-aspect-ratio": "^1.1.
|
|
30
|
-
"@radix-ui/react-avatar": "^1.2.
|
|
31
|
-
"@radix-ui/react-checkbox": "^1.3.
|
|
32
|
-
"@radix-ui/react-collapsible": "^1.1.
|
|
33
|
-
"@radix-ui/react-context-menu": "^2.3.
|
|
34
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
35
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
36
|
-
"@radix-ui/react-hover-card": "^1.1.
|
|
37
|
-
"@radix-ui/react-label": "^2.1.
|
|
38
|
-
"@radix-ui/react-menubar": "^1.1.
|
|
39
|
-
"@radix-ui/react-navigation-menu": "^1.2.
|
|
40
|
-
"@radix-ui/react-popover": "^1.1.
|
|
41
|
-
"@radix-ui/react-progress": "^1.1.
|
|
42
|
-
"@radix-ui/react-radio-group": "^1.4.
|
|
43
|
-
"@radix-ui/react-scroll-area": "^1.2.
|
|
44
|
-
"@radix-ui/react-select": "^2.3.
|
|
45
|
-
"@radix-ui/react-separator": "^1.1.
|
|
46
|
-
"@radix-ui/react-slider": "^1.4.
|
|
27
|
+
"@radix-ui/react-accordion": "^1.2.17",
|
|
28
|
+
"@radix-ui/react-alert-dialog": "^1.1.20",
|
|
29
|
+
"@radix-ui/react-aspect-ratio": "^1.1.12",
|
|
30
|
+
"@radix-ui/react-avatar": "^1.2.3",
|
|
31
|
+
"@radix-ui/react-checkbox": "^1.3.8",
|
|
32
|
+
"@radix-ui/react-collapsible": "^1.1.17",
|
|
33
|
+
"@radix-ui/react-context-menu": "^2.3.4",
|
|
34
|
+
"@radix-ui/react-dialog": "^1.1.20",
|
|
35
|
+
"@radix-ui/react-dropdown-menu": "^2.1.21",
|
|
36
|
+
"@radix-ui/react-hover-card": "^1.1.20",
|
|
37
|
+
"@radix-ui/react-label": "^2.1.12",
|
|
38
|
+
"@radix-ui/react-menubar": "^1.1.21",
|
|
39
|
+
"@radix-ui/react-navigation-menu": "^1.2.19",
|
|
40
|
+
"@radix-ui/react-popover": "^1.1.20",
|
|
41
|
+
"@radix-ui/react-progress": "^1.1.13",
|
|
42
|
+
"@radix-ui/react-radio-group": "^1.4.4",
|
|
43
|
+
"@radix-ui/react-scroll-area": "^1.2.15",
|
|
44
|
+
"@radix-ui/react-select": "^2.3.4",
|
|
45
|
+
"@radix-ui/react-separator": "^1.1.12",
|
|
46
|
+
"@radix-ui/react-slider": "^1.4.4",
|
|
47
47
|
"@radix-ui/react-slot": "^1.3.0",
|
|
48
|
-
"@radix-ui/react-switch": "^1.3.
|
|
49
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
50
|
-
"@radix-ui/react-toast": "^1.2.
|
|
51
|
-
"@radix-ui/react-toggle": "^1.1.
|
|
52
|
-
"@radix-ui/react-toggle-group": "^1.1.
|
|
53
|
-
"@radix-ui/react-tooltip": "^1.2.
|
|
48
|
+
"@radix-ui/react-switch": "^1.3.4",
|
|
49
|
+
"@radix-ui/react-tabs": "^1.1.18",
|
|
50
|
+
"@radix-ui/react-toast": "^1.2.20",
|
|
51
|
+
"@radix-ui/react-toggle": "^1.1.15",
|
|
52
|
+
"@radix-ui/react-toggle-group": "^1.1.16",
|
|
53
|
+
"@radix-ui/react-tooltip": "^1.2.13",
|
|
54
54
|
"@streamdown/cjk": "^1.0.3",
|
|
55
55
|
"@streamdown/code": "^1.1.1",
|
|
56
56
|
"@streamdown/math": "^1.0.2",
|
|
@@ -59,38 +59,40 @@
|
|
|
59
59
|
"@tanstack/react-pacer": "^0.22.1",
|
|
60
60
|
"@tanstack/react-query": "^5.101.2",
|
|
61
61
|
"@tanstack/react-table": "^8.21.3",
|
|
62
|
-
"@tanstack/react-virtual": "^3.14.
|
|
63
|
-
"@tiptap/core": "3.
|
|
64
|
-
"@tiptap/extension-collaboration": "3.
|
|
65
|
-
"@tiptap/extension-collaboration-caret": "3.
|
|
66
|
-
"@tiptap/extension-color": "3.
|
|
67
|
-
"@tiptap/extension-drag-handle
|
|
68
|
-
"@tiptap/extension-
|
|
69
|
-
"@tiptap/extension-
|
|
70
|
-
"@tiptap/extension-
|
|
71
|
-
"@tiptap/extension-
|
|
72
|
-
"@tiptap/extension-
|
|
73
|
-
"@tiptap/extension-
|
|
74
|
-
"@tiptap/extension-
|
|
75
|
-
"@tiptap/extension-
|
|
76
|
-
"@tiptap/extension-
|
|
77
|
-
"@tiptap/extension-
|
|
78
|
-
"@tiptap/extension-
|
|
79
|
-
"@tiptap/extension-table
|
|
80
|
-
"@tiptap/extension-table-
|
|
81
|
-
"@tiptap/extension-
|
|
82
|
-
"@tiptap/extension-
|
|
83
|
-
"@tiptap/extension-
|
|
84
|
-
"@tiptap/
|
|
85
|
-
"@tiptap/
|
|
86
|
-
"@tiptap/
|
|
87
|
-
"@
|
|
88
|
-
"@
|
|
62
|
+
"@tanstack/react-virtual": "^3.14.6",
|
|
63
|
+
"@tiptap/core": "3.28.0",
|
|
64
|
+
"@tiptap/extension-collaboration": "3.28.0",
|
|
65
|
+
"@tiptap/extension-collaboration-caret": "3.28.0",
|
|
66
|
+
"@tiptap/extension-color": "3.28.0",
|
|
67
|
+
"@tiptap/extension-drag-handle": "3.28.0",
|
|
68
|
+
"@tiptap/extension-drag-handle-react": "3.28.0",
|
|
69
|
+
"@tiptap/extension-highlight": "3.28.0",
|
|
70
|
+
"@tiptap/extension-horizontal-rule": "3.28.0",
|
|
71
|
+
"@tiptap/extension-image": "3.28.0",
|
|
72
|
+
"@tiptap/extension-link": "3.28.0",
|
|
73
|
+
"@tiptap/extension-list": "3.28.0",
|
|
74
|
+
"@tiptap/extension-node-range": "3.28.0",
|
|
75
|
+
"@tiptap/extension-placeholder": "3.28.0",
|
|
76
|
+
"@tiptap/extension-strike": "3.28.0",
|
|
77
|
+
"@tiptap/extension-subscript": "3.28.0",
|
|
78
|
+
"@tiptap/extension-superscript": "3.28.0",
|
|
79
|
+
"@tiptap/extension-table": "3.28.0",
|
|
80
|
+
"@tiptap/extension-table-cell": "3.28.0",
|
|
81
|
+
"@tiptap/extension-table-header": "3.28.0",
|
|
82
|
+
"@tiptap/extension-table-row": "3.28.0",
|
|
83
|
+
"@tiptap/extension-text-align": "3.28.0",
|
|
84
|
+
"@tiptap/extension-text-style": "3.28.0",
|
|
85
|
+
"@tiptap/extension-youtube": "3.28.0",
|
|
86
|
+
"@tiptap/pm": "3.28.0",
|
|
87
|
+
"@tiptap/react": "3.28.0",
|
|
88
|
+
"@tiptap/starter-kit": "3.28.0",
|
|
89
|
+
"@tuturuuu/ai": "0.3.0",
|
|
90
|
+
"@tuturuuu/apis": "0.9.2",
|
|
89
91
|
"@tuturuuu/hooks": "0.0.2",
|
|
90
92
|
"@tuturuuu/icons": "0.0.6",
|
|
91
|
-
"@tuturuuu/internal-api": "0.
|
|
92
|
-
"@tuturuuu/supabase": "0.4.
|
|
93
|
-
"@tuturuuu/utils": "0.
|
|
93
|
+
"@tuturuuu/internal-api": "0.20.0",
|
|
94
|
+
"@tuturuuu/supabase": "0.4.1",
|
|
95
|
+
"@tuturuuu/utils": "0.17.0",
|
|
94
96
|
"@types/debug": "^4.1.13",
|
|
95
97
|
"browser-image-compression": "^2.0.2",
|
|
96
98
|
"class-variance-authority": "^0.7.1",
|
|
@@ -104,29 +106,30 @@
|
|
|
104
106
|
"eventemitter3": "^5.0.4",
|
|
105
107
|
"framer-motion": "^12.42.2",
|
|
106
108
|
"gsap": "^3.15.0",
|
|
107
|
-
"html2canvas-pro": "^2.2.
|
|
109
|
+
"html2canvas-pro": "^2.2.4",
|
|
108
110
|
"input-otp": "^1.4.2",
|
|
109
|
-
"katex": "^0.
|
|
111
|
+
"katex": "^0.18.1",
|
|
110
112
|
"lodash": "4.18.1",
|
|
111
113
|
"moment": "^2.30.1",
|
|
112
114
|
"motion": "^12.42.2",
|
|
113
|
-
"next": "^16.3.0-preview.
|
|
115
|
+
"next": "^16.3.0-preview.6",
|
|
114
116
|
"next-intl": "^4.13.2",
|
|
115
117
|
"next-themes": "^0.4.6",
|
|
116
|
-
"nuqs": "^2.9.
|
|
118
|
+
"nuqs": "^2.9.1",
|
|
117
119
|
"prosemirror-state": "^1.4.4",
|
|
120
|
+
"prosemirror-view": "1.42.1",
|
|
118
121
|
"qrcode.react": "^4.2.0",
|
|
119
122
|
"react": "^19.2.7",
|
|
120
|
-
"react-colorful": "^5.
|
|
123
|
+
"react-colorful": "^5.8.0",
|
|
121
124
|
"react-day-picker": "^10.0.1",
|
|
122
125
|
"react-dom": "^19.2.7",
|
|
123
|
-
"react-dropzone": "^
|
|
124
|
-
"react-hook-form": "^7.
|
|
126
|
+
"react-dropzone": "^19.1.1",
|
|
127
|
+
"react-hook-form": "^7.82.0",
|
|
125
128
|
"react-markdown": "^10.1.0",
|
|
126
129
|
"react-papaparse": "^4.4.0",
|
|
127
130
|
"react-pdf": "^10.4.1",
|
|
128
131
|
"react-resizable": "^4.0.2",
|
|
129
|
-
"react-resizable-panels": "^4.12.
|
|
132
|
+
"react-resizable-panels": "^4.12.2",
|
|
130
133
|
"react-syntax-highlighter": "^16.1.1",
|
|
131
134
|
"recharts": "3.9.2",
|
|
132
135
|
"slot-text": "^0.3.3",
|
|
@@ -144,13 +147,13 @@
|
|
|
144
147
|
"zod": "^4.4.3"
|
|
145
148
|
},
|
|
146
149
|
"devDependencies": {
|
|
147
|
-
"@tailwindcss/postcss": "^4.3.
|
|
150
|
+
"@tailwindcss/postcss": "^4.3.3",
|
|
148
151
|
"@tailwindcss/typography": "^0.5.20",
|
|
149
152
|
"@tanstack/react-query": "^5.101.2",
|
|
150
153
|
"@tanstack/react-table": "^8.21.3",
|
|
151
154
|
"@testing-library/jest-dom": "^6.9.1",
|
|
152
155
|
"@testing-library/react": "^16.3.2",
|
|
153
|
-
"@tuturuuu/types": "0.
|
|
156
|
+
"@tuturuuu/types": "0.19.0",
|
|
154
157
|
"@tuturuuu/typescript-config": "0.1.1",
|
|
155
158
|
"@types/html2canvas": "^1.0.0",
|
|
156
159
|
"@types/lodash": "^4.17.24",
|
|
@@ -161,11 +164,11 @@
|
|
|
161
164
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
162
165
|
"@types/uuid": "^11.0.0",
|
|
163
166
|
"@vitejs/plugin-react": "^6.0.3",
|
|
164
|
-
"autoprefixer": "^10.5.
|
|
167
|
+
"autoprefixer": "^10.5.4",
|
|
165
168
|
"jsdom": "^29.1.1",
|
|
166
|
-
"postcss": "^8.5.
|
|
169
|
+
"postcss": "^8.5.20",
|
|
167
170
|
"postcss-load-config": "^6.0.1",
|
|
168
|
-
"tailwindcss": "^4.3.
|
|
171
|
+
"tailwindcss": "^4.3.3",
|
|
169
172
|
"typescript": "7.0.2",
|
|
170
173
|
"uuid": "^14.0.1",
|
|
171
174
|
"vitest": "^4.1.10"
|
|
@@ -234,38 +237,6 @@
|
|
|
234
237
|
"types": "./src/components/ui/text-editor/types.ts",
|
|
235
238
|
"import": "./src/components/ui/text-editor/types.ts"
|
|
236
239
|
},
|
|
237
|
-
"./tu-do/hooks/useTaskDialog": {
|
|
238
|
-
"types": "./src/components/ui/tu-do/hooks/useTaskDialog.ts",
|
|
239
|
-
"import": "./src/components/ui/tu-do/hooks/useTaskDialog.ts"
|
|
240
|
-
},
|
|
241
|
-
"./tu-do/providers/task-dialog-provider": {
|
|
242
|
-
"types": "./src/components/ui/tu-do/providers/task-dialog-provider.tsx",
|
|
243
|
-
"import": "./src/components/ui/tu-do/providers/task-dialog-provider.tsx"
|
|
244
|
-
},
|
|
245
|
-
"./tu-do/shared/task-dialog-manager": {
|
|
246
|
-
"types": "./src/components/ui/tu-do/shared/task-dialog-manager.tsx",
|
|
247
|
-
"import": "./src/components/ui/tu-do/shared/task-dialog-manager.tsx"
|
|
248
|
-
},
|
|
249
|
-
"./tu-do/shared/recent-sidebar-events": {
|
|
250
|
-
"types": "./src/components/ui/tu-do/shared/recent-sidebar-events.ts",
|
|
251
|
-
"import": "./src/components/ui/tu-do/shared/recent-sidebar-events.ts"
|
|
252
|
-
},
|
|
253
|
-
"./tu-do/shared/task-open-events": {
|
|
254
|
-
"types": "./src/components/ui/tu-do/shared/task-open-events.ts",
|
|
255
|
-
"import": "./src/components/ui/tu-do/shared/task-open-events.ts"
|
|
256
|
-
},
|
|
257
|
-
"./tu-do/hooks/*": "./src/components/ui/tu-do/hooks/*",
|
|
258
|
-
"./tu-do/providers/*": "./src/components/ui/tu-do/providers/*.tsx",
|
|
259
|
-
"./tu-do/shared/*": "./src/components/ui/tu-do/shared/*.tsx",
|
|
260
|
-
"./tu-do/shared/task-edit-dialog/*": "./src/components/ui/tu-do/shared/task-edit-dialog/*.tsx",
|
|
261
|
-
"./tu-do/shared/estimation-mapping": {
|
|
262
|
-
"types": "./src/components/ui/tu-do/shared/estimation-mapping.ts",
|
|
263
|
-
"import": "./src/components/ui/tu-do/shared/estimation-mapping.ts"
|
|
264
|
-
},
|
|
265
|
-
"./tu-do/utils/label-colors": {
|
|
266
|
-
"types": "./src/components/ui/tu-do/utils/label-colors.ts",
|
|
267
|
-
"import": "./src/components/ui/tu-do/utils/label-colors.ts"
|
|
268
|
-
},
|
|
269
240
|
"./utils/label-colors": {
|
|
270
241
|
"types": "./src/utils/label-colors.ts",
|
|
271
242
|
"import": "./src/utils/label-colors.ts"
|
|
@@ -286,55 +257,6 @@
|
|
|
286
257
|
"types": "./src/components/ui/finance/categories-tags-tabs.tsx",
|
|
287
258
|
"import": "./src/components/ui/finance/categories-tags-tabs.tsx"
|
|
288
259
|
},
|
|
289
|
-
"./tu-do/boards/*": "./src/components/ui/tu-do/boards/*.tsx",
|
|
290
|
-
"./tu-do/drafts/*": "./src/components/ui/tu-do/drafts/*.tsx",
|
|
291
|
-
"./tu-do/my-tasks/use-my-tasks-state": {
|
|
292
|
-
"types": "./src/components/ui/tu-do/my-tasks/use-my-tasks-state.ts",
|
|
293
|
-
"import": "./src/components/ui/tu-do/my-tasks/use-my-tasks-state.ts"
|
|
294
|
-
},
|
|
295
|
-
"./tu-do/my-tasks/*": "./src/components/ui/tu-do/my-tasks/*.tsx",
|
|
296
|
-
"./tu-do/habits/*": "./src/components/ui/tu-do/habits/*.tsx",
|
|
297
|
-
"./tu-do/notes/*": "./src/components/ui/tu-do/notes/*.tsx",
|
|
298
|
-
"./tu-do/labels/types": {
|
|
299
|
-
"types": "./src/components/ui/tu-do/labels/types.ts",
|
|
300
|
-
"import": "./src/components/ui/tu-do/labels/types.ts"
|
|
301
|
-
},
|
|
302
|
-
"./tu-do/labels/*": "./src/components/ui/tu-do/labels/*.tsx",
|
|
303
|
-
"./tu-do/labels/components/*": "./src/components/ui/tu-do/labels/components/*.tsx",
|
|
304
|
-
"./tu-do/labels/hooks/*": "./src/components/ui/tu-do/labels/hooks/*.ts",
|
|
305
|
-
"./tu-do/estimates/*": "./src/components/ui/tu-do/estimates/*.tsx",
|
|
306
|
-
"./tu-do/initiatives/*": "./src/components/ui/tu-do/initiatives/*.tsx",
|
|
307
|
-
"./tu-do/cycles/*": "./src/components/ui/tu-do/cycles/*.tsx",
|
|
308
|
-
"./tu-do/logs/*": "./src/components/ui/tu-do/logs/*.tsx",
|
|
309
|
-
"./tu-do/progress/*": "./src/components/ui/tu-do/progress/*.tsx",
|
|
310
|
-
"./tu-do/templates/types": {
|
|
311
|
-
"types": "./src/components/ui/tu-do/templates/types.ts",
|
|
312
|
-
"import": "./src/components/ui/tu-do/templates/types.ts"
|
|
313
|
-
},
|
|
314
|
-
"./tu-do/templates/*": "./src/components/ui/tu-do/templates/*.tsx",
|
|
315
|
-
"./tu-do/templates/marketplace/*": "./src/components/ui/tu-do/templates/marketplace/*.tsx",
|
|
316
|
-
"./tu-do/templates/templateId/*": "./src/components/ui/tu-do/templates/templateId/*.tsx",
|
|
317
|
-
"./tu-do/projects/types": {
|
|
318
|
-
"types": "./src/components/ui/tu-do/projects/types.ts",
|
|
319
|
-
"import": "./src/components/ui/tu-do/projects/types.ts"
|
|
320
|
-
},
|
|
321
|
-
"./tu-do/projects/*": "./src/components/ui/tu-do/projects/*.tsx",
|
|
322
|
-
"./tu-do/projects/components/*": "./src/components/ui/tu-do/projects/components/*.tsx",
|
|
323
|
-
"./tu-do/projects/dialogs/*": "./src/components/ui/tu-do/projects/dialogs/*.tsx",
|
|
324
|
-
"./tu-do/projects/hooks/*": "./src/components/ui/tu-do/projects/hooks/*.ts",
|
|
325
|
-
"./tu-do/projects/projectId/*": "./src/components/ui/tu-do/projects/projectId/*.tsx",
|
|
326
|
-
"./tu-do/projects/projectId/components/*": "./src/components/ui/tu-do/projects/projectId/components/*.tsx",
|
|
327
|
-
"./tu-do/projects/projectId/components/overview/*": "./src/components/ui/tu-do/projects/projectId/components/overview/*.tsx",
|
|
328
|
-
"./tu-do/projects/projectId/dialogs/*": "./src/components/ui/tu-do/projects/projectId/dialogs/*.tsx",
|
|
329
|
-
"./tu-do/projects/projectId/hooks/*": "./src/components/ui/tu-do/projects/projectId/hooks/*.ts",
|
|
330
|
-
"./tu-do/shared/task-detail-page": {
|
|
331
|
-
"types": "./src/components/ui/tu-do/shared/task-detail-page.tsx",
|
|
332
|
-
"import": "./src/components/ui/tu-do/shared/task-detail-page.tsx"
|
|
333
|
-
},
|
|
334
|
-
"./tu-do/shared/text-diff-viewer": {
|
|
335
|
-
"types": "./src/components/ui/tu-do/shared/text-diff-viewer.tsx",
|
|
336
|
-
"import": "./src/components/ui/tu-do/shared/text-diff-viewer.tsx"
|
|
337
|
-
},
|
|
338
260
|
"./lib/template-background": {
|
|
339
261
|
"types": "./src/lib/template-background.ts",
|
|
340
262
|
"import": "./src/lib/template-background.ts"
|
|
@@ -467,7 +389,44 @@
|
|
|
467
389
|
"types": "./src/components/ui/finance/debts/index.ts",
|
|
468
390
|
"import": "./src/components/ui/finance/debts/index.ts"
|
|
469
391
|
},
|
|
470
|
-
"./*": "./src/components/ui/*.tsx"
|
|
392
|
+
"./*": "./src/components/ui/*.tsx",
|
|
393
|
+
"./lib/task-personal-external": {
|
|
394
|
+
"types": "./src/lib/task-personal-external.ts",
|
|
395
|
+
"import": "./src/lib/task-personal-external.ts",
|
|
396
|
+
"default": "./src/lib/task-personal-external.ts"
|
|
397
|
+
},
|
|
398
|
+
"./lib/tasks-app-url": {
|
|
399
|
+
"types": "./src/lib/tasks-app-url.ts",
|
|
400
|
+
"import": "./src/lib/tasks-app-url.ts"
|
|
401
|
+
},
|
|
402
|
+
"./lib/task-open-events": {
|
|
403
|
+
"types": "./src/lib/task-open-events.ts",
|
|
404
|
+
"import": "./src/lib/task-open-events.ts"
|
|
405
|
+
},
|
|
406
|
+
"./lib/calendar/planning-query-client": {
|
|
407
|
+
"types": "./src/lib/calendar/planning-query-client.ts",
|
|
408
|
+
"import": "./src/lib/calendar/planning-query-client.ts"
|
|
409
|
+
},
|
|
410
|
+
"./lib/calendar/preview-engine": {
|
|
411
|
+
"types": "./src/lib/calendar/preview-engine.ts",
|
|
412
|
+
"import": "./src/lib/calendar/preview-engine.ts"
|
|
413
|
+
},
|
|
414
|
+
"./time-tracker/types": {
|
|
415
|
+
"types": "./src/components/ui/time-tracker/types.ts",
|
|
416
|
+
"import": "./src/components/ui/time-tracker/types.ts"
|
|
417
|
+
},
|
|
418
|
+
"./text-editor/editor": {
|
|
419
|
+
"types": "./src/components/ui/text-editor/editor.tsx",
|
|
420
|
+
"import": "./src/components/ui/text-editor/editor.tsx"
|
|
421
|
+
},
|
|
422
|
+
"./text-editor/mention-extension": {
|
|
423
|
+
"types": "./src/components/ui/text-editor/mention-extension.tsx",
|
|
424
|
+
"import": "./src/components/ui/text-editor/mention-extension.tsx"
|
|
425
|
+
},
|
|
426
|
+
"./text-editor/text-replacements": {
|
|
427
|
+
"types": "./src/components/ui/text-editor/text-replacements.ts",
|
|
428
|
+
"import": "./src/components/ui/text-editor/text-replacements.ts"
|
|
429
|
+
}
|
|
471
430
|
},
|
|
472
431
|
"packageManager": "bun@1.3.14"
|
|
473
432
|
}
|
|
@@ -5,23 +5,48 @@ import type {
|
|
|
5
5
|
Workspace,
|
|
6
6
|
WorkspaceCalendarGoogleTokenClient,
|
|
7
7
|
} from '@tuturuuu/types';
|
|
8
|
+
import type { CalendarView } from '@tuturuuu/ui/hooks/use-view-transition';
|
|
8
9
|
import { SmartCalendar } from '@tuturuuu/ui/legacy/calendar/smart-calendar';
|
|
9
10
|
import { useLocale, useTranslations } from 'next-intl';
|
|
10
|
-
import {
|
|
11
|
-
|
|
11
|
+
import {
|
|
12
|
+
type ComponentType,
|
|
13
|
+
type Dispatch,
|
|
14
|
+
type SetStateAction,
|
|
15
|
+
useState,
|
|
16
|
+
} from 'react';
|
|
12
17
|
import { RequireWorkspaceTimezoneDialog } from './components/require-workspace-timezone-dialog';
|
|
13
18
|
import { useCalendarSettings } from './hooks';
|
|
14
19
|
|
|
20
|
+
export interface CalendarHeaderActionsProps {
|
|
21
|
+
enableSmartScheduling: boolean;
|
|
22
|
+
workspaceId: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type CalendarHeaderActionsComponent =
|
|
26
|
+
ComponentType<CalendarHeaderActionsProps>;
|
|
27
|
+
|
|
15
28
|
interface CalendarClientPageProps {
|
|
29
|
+
HeaderActions: CalendarHeaderActionsComponent;
|
|
16
30
|
experimentalGoogleToken?: WorkspaceCalendarGoogleTokenClient | null;
|
|
17
31
|
workspace: Workspace;
|
|
18
32
|
enableSmartScheduling: boolean;
|
|
33
|
+
externalState?: {
|
|
34
|
+
availableViews: { value: string; label: string; disabled?: boolean }[];
|
|
35
|
+
date: Date;
|
|
36
|
+
setDate: Dispatch<SetStateAction<Date>>;
|
|
37
|
+
setView: Dispatch<SetStateAction<CalendarView>>;
|
|
38
|
+
view: CalendarView;
|
|
39
|
+
};
|
|
40
|
+
showConnectionsManager?: boolean;
|
|
19
41
|
}
|
|
20
42
|
|
|
21
43
|
export function CalendarClientPage({
|
|
22
44
|
experimentalGoogleToken,
|
|
23
45
|
workspace,
|
|
24
46
|
enableSmartScheduling,
|
|
47
|
+
externalState,
|
|
48
|
+
HeaderActions,
|
|
49
|
+
showConnectionsManager,
|
|
25
50
|
}: CalendarClientPageProps) {
|
|
26
51
|
const t = useTranslations('calendar');
|
|
27
52
|
const locale = useLocale();
|
|
@@ -34,7 +59,7 @@ export function CalendarClientPage({
|
|
|
34
59
|
const needsCalendarGate = !calendarGateCompleted && settingsNeedGate;
|
|
35
60
|
|
|
36
61
|
const extras = (
|
|
37
|
-
<
|
|
62
|
+
<HeaderActions
|
|
38
63
|
workspaceId={workspace.id}
|
|
39
64
|
enableSmartScheduling={enableSmartScheduling}
|
|
40
65
|
/>
|
|
@@ -60,7 +85,9 @@ export function CalendarClientPage({
|
|
|
60
85
|
: null
|
|
61
86
|
}
|
|
62
87
|
extras={extras}
|
|
88
|
+
externalState={externalState}
|
|
63
89
|
initialSettings={initialSettings}
|
|
90
|
+
showConnectionsManager={showConnectionsManager}
|
|
64
91
|
/>
|
|
65
92
|
</div>
|
|
66
93
|
);
|
|
@@ -4,59 +4,90 @@ import type {
|
|
|
4
4
|
WorkspaceCalendarGoogleTokenClient,
|
|
5
5
|
} from '@tuturuuu/types';
|
|
6
6
|
import { CalendarSyncProvider } from '@tuturuuu/ui/hooks/use-calendar-sync';
|
|
7
|
-
import {
|
|
7
|
+
import type { ComponentType } from 'react';
|
|
8
|
+
import type { CalendarView } from '../../../hooks/use-view-transition';
|
|
8
9
|
import type { ExtendedWorkspaceTask } from '../time-tracker/types';
|
|
9
|
-
import {
|
|
10
|
-
|
|
10
|
+
import {
|
|
11
|
+
CalendarClientPage,
|
|
12
|
+
type CalendarHeaderActionsComponent,
|
|
13
|
+
} from './calendar-client-page';
|
|
14
|
+
|
|
15
|
+
export interface CalendarTasksSidebarProps {
|
|
16
|
+
locale: string;
|
|
17
|
+
resolvedWsId: string;
|
|
18
|
+
tasks?: ExtendedWorkspaceTask[];
|
|
19
|
+
userId: string;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export type CalendarTasksSidebarComponent =
|
|
23
|
+
ComponentType<CalendarTasksSidebarProps>;
|
|
11
24
|
|
|
12
25
|
interface CalendarPageShellProps {
|
|
13
26
|
calendarConnections: CalendarConnection[] | null;
|
|
14
27
|
enableSmartScheduling: boolean;
|
|
15
28
|
experimentalGoogleToken?: WorkspaceCalendarGoogleTokenClient | null;
|
|
16
|
-
|
|
29
|
+
HeaderActions: CalendarHeaderActionsComponent;
|
|
17
30
|
locale: string;
|
|
18
31
|
smartSchedulingTasks?: ExtendedWorkspaceTask[];
|
|
19
32
|
userId: string;
|
|
20
33
|
workspace: Workspace;
|
|
34
|
+
TasksSidebar: CalendarTasksSidebarComponent;
|
|
35
|
+
externalState?: {
|
|
36
|
+
availableViews: { value: string; label: string; disabled?: boolean }[];
|
|
37
|
+
date: Date;
|
|
38
|
+
setDate: React.Dispatch<React.SetStateAction<Date>>;
|
|
39
|
+
setView: React.Dispatch<React.SetStateAction<CalendarView>>;
|
|
40
|
+
view: CalendarView;
|
|
41
|
+
};
|
|
42
|
+
manageCalendarSyncProvider?: boolean;
|
|
43
|
+
showConnectionsManager?: boolean;
|
|
21
44
|
}
|
|
22
45
|
|
|
23
46
|
export function CalendarPageShell({
|
|
24
47
|
calendarConnections,
|
|
25
48
|
enableSmartScheduling,
|
|
26
49
|
experimentalGoogleToken,
|
|
27
|
-
|
|
50
|
+
HeaderActions,
|
|
28
51
|
locale,
|
|
29
52
|
smartSchedulingTasks = [],
|
|
30
53
|
userId,
|
|
31
54
|
workspace,
|
|
55
|
+
TasksSidebar,
|
|
56
|
+
externalState,
|
|
57
|
+
manageCalendarSyncProvider = true,
|
|
58
|
+
showConnectionsManager = true,
|
|
32
59
|
}: CalendarPageShellProps) {
|
|
60
|
+
const content = (
|
|
61
|
+
<div className="flex h-[calc(100vh-2rem)]">
|
|
62
|
+
<CalendarClientPage
|
|
63
|
+
experimentalGoogleToken={experimentalGoogleToken}
|
|
64
|
+
workspace={workspace}
|
|
65
|
+
enableSmartScheduling={enableSmartScheduling}
|
|
66
|
+
externalState={externalState}
|
|
67
|
+
HeaderActions={HeaderActions}
|
|
68
|
+
showConnectionsManager={showConnectionsManager}
|
|
69
|
+
/>
|
|
70
|
+
{enableSmartScheduling && (
|
|
71
|
+
<TasksSidebar
|
|
72
|
+
resolvedWsId={workspace.id}
|
|
73
|
+
locale={locale}
|
|
74
|
+
userId={userId}
|
|
75
|
+
tasks={smartSchedulingTasks}
|
|
76
|
+
/>
|
|
77
|
+
)}
|
|
78
|
+
</div>
|
|
79
|
+
);
|
|
80
|
+
|
|
81
|
+
if (!manageCalendarSyncProvider) return content;
|
|
82
|
+
|
|
33
83
|
return (
|
|
34
|
-
<
|
|
35
|
-
isPersonalWorkspace={isPersonalWorkspace}
|
|
84
|
+
<CalendarSyncProvider
|
|
36
85
|
wsId={workspace.id}
|
|
86
|
+
experimentalGoogleToken={experimentalGoogleToken}
|
|
87
|
+
initialCalendarConnections={calendarConnections || []}
|
|
37
88
|
>
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
experimentalGoogleToken={experimentalGoogleToken}
|
|
41
|
-
initialCalendarConnections={calendarConnections || []}
|
|
42
|
-
>
|
|
43
|
-
<div className="flex h-[calc(100vh-2rem)]">
|
|
44
|
-
<CalendarClientPage
|
|
45
|
-
experimentalGoogleToken={experimentalGoogleToken}
|
|
46
|
-
workspace={workspace}
|
|
47
|
-
enableSmartScheduling={enableSmartScheduling}
|
|
48
|
-
/>
|
|
49
|
-
{enableSmartScheduling && (
|
|
50
|
-
<TasksSidebar
|
|
51
|
-
resolvedWsId={workspace.id}
|
|
52
|
-
locale={locale}
|
|
53
|
-
userId={userId}
|
|
54
|
-
tasks={smartSchedulingTasks}
|
|
55
|
-
/>
|
|
56
|
-
)}
|
|
57
|
-
</div>
|
|
58
|
-
</CalendarSyncProvider>
|
|
59
|
-
</TaskDialogWrapper>
|
|
89
|
+
{content}
|
|
90
|
+
</CalendarSyncProvider>
|
|
60
91
|
);
|
|
61
92
|
}
|
|
62
93
|
|