MCPcopy Create free account

hub / github.com/FidelusAleksander/ghcertified / functions

Functions213 in github.com/FidelusAleksander/ghcertified

↓ 103 callersFunctioncn
(...inputs: ClassValue[])
app/src/lib/utils.ts:4
↓ 33 callersFunctionrenderInlineMarkdown
(text: string, options?: { skipLinks?: boolean })
app/src/lib/render-inline-markdown.tsx:7
↓ 19 callersFunctionuseTimeTrialMode
(allQuestions: Question[])
app/src/hooks/useTimeTrialMode.ts:45
↓ 14 callersFunctiongetCorrectId
(hook: ReturnType<typeof useTimeTrialMode>)
app/src/hooks/__tests__/useTimeTrialMode.test.ts:45
↓ 12 callersFunctionanswerIds
Get correct/wrong answer IDs for current question.
app/src/hooks/__tests__/useGauntletMode.test.ts:46
↓ 12 callersFunctionparseSupportedLocale
(value: string)
app/src/lib/locales.ts:34
↓ 12 callersFunctionshuffle
(array: T[])
app/src/lib/utils.ts:12
↓ 11 callersFunctionsetup
Helper: render hook and wait for mount effect (loading → playing).
app/src/hooks/__tests__/useGauntletMode.test.ts:38
↓ 8 callersFunctionbuildAlternates
( locale: string, path: string, )
app/src/lib/seo.ts:18
↓ 8 callersFunctionhasSupabaseConfig
()
app/src/lib/supabase.ts:15
↓ 7 callersFunctiongetWrongId
(hook: ReturnType<typeof useTimeTrialMode>)
app/src/hooks/__tests__/useTimeTrialMode.test.ts:49
↓ 7 callersFunctionuseGauntletMode
(allQuestions: Question[], options: GauntletModeOptions = {})
app/src/hooks/useGauntletMode.ts:41
↓ 6 callersFunctiongetSupabase
()
app/src/lib/supabase.ts:22
↓ 5 callersFunctiongetCertCatalog
( locale: SupportedLocale = DEFAULT_LOCALE, )
app/src/lib/questions.ts:120
↓ 5 callersFunctiongetQuestionState
(q: Question)
app/src/components/quiz/Quiz.tsx:139
↓ 5 callersFunctionisValidLocale
(v: string)
app/src/lib/locales.ts:10
↓ 5 callersFunctionmakeQuestion
(id: string, correctId: string, wrongId: string)
app/src/hooks/__tests__/useGauntletMode.test.ts:7
↓ 5 callersFunctionmakeQuestion
(id: string, correctId: string, wrongId: string)
app/src/hooks/__tests__/useTimeTrialMode.test.ts:14
↓ 5 callersFunctionuseAuth
()
app/src/components/AuthProvider.tsx:105
↓ 4 callersFunctiongetQuestionsByCert
( cert: CertificationType, locale: SupportedLocale = DEFAULT_LOCALE, )
app/src/lib/questions.ts:113
↓ 4 callersFunctionlocalePath
(locale: string, path: string)
app/src/lib/locales.ts:40
↓ 4 callersFunctionmakeMultiQuestion
(id: string, correctCount: number, wrongCount: number)
app/src/hooks/__tests__/useGauntletMode.test.ts:301
↓ 3 callersFunctionbuildReportHref
(q: Question)
app/src/components/challenges/GauntletMode.tsx:58
↓ 3 callersFunctionbuildReportHref
(q: Question)
app/src/components/challenges/TimeTrialMode.tsx:59
↓ 3 callersFunctiongetLeaderboard
( challengeType: ChallengeType, limit = 5, )
app/src/lib/leaderboard.ts:22
↓ 3 callersFunctiongetMinimumCorrectToSave
(gameType: ChallengeType)
app/src/lib/challenge-result-save-policy.ts:8
↓ 3 callersFunctionisQuestionCorrect
(q: Question)
app/src/components/quiz/Quiz.tsx:154
↓ 3 callersFunctionloadAll
(locale: SupportedLocale)
app/src/lib/questions.ts:77
↓ 3 callersFunctionmakeMultiSelectQuestion
(id: string)
app/src/hooks/__tests__/useTimeTrialMode.test.ts:25
↓ 3 callersFunctionrenderTextWithLineBreaks
(text: string, key: string)
app/src/lib/render-inline-markdown.tsx:51
↓ 3 callersFunctionsaveChallengeResult
( gameType: ChallengeType, result: ChallengeResult, )
app/src/lib/save-result.ts:29
↓ 3 callersFunctionsidebar
(frozen?: boolean)
app/src/components/challenges/GauntletMode.tsx:66
↓ 3 callersFunctionsidebar
(frozen?: boolean)
app/src/components/challenges/TimeTrialMode.tsx:67
↓ 2 callersFunctionformatAchievedAt
Format achieved_at as a short date (e.g. "Jan 5, 2026").
app/src/components/challenges/FullLeaderboard.tsx:36
↓ 2 callersFunctionformatTimeDelta
Format seconds as "Xm Ys" when ≥ 60, otherwise "Xs".
app/src/components/challenges/TimeTrialMode.tsx:348
↓ 2 callersFunctiongetAllQuestions
( locale: SupportedLocale = DEFAULT_LOCALE, )
app/src/lib/questions.ts:107
↓ 2 callersFunctiongetAnswerGroup
()
app/e2e/quiz-flow.spec.ts:48
↓ 2 callersFunctionisLinkActive
Check if a nav link is active based on current pathname.
app/src/components/Navbar.tsx:31
↓ 2 callersFunctionisResultEligibleToSave
( gameType: ChallengeType, result: ChallengeResult, )
app/src/lib/challenge-result-save-policy.ts:12
↓ 2 callersFunctionloadQuestions
(locale: string, cert: string)
app/src/lib/__tests__/cross-locale.test.ts:42
↓ 2 callersFunctionselectAnswers
Select enough answers to enable the Confirm button.
app/e2e/challenge-flow.spec.ts:4
↓ 2 callersFunctiontoLoadableLeaderboard
( result: PromiseSettledResult<LeaderboardEntry[]>, )
app/src/app/[locale]/challenges/challenges-catalog.tsx:34
↓ 2 callersFunctionuseCountUp
(target: number, duration = 800)
app/src/hooks/useCountUp.ts:9
↓ 1 callersFunctionconsumePendingResult
()
app/src/components/challenges/SaveResultButton.tsx:43
↓ 1 callersFunctioncontentDir
(locale: SupportedLocale)
app/src/lib/questions.ts:69
↓ 1 callersFunctiondefaultCount
(total: number)
app/src/app/[locale]/practice-tests/catalog-cards.tsx:25
↓ 1 callersFunctiondismiss
()
app/src/components/AnnouncementBanner.tsx:31
↓ 1 callersFunctionformatNumber
(num: number)
app/src/components/GitHubStarButton.tsx:12
↓ 1 callersFunctiongetCertInfo
( cert: CertificationType, locale: SupportedLocale = DEFAULT_LOCALE, )
app/src/lib/questions.ts:131
↓ 1 callersFunctiongetContributors
()
app/src/lib/contributors.ts:18
↓ 1 callersFunctiongetLeaderboardPageByOffset
( challengeType: ChallengeType, startRank: number, pageSize: number, )
app/src/lib/leaderboard.ts:68
↓ 1 callersFunctiongetTier
(streak: number)
app/src/components/challenges/GauntletResults.tsx:22
↓ 1 callersFunctiongetTier
(correct: number)
app/src/components/challenges/TimeTrialResults.tsx:22
↓ 1 callersFunctionhandleSelect
(newLocale: SupportedLocale)
app/src/components/LanguagePicker.tsx:40
↓ 1 callersFunctionisCurrentCorrect
()
app/src/app/[locale]/questions/[cert]/question-browser.tsx:124
↓ 1 callersFunctionrenderLinksAndText
(text: string, keyPrefix: string)
app/src/lib/render-inline-markdown.tsx:70
↓ 1 callersFunctionstorePendingResult
(gameType: ChallengeType, result: ChallengeResult)
app/src/components/challenges/SaveResultButton.tsx:31
↓ 1 callersFunctionstripLocale
Strip locale prefix from a path.
app/src/components/LanguagePicker.tsx:23
↓ 1 callersFunctionuseGitHubStars
()
app/src/components/GitHubStarButton.tsx:30
FunctionAlert
({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>)
app/src/components/ui/alert.tsx:22
FunctionAlertAction
({ className, ...props }: React.ComponentProps<"div">)
app/src/components/ui/alert.tsx:66
FunctionAlertDescription
({ className, ...props }: React.ComponentProps<"div">)
app/src/components/ui/alert.tsx:50
FunctionAlertTitle
({ className, ...props }: React.ComponentProps<"div">)
app/src/components/ui/alert.tsx:37
FunctionAnnouncementBanner
()
app/src/components/AnnouncementBanner.tsx:23
FunctionAnswerExplanation
({ text }: AnswerExplanationProps)
app/src/components/quiz/AnswerExplanation.tsx:9
FunctionAnswerList
({ question, selectedIds, showResults, isDisabled, showSelectionHint = true, dimUnselected = false
app/src/components/quiz/AnswerList.tsx:25
FunctionAnswerOption
({ answer, isMultiSelect, isSelected, showResults, isDisabled, dimUnselected = false, onSelect,
app/src/components/quiz/AnswerOption.tsx:21
FunctionAuthProvider
({ children }: { children: ReactNode })
app/src/components/AuthProvider.tsx:35
FunctionBadge
({ className, variant = "default", render, ...props }: useRender.ComponentProps<"span"> & VariantProps
app/src/components/ui/badge.tsx:30
FunctionBreadcrumb
({ className, ...props }: React.ComponentProps<"nav">)
app/src/components/ui/breadcrumb.tsx:8
FunctionBreadcrumbEllipsis
({ className, ...props }: React.ComponentProps<"span">)
app/src/components/ui/breadcrumb.tsx:95
FunctionBreadcrumbItem
({ className, ...props }: React.ComponentProps<"li">)
app/src/components/ui/breadcrumb.tsx:32
FunctionBreadcrumbLink
({ className, render, ...props }: useRender.ComponentProps<"a">)
app/src/components/ui/breadcrumb.tsx:42
FunctionBreadcrumbList
({ className, ...props }: React.ComponentProps<"ol">)
app/src/components/ui/breadcrumb.tsx:19
FunctionBreadcrumbPage
({ className, ...props }: React.ComponentProps<"span">)
app/src/components/ui/breadcrumb.tsx:62
FunctionBreadcrumbSeparator
({ children, className, ...props }: React.ComponentProps<"li">)
app/src/components/ui/breadcrumb.tsx:75
FunctionButton
({ className, variant = "default", size = "default", ...props }: ButtonPrimitive.Props & VariantProps<
app/src/components/ui/button.tsx:43
FunctionCard
({ className, size = "default", ...props }: React.ComponentProps<"div"> & { size?: "default" | "sm" })
app/src/components/ui/card.tsx:5
FunctionCardAction
({ className, ...props }: React.ComponentProps<"div">)
app/src/components/ui/card.tsx:59
FunctionCardContent
({ className, ...props }: React.ComponentProps<"div">)
app/src/components/ui/card.tsx:72
FunctionCardDescription
({ className, ...props }: React.ComponentProps<"div">)
app/src/components/ui/card.tsx:49
FunctionCardFooter
({ className, ...props }: React.ComponentProps<"div">)
app/src/components/ui/card.tsx:82
FunctionCardHeader
({ className, ...props }: React.ComponentProps<"div">)
app/src/components/ui/card.tsx:23
FunctionCardTitle
({ className, ...props }: React.ComponentProps<"div">)
app/src/components/ui/card.tsx:36
FunctionCatalogCards
({ certs, locale }: Props)
app/src/app/[locale]/practice-tests/catalog-cards.tsx:22
FunctionCertQuestionsPage
({ params }: Props)
app/src/app/[locale]/questions/[cert]/page.tsx:47
FunctionChallengeCard
({ icon, iconBg, title, subtitle, description, badges, rules, leaderboard, leaderboardStatus
app/src/components/challenges/ChallengeCard.tsx:54
FunctionChallengeResults
({ result, onRestart, saveAction, icon: Icon, iconBg, iconColor, tier, heroValue, heroLabel,
app/src/components/challenges/ChallengeResults.tsx:57
FunctionChallengeSidebar
({ title, icon, livesSlot, timerSlot, timerExtra, scoreLabel, scoreValue, progressSlot, coun
app/src/components/challenges/ChallengeSidebar.tsx:136
FunctionChallengesCatalog
({ locale }: Props)
app/src/app/[locale]/challenges/challenges-catalog.tsx:46
FunctionDialog
({ ...props }: DialogPrimitive.Root.Props)
app/src/components/ui/dialog.tsx:10
FunctionDialogClose
({ ...props }: DialogPrimitive.Close.Props)
app/src/components/ui/dialog.tsx:22
FunctionDialogContent
({ className, children, showCloseButton = true, ...props }: DialogPrimitive.Popup.Props & { showClos
app/src/components/ui/dialog.tsx:42
FunctionDialogDescription
({ className, ...props }: DialogPrimitive.Description.Props)
app/src/components/ui/dialog.tsx:133
FunctionDialogFooter
({ className, showCloseButton = false, children, ...props }: React.ComponentProps<"div"> & { showClo
app/src/components/ui/dialog.tsx:93
FunctionDialogHeader
({ className, ...props }: React.ComponentProps<"div">)
app/src/components/ui/dialog.tsx:83
FunctionDialogOverlay
({ className, ...props }: DialogPrimitive.Backdrop.Props)
app/src/components/ui/dialog.tsx:26
FunctionDialogPortal
({ ...props }: DialogPrimitive.Portal.Props)
app/src/components/ui/dialog.tsx:18
FunctionDialogTitle
({ className, ...props }: DialogPrimitive.Title.Props)
app/src/components/ui/dialog.tsx:120
FunctionDialogTrigger
({ ...props }: DialogPrimitive.Trigger.Props)
app/src/components/ui/dialog.tsx:14
next →1–100 of 213, ranked by callers