Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ZhengJiawen44/tatsu
/ functions
Functions
614 in github.com/ZhengJiawen44/tatsu
⨍
Functions
614
◇
Types & classes
56
↓ 87 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 84 callers
Function
toast
({ ...props }: Toast)
hooks/use-toast.ts:145
↓ 63 callers
Function
useToast
()
hooks/use-toast.ts:174
↓ 20 callers
Function
errorHandler
(error: unknown)
lib/errorHandler.ts:3
↓ 20 callers
Function
generateTodosFromRRule
( recurringTodos: recurringTodoItemType[], timeZone: string, bounds: bounds, )
lib/RRule/generateTodosFromRRule.ts:19
↓ 19 callers
Function
getTodayBoundaries
(timeZone: string)
tests/lib/getTodayBoundaries.ts:9
↓ 19 callers
Method
withRRule
(rrule: string)
tests/lib/todoBuilder.ts:34
↓ 19 callers
Method
withdtstart
(dtstart: Date)
tests/lib/todoBuilder.ts:39
↓ 19 callers
Method
withdue
(due: Date)
tests/lib/todoBuilder.ts:46
↓ 15 callers
Function
getDisplayDate
( date: Date | undefined | null, displayTime?: boolean, locale: string = "en", timezone?: string, ab
lib/date/displayDate.ts:55
↓ 12 callers
Function
useProjectMetaData
()
components/Sidebar/Project/query/get-project-meta.ts:8
↓ 12 callers
Function
useWindowSize
()
hooks/useWindowSize.ts:3
↓ 11 callers
Function
useMenu
()
providers/MenuProvider.tsx:114
↓ 10 callers
Function
useTodoForm
()
providers/TodoFormProvider.tsx:124
↓ 9 callers
Function
derive128BitKey
({ passkey, email, rounds = 600_000, }: DeriveMasterKeyProps)
features/vault/lib/encryption/derive128BitKey.ts:15
↓ 8 callers
Function
useUserTimezone
()
features/user/query/get-timezone.ts:3
↓ 7 callers
Function
toggleByDay
(day: number)
features/calendar/component/CalendarForm/FormFields/Dropdowns/RepeatDropdown/repeatModalMenu/RepeatOnOption.tsx:21
↓ 5 callers
Function
createCaldavClientFromDB
(userId: string)
lib/sync/createCaldavClientFromDB.ts:5
↓ 5 callers
Function
deriveRepeatType
({ rruleOptions, }: { rruleOptions: Partial<Options> | null; })
lib/deriveRepeatType.ts:3
↓ 5 callers
Function
dispatch
(action: Action)
hooks/use-toast.ts:136
↓ 5 callers
Function
expandAndMergeTodos
( recurringTodos: recurringTodoItemType[], timeZone: string, dateRangeStart: Date, dateRangeEnd: Date,
lib/RRule/expandAndMergeTodos.ts:6
↓ 5 callers
Function
resolveTimezone
( user: Session["user"], req?: NextRequest, )
lib/resolveTimeZone.ts:12
↓ 5 callers
Function
secureGenerator
(byteLength = 16)
features/vault/lib/encryption/secureGenerator.ts:5
↓ 5 callers
Function
useEditCalendarTodo
()
features/calendar/query/update-calendar-todo.ts:53
↓ 5 callers
Function
useTodoMutation
()
providers/TodoMutationProvider.tsx:62
↓ 5 callers
Function
useUserPreferences
()
providers/UserPreferencesProvider.tsx:118
↓ 4 callers
Function
deriveWithFixedSalt
( key: CryptoKey, salt: ArrayBuffer | Uint8Array, )
tests/encryption/deriveStretchedMasterKey.test.ts:62
↓ 4 callers
Function
fetchApi
(url: string, options: fetchOptions)
lib/api-client.ts:7
↓ 4 callers
Function
formatDayAbbr
(date: Date)
lib/formatDayAbbr.ts:1
↓ 4 callers
Function
getFormatter
( locale: string, options: Intl.DateTimeFormatOptions, )
lib/date/displayDate.ts:5
↓ 4 callers
Function
getTimeOr
(d: Date | null | undefined, fallback: number)
features/project/component/ProjectContainer.tsx:65
↓ 4 callers
Function
getTimeOr
(d: Date | null | undefined, fallback: number)
features/todayTodos/component/TodayTodoContainer.tsx:67
↓ 4 callers
Function
masqueradeAsUTC
(localDate: Date)
components/todo/lib/masqueradeAsUTC.ts:8
↓ 4 callers
Function
parseIcsToVeventComponent
(icsData: string)
lib/sync/parseIcsToComponent.ts:2
↓ 4 callers
Function
useCarousel
()
components/ui/carousel.tsx:35
↓ 4 callers
Function
usePassKey
()
providers/PassKeyProvider.tsx:67
↓ 3 callers
Function
base64Decode
(base64: string)
features/vault/lib/encryption/base64Decode.ts:1
↓ 3 callers
Function
formatDayAbbr
(date: Date)
features/calendar/component/CalendarForm/FormFields/Dropdowns/DateDropdown/DateDropdownMenu.tsx:47
↓ 3 callers
Function
getCaretOffset
(el: HTMLElement)
components/todo/lib/getCaretOffset.ts:1
↓ 3 callers
Function
getFormatter
( locale: string, options: Intl.DateTimeFormatOptions, )
lib/date/displayDueDate.ts:12
↓ 3 callers
Function
handleSubmit
(e: React.FormEvent<HTMLFormElement>)
components/ui/SearchBar.tsx:38
↓ 3 callers
Function
insertProjectToken
(project: { id: string; name: string })
components/todo/component/TodoForm/NLPTitleInput.tsx:349
↓ 3 callers
Function
isToday
(date: Date | string)
lib/date/isToday.ts:1
↓ 3 callers
Function
removeByweekday
(options: Partial<Options> | null)
components/todo/component/TodoForm/TodoInlineActionBar/RepeatDropdown/CustomRepeat/repeatModalMenu/RepeatEveryOption.tsx:29
↓ 3 callers
Function
removeByweekday
(options: Partial<Options> | null)
features/calendar/component/CalendarForm/FormFields/Dropdowns/RepeatDropdown/repeatModalMenu/RepeatEveryOption.tsx:23
↓ 3 callers
Function
resolveTimezone
(timezone?: string)
lib/date/resolveTimezone.ts:10
↓ 3 callers
Function
upsertTodosFromCalendarObjects
( objects: DAVObject[], calendarId: string, userId: string, serverUrl: string, )
lib/sync/upsertTodosFromCalendarObjects.ts:12
↓ 3 callers
Function
useEditCalendarTodoInstance
()
features/calendar/query/update-calendar-todo-instance.ts:37
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
hooks/use-toast.ts:61
↓ 2 callers
Function
applyNLPHighlighting
(text: string)
components/todo/component/TodoForm/NLPTitleInput.tsx:234
↓ 2 callers
Function
createCalDAVClient
( service: string, username: string, password: string, serverUrl?: string, )
lib/sync/createDavClient.ts:13
↓ 2 callers
Function
deriveWithCustomInfo
( key: CryptoKey, info: string, )
tests/encryption/deriveStretchedMasterKey.test.ts:178
↓ 2 callers
Function
escapeRegExp
(s: string)
components/todo/component/TodoForm/NLPTitleInput.tsx:98
↓ 2 callers
Function
formatDate
(date: Date)
features/calendar/component/CalendarForm/FormFields/Dropdowns/DateDropdown/DurationPicker.tsx:90
↓ 2 callers
Function
formatDate
(date: Date)
features/calendar/component/CalendarForm/FormFields/Dropdowns/DateDropdown/DateDropdownMenu.tsx:308
↓ 2 callers
Function
formatDateFull
(date: Date)
features/calendar/component/CalendarForm/FormFields/Drawers/DateDrawer/DurationPicker.tsx:57
↓ 2 callers
Function
formatMonthDay
(date: Date)
features/calendar/component/CalendarForm/FormFields/Dropdowns/RepeatDropdown/RepeatDropdownMenu.tsx:46
↓ 2 callers
Function
getNextWeekdayDate
(date: Date, timeZone?: string | null)
components/todo/lib/getNextRepeatDate.ts:68
↓ 2 callers
Function
getNumberOr
(n: number | null | undefined, fallback: number)
features/project/component/ProjectContainer.tsx:68
↓ 2 callers
Function
getNumberOr
(n: number | null | undefined, fallback: number)
features/todayTodos/component/TodayTodoContainer.tsx:70
↓ 2 callers
Function
getS3Client
()
lib/s3.ts:6
↓ 2 callers
Function
handleTimeChange
(type: "from" | "to", value: string)
features/calendar/component/CalendarForm/FormFields/Drawers/DateDrawer/DurationPicker.tsx:29
↓ 2 callers
Function
makeQueryClient
()
providers/QueryProvider.tsx:9
↓ 2 callers
Function
mergeInstanceAndTodo
( instance: overridingInstance, parent: recurringTodoItemType, )
lib/RRule/mergeInstanceAndTodo.ts:9
↓ 2 callers
Function
mergeWithOverrideInstances
( ghostTodos: recurringTodoItemType[], )
lib/RRule/mergeWithOverrideInstances.ts:10
↓ 2 callers
Function
onSubmit
(data: LoginFormProp)
app/[locale]/(auth)/login/Login.tsx:51
↓ 2 callers
Function
parseVeventCore
(vevent: ICAL.Component)
lib/sync/parseIcsDataToLocal.ts:46
↓ 2 callers
Function
setCaretOffset
(el: HTMLElement, offset: number)
components/todo/lib/setCaretOffset.ts:1
↓ 2 callers
Function
stretchMasterKey
({ email, passKey, }: derive256BitMasterKeyProps)
features/vault/lib/encryption/stretchMasterKey.ts:17
↓ 2 callers
Function
updateIcs
( icsData: string, properties: | { name: string; value: unknown } | { name: string; value: unknown
lib/sync/updateIcs.ts:12
↓ 2 callers
Function
useCompleteCalendarTodo
()
features/calendar/query/complete-calendar-todo.ts:5
↓ 2 callers
Function
useCompleteCalendarTodoInstance
()
features/calendar/query/complete-calendar-todo-instance.ts:5
↓ 2 callers
Function
useCompletedTodo
()
features/completed/query/get-completedTodo.ts:7
↓ 2 callers
Function
useCreateCalendarTodo
()
features/calendar/query/create-calendar-todo.ts:46
↓ 2 callers
Function
useDeleteCalendarTodo
()
features/calendar/query/delete-calendar-todo.ts:5
↓ 2 callers
Function
useDeleteTodo
()
features/todayTodos/query/delete-todo.ts:5
↓ 2 callers
Function
useEditTodo
()
features/todayTodos/query/update-todo.ts:52
↓ 2 callers
Function
useNote
()
features/notes/query/get-notes.tsx:7
↓ 2 callers
Function
usePinTodo
()
features/todayTodos/query/pin-todo.ts:6
↓ 2 callers
Function
useTodo
()
features/todayTodos/query/get-todo.ts:38
↓ 2 callers
Function
veventTitle
(core: ParsedVeventCore)
lib/sync/parseIcsDataToLocal.ts:81
↓ 2 callers
Function
walker
(node: Node)
components/todo/component/TodoForm/NLPTitleInput.tsx:113
↓ 1 callers
Function
base64Encode
(target: ArrayBuffer | Uint8Array)
features/vault/lib/encryption/base64Encode.ts:1
↓ 1 callers
Function
calendarEventPropStyles
( priority: "High" | "Medium" | "Low", projectColor: ProjectColor | undefined, )
features/calendar/lib/calendarEventPropStyles.ts:3
↓ 1 callers
Function
concatUint8Array
(...arrays: Uint8Array[])
features/vault/lib/encryption/concatUint8Array.ts:1
↓ 1 callers
Function
constructOverrideMap
(overrides: overridingInstance[])
lib/RRule/mergeWithOverrideInstances.ts:23
↓ 1 callers
Function
createBasicAuthContext
()
lib/sync/basicAuthContext.ts:3
↓ 1 callers
Function
createCalendarFromRemote
( userId: string, calendarCredential: CalendarCredential, calendar: DAVCalendar, )
lib/sync/createCalendarFromRemote.ts:18
↓ 1 callers
Function
decryptSymKey
()
features/vault/component/EncryptionForm/decryptVaultForm.tsx:20
↓ 1 callers
Function
deleteCalDavAccount
()
features/calendarCredential/query/delete-calDavAccount.ts:5
↓ 1 callers
Function
deleteNote
({ id }: { id: string })
features/notes/query/delete-note.tsx:5
↓ 1 callers
Function
deleteProject
({ id }: { id: string })
components/Sidebar/Project/query/delete-project.ts:5
↓ 1 callers
Function
deleteVault
({ id }: { id: string })
features/vault/query/delete-file.ts:4
↓ 1 callers
Function
derive256BitKey
({ stretchedPassKey, email, }: deriveStretchedMasterKeyProps)
features/vault/lib/encryption/derive256BitKey.ts:11
↓ 1 callers
Function
dismiss
()
hooks/use-toast.ts:153
↓ 1 callers
Function
downloadFile
(url: string, fileName: string)
features/vault/lib/downloadFile.ts:1
↓ 1 callers
Function
formatDate
(date: Date)
features/completed/component/GroupedContainer.tsx:19
↓ 1 callers
Function
formatDateInTZ
(tz?: string)
lib/date/formatDateinTZ.ts:3
↓ 1 callers
Function
formatDateRange
(start: Date, end: Date)
features/calendar/component/CalendarEvent.tsx:26
↓ 1 callers
Function
formatDayAbbr
(date: Date)
features/calendar/component/CalendarForm/FormFields/Dropdowns/RepeatDropdown/RepeatDropdownMenu.tsx:36
next →
1–100 of 614, ranked by callers