Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Premshaw23/Learnova
/ functions
Functions
1,455 in github.com/Premshaw23/Learnova
⨍
Functions
1,455
◇
Types & classes
71
↓ 4 callers
Function
sanitizeSavedCourseIds
(ids, courses = COURSES)
lib/courses.js:238
↓ 4 callers
Function
sendEvent
(event, data)
app/api/events/stream/route.js:34
↓ 4 callers
Function
shouldBypass
()
lib/sessionManager.js:5
↓ 4 callers
Function
startEditing
( entityType, entityId, currentTitle, parentId = null )
components/dashboard/CurriculumBuilder.jsx:183
↓ 4 callers
Function
updateOutbox
()
components/AdminDashboard.js:149
↓ 4 callers
Function
updatePendingOperation
* Updates the status of a pending operation. * @param {string} operationId * @param {string} status - "completed", "failed", "compensating" * @para
lib/transactionCoordinator.js:83
↓ 4 callers
Function
useFirestoreContext
()
contexts/FirestoreContext.js:213
↓ 3 callers
Function
GET
(request)
app/api/auth/csrf/route.js:7
↓ 3 callers
Function
GET
(request)
app/api/courses/route.js:12
↓ 3 callers
Function
calculateBadgeProgress
(attendanceRecords = [])
lib/badgeEngine.js:68
↓ 3 callers
Function
callGroq
( trimmedMessage, messages = [], userId = "anonymous", context = {} )
lib/ai/groq.js:148
↓ 3 callers
Method
checkForConflicts
* Detect conflicting or suspicious offline changes
utils/offlineSyncValidator.js:134
↓ 3 callers
Function
cleanup
()
app/api/events/stream/route.js:43
↓ 3 callers
Function
cleanupSoundscape
()
app/productivity/page.js:702
↓ 3 callers
Function
clearTimers
()
hooks/useIdleTimeout.js:19
↓ 3 callers
Function
countAchievements
(filter = {})
lib/models/achievementModel.js:127
↓ 3 callers
Function
createMockRequest
(headers, bodyData)
components/__tests__/gamificationAwardRoute.test.js:34
↓ 3 callers
Function
createMockRequest
(body)
app/api/auth/set-role/__tests__/route.test.js:112
↓ 3 callers
Function
createRequest
()
app/api/upload/avatar/route.test.js:42
↓ 3 callers
Method
db
(name)
lib/__tests__/mongodb.test.js:37
↓ 3 callers
Function
ensureAchievementIndexes
(db)
lib/models/achievementModel.js:7
↓ 3 callers
Function
euclideanDistance
(point1, point2)
utils/livenessUtils.js:12
↓ 3 callers
Function
exportToPDF
(data, columns, title, filename)
utils/exportUtils.js:95
↓ 3 callers
Function
extractImageFileFromFormData
(formData)
lib/images/imagesService.js:181
↓ 3 callers
Function
fetchGamification
()
components/StudentDashboard.js:382
↓ 3 callers
Function
fetchLinks
()
components/AdminDashboard.js:281
↓ 3 callers
Function
filterCourses
({ courses = COURSES, q = "", category = "all", } = {})
lib/courses.js:209
↓ 3 callers
Function
formatDateToICS
(date)
components/TeacherDashboardComponent.js:1484
↓ 3 callers
Function
generateCertificatePDF
({ studentName = "Learnova Student", courseTitle = "Advanced Course", completionDate = new Date().toLoca
utils/pdf/generateCertificatePDF.js:15
↓ 3 callers
Function
getAchievementById
(achievementId)
lib/models/achievementModel.js:89
↓ 3 callers
Function
getAdminDb
()
lib/firebase-admin.js:184
↓ 3 callers
Function
getCachedClientPromise
()
lib/mongodb.js:119
↓ 3 callers
Function
getDashboardLink
(role)
lib/navigation.js:124
↓ 3 callers
Function
getEncryptionKey
()
lib/progress-encryption.js:20
↓ 3 callers
Function
getEngagementCategory
(score)
lib/engagementScore.js:68
↓ 3 callers
Function
getEnvValidationResult
(env = process.env)
lib/env.js:75
↓ 3 callers
Function
getJob
(jobId)
lib/queue.js:68
↓ 3 callers
Function
getPdfJs
()
app/StudyAI/DocumentLoader.js:15
↓ 3 callers
Function
getQuizDataByTitle
(title)
constants/quizData.js:196
↓ 3 callers
Function
getRouteIcon
(pathname)
lib/navigation.js:166
↓ 3 callers
Function
getTokenExpiryMinutes
* Maintenance Security Configuration * All values must come from environment variables
utils/maintenanceSecure.js:23
↓ 3 callers
Function
getWebhookById
(webhookId)
lib/models/webhookModel.js:40
↓ 3 callers
Function
handleCancelPreview
()
components/universal-profile.js:384
↓ 3 callers
Function
handleDragOver
( e, targetType, targetIndex, targetModuleId, targetLessonId = null )
components/dashboard/CurriculumBuilder.jsx:349
↓ 3 callers
Function
handleDrop
( e, targetType, targetIndex, targetModuleId, targetLessonId = null )
components/dashboard/CurriculumBuilder.jsx:376
↓ 3 callers
Function
handleSeek
(seconds)
app/courses/[id]/page.jsx:308
↓ 3 callers
Function
handleSelect
(format)
components/ui/ExportDropdown.jsx:49
↓ 3 callers
Function
handler
()
tests/integration/attendance-warnings.test.js:3
↓ 3 callers
Function
isObject
(item)
lib/conflictResolver.js:12
↓ 3 callers
Function
isRouteActive
(pathname, href)
lib/navigation.js:89
↓ 3 callers
Function
listAchievements
(filter = {}, { limit = 100, skip = 0 } = {})
lib/models/achievementModel.js:112
↓ 3 callers
Function
makeFirestoreDb
({ docExists = false } = {})
tests/api/attendance.test.js:108
↓ 3 callers
Function
markIdempotent
(idempotencyKey, result)
lib/transactionCoordinator.js:364
↓ 3 callers
Function
normalizeCategoryId
(value = "")
lib/courses.js:203
↓ 3 callers
Function
normalizeMimeType
(contentType = "")
lib/images/imagesService.js:32
↓ 3 callers
Function
notifyStudentAchievement
( studentId, message, { notifyParents = false } = {} )
lib/services/achievementNotifications.js:15
↓ 3 callers
Function
pad
(n)
app/api/attendance/heatmap/route.js:89
↓ 3 callers
Function
parseInteger
(value)
lib/wellnessStorage.js:11
↓ 3 callers
Function
poll
()
hooks/useRealtime.js:24
↓ 3 callers
Function
processOfflineQueueWithRetry
( queue, apiSyncFunction, options = {} )
worker/syncWorker.js:7
↓ 3 callers
Function
processSyncQueue
(fetchFn = fetch)
services/syncQueue.js:9
↓ 3 callers
Function
recordAttendance
({ userId, studentName, email, confidenceScore, })
services/attendanceService.js:73
↓ 3 callers
Method
recordAttendance
(data, decodedToken)
lib/services/attendanceService.js:10
↓ 3 callers
Function
renderCourseLibrary
(props = {})
components/__tests__/CourseLibrary.test.jsx:43
↓ 3 callers
Function
renderSection
(title, items)
components/navigation/Sidebar.jsx:55
↓ 3 callers
Function
requireParent
(request, options = {})
lib/rbac.js:118
↓ 3 callers
Function
resetFeedbackState
()
components/ui/CopyInviteButton.jsx:29
↓ 3 callers
Function
safeLocalStorageRemove
(key)
lib/storage.js:62
↓ 3 callers
Function
sanitizeMessage
(message)
utils/promptGuard.js:141
↓ 3 callers
Function
serializeAchievement
(doc)
lib/models/achievementModel.js:24
↓ 3 callers
Function
stopPoolMonitor
()
lib/mongodb.js:73
↓ 3 callers
Function
syncAttendanceQueue
()
lib/syncService.js:119
↓ 3 callers
Function
testSpecificBadge
(badgeType)
lib/badgeEngine.test.js:130
↓ 3 callers
Function
triggerToast
(msg)
app/streaks/page.js:61
↓ 3 callers
Function
unwrapApiPayload
(payload)
hooks/useAttendance.js:19
↓ 3 callers
Function
updateActionStatus
(id, status, retryCount = 0)
db/offlineStore.js:38
↓ 3 callers
Function
useCurriculum
({ role, user } = {})
hooks/useCurriculum.js:8
↓ 3 callers
Function
usePooledCollection
* Internal hook — subscribes to one pool key and returns cached state. * Delivers the current cached value synchronously to avoid loading flash.
contexts/FirestoreContext.js:43
↓ 3 callers
Function
useUnsavedChangesWarning
(isDirty)
hooks/useUnsavedChangesWarning.js:5
↓ 3 callers
Function
validateAuthField
(field, value, context = {})
utils/authFormValidation.js:20
↓ 3 callers
Function
validateImageRequestId
(id)
lib/images/imagesService.js:44
↓ 2 callers
Function
POST
(req)
app/api/admin/data-retention/route.js:41
↓ 2 callers
Function
addEvent
(dateStr, event)
app/calendar/page.js:52
↓ 2 callers
Function
assertAllowedImageType
(contentType, message)
lib/images/imagesService.js:36
↓ 2 callers
Function
assertParentAccess
(parentId, studentId)
lib/services/achievementAccess.js:13
↓ 2 callers
Function
buildGroqRequest
(trimmedMessage, messages = [], context = {})
lib/ai/groq.js:101
↓ 2 callers
Function
buildNoticeFileName
(notice, extension = "txt")
components/NoticeCard.jsx:25
↓ 2 callers
Function
calculateAttendancePercentage
(attendanceRecords = [])
lib/badgeEngine.js:191
↓ 2 callers
Function
calculateDistance
(lat1, lon1, lat2, lon2)
components/AttendanceValidation.js:280
↓ 2 callers
Function
calculateEarlyBirdCount
(attendanceRecords = [])
lib/badgeEngine.js:163
↓ 2 callers
Function
calculateEngagementScore
( scorePayload = {}, weightsPayload = DEFAULT_ENGAGEMENT_WEIGHTS )
lib/engagementScore.js:42
↓ 2 callers
Function
checkMagicBytes
(buffer, expectedSignatures)
lib/services/uploadService.js:22
↓ 2 callers
Function
checkRateLimitFallback
* Fallback sliding-window rate limiter using local server memory. * Ensures the API stays online even if Redis completely crashes.
lib/rateLimit.js:29
↓ 2 callers
Function
clamp
(value, min, max)
lib/wellnessStorage.js:19
↓ 2 callers
Function
cleanupExpiredTokens
()
utils/maintenanceSecure.js:237
↓ 2 callers
Function
clear
()
hooks/useTimer.js:25
↓ 2 callers
Function
clearRecentlyVisitedPages
()
utils/recentlyVisitedPages.js:73
↓ 2 callers
Function
createAchievement
(data)
lib/models/achievementModel.js:62
↓ 2 callers
Function
createMockRequest
(headers = {}, cookies = {})
app/api/attendance/record/__tests__/webhook-gating.test.js:104
↓ 2 callers
Function
createMockRequest
(headers, body)
app/api/flashcards/__tests__/route.test.js:20
← previous
next →
201–300 of 1,455, ranked by callers