From 7d4ee69a156d0ca7bdf049d2e1d818c7e8da209e Mon Sep 17 00:00:00 2001 From: sajjad isvand Date: Sun, 28 Dec 2025 01:49:33 +0330 Subject: [PATCH 1/2] refactor: fix date range for fetching Google Calendar events --- .../components/google-calendar/google-calendar-view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/widgets/calendar/components/google-calendar/google-calendar-view.tsx b/src/layouts/widgets/calendar/components/google-calendar/google-calendar-view.tsx index d5f8e45f..ac71831c 100644 --- a/src/layouts/widgets/calendar/components/google-calendar/google-calendar-view.tsx +++ b/src/layouts/widgets/calendar/components/google-calendar/google-calendar-view.tsx @@ -33,7 +33,7 @@ export const GoogleCalendarView: React.FC = () => { const { data: events } = useGetGoogleCalendarEvents( isCalendarConnected, selectedDate.clone().startOf('day').toDate(), - selectedDate.clone().endOf('day').toDate() + selectedDate.clone().startOf('day').toDate() ) const handleEventClick = (event: any) => { From 138e0861530a717d3687f31bd59366485a59819f Mon Sep 17 00:00:00 2001 From: sajjad isvand Date: Sun, 28 Dec 2025 02:10:12 +0330 Subject: [PATCH 2/2] feat: update search icon to Google and modify placeholder text --- src/layouts/search/search.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/layouts/search/search.tsx b/src/layouts/search/search.tsx index 0b0e7520..ee76bf8e 100644 --- a/src/layouts/search/search.tsx +++ b/src/layouts/search/search.tsx @@ -5,6 +5,7 @@ import Analytics from '@/analytics' import { BrowserBookmark } from './browser-bookmark/browser-bookmark' import { TrendingSearches } from './trending/trending-searches' import { VoiceSearchButton } from './voice/VoiceSearchButton' +import { FcGoogle } from 'react-icons/fc' export function SearchLayout() { const [searchQuery, setSearchQuery] = useState('') @@ -75,7 +76,7 @@ export function SearchLayout() {
onFocusInput()} className={ - 'w-full py-1.5 text-base font-light text-right focus:outline-none text-content placeholder:text-content' + 'w-full py-1.5 text-base font-light text-right focus:outline-none text-content placeholder:text-base-content/80 placeholder:font-medium focus:placeholder:opacity-50 bg-transparent ' } - placeholder="جستجو ..." + placeholder="جستجو در گوگل" autoComplete="off" />