Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TarunTomar122/Lumi
/ functions
Functions
218 in github.com/TarunTomar122/Lumi
⨍
Functions
218
◇
Types & classes
56
↓ 896 callers
Function
getResponsiveSize
(size: number)
utils/responsive.ts:6
↓ 59 callers
Function
getResponsiveHeight
(size: number)
utils/responsive.ts:20
↓ 26 callers
Function
useTheme
()
hooks/useTheme.ts:4
↓ 24 callers
Function
createThemedStyles
( styleCreator: (colors: ThemeColors) => T )
hooks/useTheme.ts:8
↓ 22 callers
Method
waitForInit
()
utils/database.ts:77
↓ 9 callers
Method
updateHabit
(id: number, updates: Partial<Omit<Habit, 'id'>>)
utils/database.ts:527
↓ 8 callers
Function
scheduleNotification
( title: string, body: string | null, scheduledTime: DateTime )
utils/tools.ts:876
↓ 7 callers
Function
formatDate
(dateString: string)
utils/commons.ts:1
↓ 6 callers
Method
getAllTasks
()
utils/database.ts:227
↓ 4 callers
Method
cancelExistingReminder
* Cancel any existing reflection reminders
utils/reflectionReminder.ts:133
↓ 4 callers
Function
checkNotificationPermission
()
utils/tools.ts:955
↓ 4 callers
Method
getAllReflections
()
utils/database.ts:573
↓ 4 callers
Method
init
()
utils/database.ts:86
↓ 3 callers
Method
addMemory
(memory: Omit<Memory, 'id' | 'created_at'>)
utils/database.ts:363
↓ 3 callers
Method
checkAndScheduleReminder
* Main function to check and schedule reflection reminder * This is the entry point for the service
utils/reflectionReminder.ts:20
↓ 3 callers
Function
checkUsagePermission
(autoPrompt: boolean = false)
utils/usageStats.ts:19
↓ 3 callers
Method
getAllHabits
()
utils/database.ts:438
↓ 3 callers
Method
getAllMemories
()
utils/database.ts:340
↓ 3 callers
Method
getAllRecurringReminders
()
utils/database.ts:648
↓ 3 callers
Function
getThemeColors
(effectiveTheme: 'light' | 'dark')
app/store/themeStore.ts:87
↓ 3 callers
Method
onReflectionAdded
* Call this when user writes a reflection to cancel pending reminders
utils/reflectionReminder.ts:187
↓ 3 callers
Method
updateRecurringReminder
(id: number, updates: Partial<Omit<RecurringReminder, 'id'>>)
utils/database.ts:701
↓ 3 callers
Method
updateReflection
(id: number, updates: Partial<Omit<Reflection, 'id'>>)
utils/database.ts:615
↓ 2 callers
Method
addHabit
(habit: Omit<Habit, 'id' | 'created_at'>)
utils/database.ts:486
↓ 2 callers
Method
addRecurringReminder
(reminder: Omit<RecurringReminder, 'id' | 'created_at' | 'active'> & { active?: boolean })
utils/database.ts:667
↓ 2 callers
Method
addReflection
(reflection: Omit<Reflection, 'id' | 'created_at'>)
utils/database.ts:592
↓ 2 callers
Method
addTask
(task: Omit<Task, 'id' | 'created_at'>)
utils/database.ts:246
↓ 2 callers
Method
deleteHabit
(id: number)
utils/database.ts:560
↓ 2 callers
Method
deleteMemory
(id: number)
utils/database.ts:425
↓ 2 callers
Method
deleteRecurringReminder
(id: number)
utils/database.ts:724
↓ 2 callers
Method
deleteReflection
(id: number)
utils/database.ts:635
↓ 2 callers
Method
deleteTask
(id: number)
utils/database.ts:305
↓ 2 callers
Function
getAppUsageStats
( startTime: number, endTime: number )
utils/usageStats.ts:30
↓ 2 callers
Method
getArchivedHabits
()
utils/database.ts:462
↓ 2 callers
Function
getBlendedRgba
(colorsHex: string[], alpha: number)
app/components/HabitHeatmap.tsx:138
↓ 2 callers
Function
getEffectiveTheme
(mode: ThemeMode)
app/store/themeStore.ts:80
↓ 2 callers
Function
getHeatmapRows
()
app/components/HabitHeatmap.tsx:108
↓ 2 callers
Function
getIntensityColor
(day: DayData)
app/components/HabitHeatmap.tsx:119
↓ 2 callers
Method
getTaskHistory
(days: number = 30)
utils/database.ts:317
↓ 2 callers
Function
handleSubmit
()
app/notes.tsx:85
↓ 2 callers
Function
requestNotificationPermissionIfNeeded
()
utils/tools.ts:966
↓ 2 callers
Function
sendInstantNotification
(title: string, body: string)
utils/tools.ts:927
↓ 2 callers
Method
updateMemory
(id: number, updates: Partial<Omit<Memory, 'id'>>)
utils/database.ts:395
↓ 2 callers
Method
updateTask
(id: number, updates: Partial<Omit<Task, 'id'>>)
utils/database.ts:276
↓ 2 callers
Function
useVoiceRecognition
()
hooks/useVoiceRecognition.tsx:21
↓ 1 callers
Function
analyzeMood
(text: string, prompt?: string)
app/reflection-wall.tsx:194
↓ 1 callers
Function
captureCalendar
()
app/habit/[id].tsx:371
↓ 1 callers
Function
captureHeatmap
()
app/components/HabitHeatmap.tsx:415
↓ 1 callers
Function
changeColor
(c: string)
app/habit/[id].tsx:334
↓ 1 callers
Function
checkForAppUpdate
()
utils/versionChecker.ts:16
↓ 1 callers
Function
checkReflectionToday
()
app/index.tsx:36
↓ 1 callers
Method
checkTodaysReflection
* Check if user has written a reflection for today
utils/reflectionReminder.ts:86
↓ 1 callers
Function
checkUsagePermissionStatus
()
app/index.tsx:62
↓ 1 callers
Function
computeStats
(entries: EnhancedReflection[])
app/reflection-wall.tsx:300
↓ 1 callers
Function
computeWritingStreak
(entries: EnhancedReflection[])
app/reflection-wall.tsx:278
↓ 1 callers
Method
createTables
()
utils/database.ts:115
↓ 1 callers
Function
demoSequence
()
app/tasks.tsx:109
↓ 1 callers
Function
dismissUpdate
(version: string)
utils/versionChecker.ts:79
↓ 1 callers
Function
enhanceReflection
(reflection: Reflection)
app/reflection-wall.tsx:246
↓ 1 callers
Function
formatAppName
(name: string)
app/components/UsageChart.tsx:18
↓ 1 callers
Function
formatDate
(dateStr: string)
app/reflections.tsx:68
↓ 1 callers
Function
formatDate
(dateString: string)
app/components/RecentTimeline.tsx:45
↓ 1 callers
Function
formatTime
(dateString: string)
app/components/RecentTimeline.tsx:56
↓ 1 callers
Function
getCellSize
(period: TimePeriod)
app/components/HabitHeatmap.tsx:38
↓ 1 callers
Function
getCurrentWeekDates
()
app/store/habitStore.ts:43
↓ 1 callers
Method
getInstance
()
utils/database.ts:70
↓ 1 callers
Function
getLastDayUsageStats
()
utils/usageStats.ts:45
↓ 1 callers
Function
getLongestStreakInMonth
()
app/habit/[id].tsx:251
↓ 1 callers
Function
getMonthDates
(year: number, month: number)
app/store/habitStore.ts:52
↓ 1 callers
Function
getNewPrompt
()
app/components/ReflectionPrompt.tsx:79
↓ 1 callers
Function
getPeriodLabel
()
app/components/HabitHeatmap.tsx:448
↓ 1 callers
Function
getSubtitle
(title: string)
app/components/HomeCard.tsx:13
↓ 1 callers
Function
getSystemTheme
()
app/store/themeStore.ts:75
↓ 1 callers
Function
getTaskIcon
(task: Task)
app/components/RecentTimeline.tsx:61
↓ 1 callers
Function
getTotals
()
app/habit/[id].tsx:275
↓ 1 callers
Function
getViewModeLabel
()
app/components/HabitHeatmap.tsx:456
↓ 1 callers
Function
groupByMonth
(entries: EnhancedReflection[])
app/reflection-wall.tsx:262
↓ 1 callers
Function
handleDayPress
(habit: Habit, date: string)
app/habits.tsx:144
↓ 1 callers
Function
handleDelete
(id: string | number, type: 'memory' | 'task')
app/components/InfoContainer.tsx:57
↓ 1 callers
Function
handleSaveEdit
()
app/habits.tsx:176
↓ 1 callers
Function
handleSkipTour
()
app/components/OnboardingScreens.tsx:37
↓ 1 callers
Function
handleTaskToggle
(id: number, currentStatus: 'todo' | 'done' = 'todo')
app/components/InfoContainer.tsx:39
↓ 1 callers
Function
handleUnarchiveHabit
(habitId: number)
app/habits.tsx:217
↓ 1 callers
Method
hasScheduledReminderForTime
* Check if there's already a reminder scheduled for the target time
utils/reflectionReminder.ts:154
↓ 1 callers
Function
incrementDemoCount
()
app/tasks.tsx:583
↓ 1 callers
Function
initializeApp
()
app/_layout.tsx:103
↓ 1 callers
Function
initializeApp
()
app/index.tsx:70
↓ 1 callers
Function
loadDemoCount
()
app/tasks.tsx:574
↓ 1 callers
Function
moveHabitDown
(index: number)
app/habits.tsx:251
↓ 1 callers
Function
moveHabitUp
(index: number)
app/habits.tsx:244
↓ 1 callers
Function
openBookShelf
(summary: MonthSummary)
app/reflection-wall.tsx:718
↓ 1 callers
Function
parseContent
(content: string)
app/reflection-wall.tsx:177
↓ 1 callers
Function
parseContent
(content: string)
app/reflections.tsx:73
↓ 1 callers
Function
parseContent
(content: string)
app/reflection/[id].tsx:36
↓ 1 callers
Function
parseRecurringInput
(userInput: string)
utils/taskParser.ts:92
↓ 1 callers
Function
parseTaskInput
(userInput: string)
utils/taskParser.ts:15
↓ 1 callers
Function
refreshUsageDataWithRetry
()
app/index.tsx:140
↓ 1 callers
Function
renderFeatureScreen
( title: string, description: string, backgroundColor: string, illustration: React.ReactNode,
app/components/OnboardingScreens.tsx:115
↓ 1 callers
Function
renderUsernameScreen
()
app/components/OnboardingScreens.tsx:50
↓ 1 callers
Method
runInBackground
* Runs the actual reminder logic in background
utils/reflectionReminder.ts:33
next →
1–100 of 218, ranked by callers