diff --git a/packages/nc-gui/components/nc/DateWeekSelector.vue b/packages/nc-gui/components/nc/DateWeekSelector.vue index 04f8a2edee..0e3a1446bd 100644 --- a/packages/nc-gui/components/nc/DateWeekSelector.vue +++ b/packages/nc-gui/components/nc/DateWeekSelector.vue @@ -180,6 +180,7 @@ const paginate = (action: 'next' | 'prev') => { 'rounded-md bg-brand-50 text-brand-500': isSameDate(date, dayjs()) && isDateInCurrentMonth(date), }" class="h-9 w-9 px-1 py-2 relative font-medium flex items-center cursor-pointer justify-center" + data-testid="nc-calendar-date" @click="handleSelectDate(date)" > diff --git a/packages/nc-gui/components/smartsheet/calendar/DayView/DateField.vue b/packages/nc-gui/components/smartsheet/calendar/DayView/DateField.vue index 7e0e6ad519..eeaae6dd3d 100644 --- a/packages/nc-gui/components/smartsheet/calendar/DayView/DateField.vue +++ b/packages/nc-gui/components/smartsheet/calendar/DayView/DateField.vue @@ -180,6 +180,7 @@ const dropEvent = (event: DragEvent) => {
{
{
-
+
{ - + @@ -343,12 +344,14 @@ onUnmounted(() => { 'h-[calc(100vh-25.1rem)]': activeCalendarView === ('month' as const) || activeCalendarView === ('year' as const) && height > 918, }" class="gap-2 flex flex-col nc-scrollbar-md overflow-y-auto nc-calendar-top-height" + data-testid="nc-calendar-side-menu-list" @scroll="sideBarListScrollHandle" > @@ -389,6 +392,7 @@ onUnmounted(() => { : null " color="blue" + data-testid="nc-sidebar-record-card" @click="emit('expand-record', record)" @dragstart="dragStart($event, record)" @dragover.prevent diff --git a/packages/nc-gui/components/smartsheet/calendar/YearView.vue b/packages/nc-gui/components/smartsheet/calendar/YearView.vue index 6a747f61bc..6684ab27af 100644 --- a/packages/nc-gui/components/smartsheet/calendar/YearView.vue +++ b/packages/nc-gui/components/smartsheet/calendar/YearView.vue @@ -11,7 +11,10 @@ const months = computed(() => {