MCPcopy Create free account

hub / github.com/abhivaikar/howtheytest / functions

Functions96 in github.com/abhivaikar/howtheytest

↓ 20 callersFunctionhandler
(event)
netlify/functions/submit-resource.mjs:163
↓ 14 callersFunctionisValidGithubUsername
(username)
netlify/functions/__tests__/helpers.test.mjs:20
↓ 13 callersFunctioncreateSlug
(name)
netlify/functions/__tests__/helpers.test.mjs:2
↓ 13 callersFunctionisValidUrl
(string)
netlify/functions/__tests__/helpers.test.mjs:10
↓ 7 callersFunctionformatOption
(option: string)
__tests__/components/Combobox.test.tsx:409
↓ 7 callersFunctiongetDatabase
()
lib/database.ts:4
↓ 4 callersFunctioncreateCompanyData
(existingData, formData)
netlify/functions/__tests__/helpers.test.mjs:27
↓ 4 callersFunctionhandleFilterChange
(key: keyof FilterState, value: string)
components/FilterBar.tsx:35
↓ 3 callersFunctioncheckNewValue
(value: string, existingValues: string[])
app/contribute/page.tsx:111
↓ 2 callersFunctioncreateSlug
(name)
netlify/functions/submit-resource.mjs:53
↓ 2 callersFunctiongetCompanyById
(id: string)
lib/database.ts:13
↓ 2 callersFunctionhandleSelect
(option: string)
components/Combobox.tsx:67
↓ 2 callersFunctionhandleSelect
(option: string)
components/MultiSelectCombobox.tsx:48
↓ 2 callersFunctionscroll
(direction: 'left' | 'right')
components/WhatsNew.tsx:67
↓ 2 callersFunctionslugify
* Convert text to slug format
scripts/migrate_data.js:14
↓ 1 callersFunctionanalyzeTopics
()
scripts/analyze_topics.js:9
↓ 1 callersFunctionbuildDatabase
()
scripts/build_database.js:10
↓ 1 callersFunctioncheckDuplicate
(octokit, resourceUrl, companySlug)
netlify/functions/submit-resource.mjs:91
↓ 1 callersFunctioncheckDuplicateResource
(url: string)
app/contribute/page.tsx:105
↓ 1 callersFunctioncheckScrollability
()
components/WhatsNew.tsx:51
↓ 1 callersFunctionclassifyCompanies
()
scripts/classify_industries.js:171
↓ 1 callersFunctioncreateCompanyData
(existingData, formData)
netlify/functions/submit-resource.mjs:121
↓ 1 callersFunctiondetectErrorPage
(pageContent, title, httpStatus)
scripts/validate-resources.mjs:94
↓ 1 callersFunctiondetectLoginWall
(page, pageContent)
scripts/validate-resources.mjs:78
↓ 1 callersFunctionextractCompanies
* Extract all companies from README.md
scripts/migrate_data.js:139
↓ 1 callersFunctionextractKeywords
(resource)
scripts/validate-resources.mjs:142
↓ 1 callersFunctionextractResources
* Extract resources from company content
scripts/migrate_data.js:91
↓ 1 callersFunctionextractResources
(companies)
scripts/validate-resources.mjs:60
↓ 1 callersFunctionextractTopicsFromText
* Extract topics from text using keyword matching
scripts/migrate_data.js:44
↓ 1 callersFunctiongenerateReport
(results, outputDir)
scripts/validate-resources.mjs:349
↓ 1 callersFunctiongenerateResourceId
(title, url)
netlify/functions/submit-resource.mjs:61
↓ 1 callersFunctiongenerateResourceId
* Generate a unique ID for a resource based on title and URL
scripts/migrate_data.js:25
↓ 1 callersFunctiongetCompanies
()
lib/database.ts:8
↓ 1 callersFunctiongetDaysAgo
(dateString?: string)
components/WhatsNew.tsx:79
↓ 1 callersFunctiongetTypeBadgeColor
(type: string)
components/WhatsNew.tsx:95
↓ 1 callersFunctionhandleAddNew
()
components/Combobox.tsx:96
↓ 1 callersFunctionhandleAddNew
()
components/MultiSelectCombobox.tsx:57
↓ 1 callersFunctionhandleRemove
(option: string)
components/MultiSelectCombobox.tsx:53
↓ 1 callersFunctionhandleResize
()
app/page.tsx:33
↓ 1 callersFunctionisValidGithubUsername
(username)
netlify/functions/submit-resource.mjs:84
↓ 1 callersFunctionisValidUrl
(string)
netlify/functions/submit-resource.mjs:74
↓ 1 callersFunctionloadCompanyData
()
scripts/validate-resources.mjs:39
↓ 1 callersFunctionloadTopicKeywords
* Load topic keywords from topics.json
scripts/migrate_data.js:35
↓ 1 callersFunctionmain
* Main migration function
scripts/migrate_data.js:198
↓ 1 callersFunctionmain
()
scripts/migrate_blog_article_type.js:46
↓ 1 callersFunctionmain
()
scripts/validate-resources.mjs:603
↓ 1 callersFunctionmigrateCompanyFile
(filePath)
scripts/migrate_blog_article_type.js:17
↓ 1 callersFunctionparseResourceType
* Determine resource type from section header
scripts/migrate_data.js:63
↓ 1 callersFunctionprocessResourcesBatch
(browser, resources, batchSize)
scripts/validate-resources.mjs:316
↓ 1 callersFunctionsaveCompanies
* Save each company to individual JSON file
scripts/migrate_data.js:182
↓ 1 callersFunctionvalidateContent
(pageContent, title, resource)
scripts/validate-resources.mjs:168
↓ 1 callersFunctionvalidateForm
()
app/contribute/page.tsx:172
↓ 1 callersFunctionvalidateGithubUsername
(username: string)
app/contribute/page.tsx:98
↓ 1 callersFunctionvalidateResource
(browser, resource)
scripts/validate-resources.mjs:186
↓ 1 callersFunctionvalidateSchema
()
scripts/validate_schema.js:11
↓ 1 callersFunctionvalidateUrl
(url: string)
app/contribute/page.tsx:89
↓ 1 callersFunctionverifyTurnstile
(token)
netlify/functions/submit-resource.mjs:26
FunctionCombobox
({ id, label, placeholder, options, value, onChange, formatOption = (option) => option, allowA
components/Combobox.tsx:16
FunctionCompanyCard
({ company, onClick }: CompanyCardProps)
components/CompanyCard.tsx:8
FunctionCompanyHeader
({ company }: CompanyHeaderProps)
components/CompanyHeader.tsx:11
FunctionCompanyList
({ company, onClick }: CompanyListProps)
components/CompanyList.tsx:8
FunctionCompanyModal
({ company, onClose }: CompanyModalProps)
components/CompanyModal.tsx:12
FunctionCompanyPage
({ params }: CompanyPageProps)
app/company/[id]/page.tsx:35
FunctionContributeForm
()
app/contribute/page.tsx:43
FunctionContributePage
()
app/contribute/page.tsx:643
FunctionFilterBar
({ companyNames, industries, topics, resourceTypes, onFilterChange, }: FilterBarProps)
components/FilterBar.tsx:21
FunctionFooter
()
components/Footer.tsx:4
FunctionHero
()
components/Hero.tsx:1
FunctionHome
()
app/page.tsx:17
FunctionIntro
()
components/Intro.tsx:1
FunctionMultiSelectCombobox
({ id, label, placeholder, options, values, onChange, onNewValueWarning, }: MultiSelectComboboxP
components/MultiSelectCombobox.tsx:15
FunctionResourceCard
({ resource }: ResourceCardProps)
components/ResourceCard.tsx:14
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:23
FunctionThemeToggle
()
components/ThemeToggle.tsx:5
FunctionTurnstile
({ siteKey, onVerify, onError, onExpire }: TurnstileProps)
components/Turnstile.tsx:13
FunctionWhatsNew
({ companies }: WhatsNewProps)
components/WhatsNew.tsx:15
FunctionclearFilters
()
components/FilterBar.tsx:41
FunctiongenerateMetadata
({ params }: CompanyPageProps)
app/company/[id]/page.tsx:19
FunctiongenerateStaticParams
()
app/company/[id]/page.tsx:12
FunctiongetIndustries
()
lib/database.ts:18
FunctiongetResourceTypes
()
lib/database.ts:28
FunctiongetTopics
()
lib/database.ts:23
FunctionhandleClear
()
components/Combobox.tsx:74
FunctionhandleClickOutside
(event: MouseEvent)
components/Combobox.tsx:51
FunctionhandleClickOutside
(event: MouseEvent)
components/MultiSelectCombobox.tsx:37
FunctionhandleCompanyChange
(value: string)
app/contribute/page.tsx:117
FunctionhandleEscape
(e: KeyboardEvent)
components/CompanyModal.tsx:17
FunctionhandleIndustryChange
(value: string)
app/contribute/page.tsx:147
FunctionhandleInputChange
(e: React.ChangeEvent<HTMLInputElement>)
components/Combobox.tsx:81
FunctionhandleInputFocus
()
components/Combobox.tsx:92
FunctionhandleKeyDown
(e: React.KeyboardEvent<HTMLInputElement>)
components/Combobox.tsx:103
FunctionhandleKeyDown
(e: React.KeyboardEvent<HTMLInputElement>)
components/MultiSelectCombobox.tsx:76
FunctionhandleScriptLoad
()
components/Turnstile.tsx:28
FunctionhandleSubmit
(e: React.FormEvent)
app/contribute/page.tsx:216
FunctionhandleTopicsChange
(values: string[])
app/contribute/page.tsx:159
FunctiontoggleTheme
()
components/ThemeToggle.tsx:37