MCPcopy Create free account

hub / github.com/dev-lou/voting-system / functions

Functions100 in github.com/dev-lou/voting-system

↓ 11 callersFunctionaddAuditEntry
(actor: string, action: string, details: string)
src/utils/auditLog.ts:20
↓ 8 callersMethodplayClick
()
src/utils/sounds.ts:20
↓ 5 callersFunctionload
()
src/components/admin/VotersPanel.tsx:44
↓ 4 callersFunctiongetAuditLog
()
src/utils/auditLog.ts:11
↓ 4 callersMethodgetContext
()
src/utils/sounds.ts:8
↓ 4 callersFunctionhandleTimeChange
(h: number, m: number, pm: boolean)
src/components/CustomDateTimePicker.tsx:108
↓ 4 callersFunctionload
()
src/components/admin/ElectionsPanel.tsx:41
↓ 4 callersFunctionsaveAttempts
(count: number, lockedUntil: number)
src/pages/LoginPage.tsx:23
↓ 4 callersFunctionuseSystemClock
()
src/hooks/useSystemClock.ts:7
↓ 2 callersFunctionchangeMonth
(delta: number)
src/components/CustomDateTimePicker.tsx:116
↓ 2 callersFunctionemitChange
(selectedDate: Date, h: number, m: number, pm: boolean)
src/components/CustomDateTimePicker.tsx:88
↓ 2 callersFunctionformatTime
(date: Date)
src/hooks/useSystemClock.ts:19
↓ 2 callersFunctionhandleFailedAttempt
()
src/pages/LoginPage.tsx:117
↓ 2 callersFunctionload
()
src/components/admin/OverviewPanel.tsx:17
↓ 2 callersFunctionloadAttempts
()
src/pages/LoginPage.tsx:14
↓ 2 callersFunctionpad
(n: number)
src/components/CustomDateTimePicker.tsx:133
↓ 2 callersMethodplaySubmit
()
src/utils/sounds.ts:44
↓ 2 callersFunctionreload
()
src/components/admin/PositionsPanel.tsx:67
↓ 2 callersFunctionreload
()
src/components/admin/CandidatesPanel.tsx:86
↓ 2 callersFunctionuseNetworkStatus
(pingIntervalMs = 15_000)
src/hooks/useNetworkStatus.ts:11
↓ 1 callersFunctioncancelForm
()
src/components/admin/ElectionsPanel.tsx:74
↓ 1 callersFunctioncancelForm
()
src/components/admin/PositionsPanel.tsx:100
↓ 1 callersFunctioncancelForm
()
src/components/admin/CandidatesPanel.tsx:116
↓ 1 callersFunctionclearAuditLog
()
src/utils/auditLog.ts:33
↓ 1 callersFunctionfetchElection
()
src/hooks/useElection.ts:18
↓ 1 callersFunctiongetDisplayText
()
src/components/CustomDateTimePicker.tsx:73
↓ 1 callersFunctionhandleClick
()
src/components/CandidateCard.tsx:33
↓ 1 callersFunctionhandleDayClick
(dayRaw: number)
src/components/CustomDateTimePicker.tsx:102
↓ 1 callersFunctionhandleDelete
(id: string, name: string)
src/components/admin/ElectionsPanel.tsx:112
↓ 1 callersFunctionhandleDelete
(id: string, title: string)
src/components/admin/PositionsPanel.tsx:137
↓ 1 callersFunctionhandleDelete
(id: string, name: string)
src/components/admin/CandidatesPanel.tsx:190
↓ 1 callersFunctionhandleNext
()
src/components/BallotPane.tsx:69
↓ 1 callersFunctionhandlePositionClick
(index: number)
src/components/VotingLayout.tsx:43
↓ 1 callersFunctionhandlePrevious
()
src/components/BallotPane.tsx:62
↓ 1 callersFunctionhandleResetVote
(id: string, name: string)
src/components/admin/VotersPanel.tsx:92
↓ 1 callersFunctionhandleReview
()
src/components/BallotPane.tsx:76
↓ 1 callersFunctionhandleToggleActive
(election: Election)
src/components/admin/ElectionsPanel.tsx:125
↓ 1 callersFunctionisSelected
(d: number)
src/components/CustomDateTimePicker.tsx:126
↓ 1 callersFunctionopenEditVoter
(s: Student)
src/components/admin/VotersPanel.tsx:81
↓ 1 callersMethodplaySuccess
()
src/utils/sounds.ts:76
↓ 1 callersFunctionrenderContent
()
src/App.tsx:52
↓ 1 callersFunctionrenderPanel
()
src/pages/admin/AdminDashboard.tsx:29
↓ 1 callersFunctionstartEdit
(e: Election)
src/components/admin/ElectionsPanel.tsx:62
↓ 1 callersFunctionstartEdit
(p: Position)
src/components/admin/PositionsPanel.tsx:89
↓ 1 callersFunctionstartEdit
(c: Candidate)
src/components/admin/CandidatesPanel.tsx:105
↓ 1 callersFunctionuseElection
()
src/hooks/useElection.ts:9
↓ 1 callersFunctionuseTheme
()
src/utils/theme.tsx:53
FunctionAdminDashboard
({ onLogout }: AdminDashboardProps)
src/pages/admin/AdminDashboard.tsx:20
FunctionAdminLayout
({ activeSection, onSectionChange, adminEmail, onLogout, children, }: AdminLayoutProps)
src/components/admin/AdminLayout.tsx:35
FunctionApp
()
src/App.tsx:15
FunctionBallotPane
({ positions, isOnline, abstainedPositions, onAbstain, }: BallotPaneProps)
src/components/BallotPane.tsx:20
FunctionCandidateCard
({ candidate, positionId, maxVotes, isOnline, index = 0, }: CandidateCardProps)
src/components/CandidateCard.tsx:19
FunctionCandidatesPanel
()
src/components/admin/CandidatesPanel.tsx:16
FunctionConfetti
()
src/components/Confetti.tsx:16
FunctionCustomDateTimePicker
({ value, onChange, placeholder = "Select date and time...", disabled = false, }: CustomDateTimePicker
src/components/CustomDateTimePicker.tsx:24
FunctionCustomSelect
({ value, onChange, options, placeholder = "Select...", className = "", disabled = false, }: Custo
src/components/CustomSelect.tsx:26
FunctionElectionsPanel
()
src/components/admin/ElectionsPanel.tsx:27
FunctionField
({ label, children }: { label: string; children: React.ReactNode })
src/components/admin/ElectionsPanel.tsx:365
FunctionLoginPage
({ onAuthenticated }: LoginPageProps)
src/pages/LoginPage.tsx:31
FunctionNetworkBadge
({ isOnline }: NetworkBadgeProps)
src/components/NetworkBadge.tsx:11
FunctionOfflineOverlay
({ isOnline }: OfflineOverlayProps)
src/components/OfflineOverlay.tsx:12
FunctionOverviewPanel
()
src/components/admin/OverviewPanel.tsx:12
FunctionPositionsPanel
()
src/components/admin/PositionsPanel.tsx:16
FunctionRegisterPage
({ onGoToLogin }: RegisterPageProps)
src/pages/RegisterPage.tsx:15
FunctionResultsPanel
()
src/components/admin/ResultsPanel.tsx:19
FunctionReviewModal
({ positions, isOnline, isSubmitting, onSubmit, abstainedPositions, }: ReviewModalProps)
src/components/ReviewModal.tsx:20
FunctionThemeProvider
({ children }: { children: React.ReactNode })
src/utils/theme.tsx:13
FunctionThemeToggle
()
src/components/ThemeToggle.tsx:12
FunctionVotersPanel
()
src/components/admin/VotersPanel.tsx:9
FunctionVotingLayout
({ positions, electionName, isOnline, userEmail, isSubmitting, onSubmit, abstainedPositions, o
src/components/VotingLayout.tsx:28
FunctionVotingPage
({ onLogout }: VotingPageProps)
src/pages/VotingPage.tsx:18
Functionhandle
(e: MouseEvent)
src/components/CustomDateTimePicker.tsx:57
Functionhandle
(e: MouseEvent)
src/components/CustomSelect.tsx:41
FunctionhandleAddVoter
(e: FormEvent)
src/components/admin/VotersPanel.tsx:144
FunctionhandleClose
()
src/components/ReviewModal.tsx:54
FunctionhandleConfirmSubmit
()
src/components/ReviewModal.tsx:66
FunctionhandleCsvImport
(e: React.ChangeEvent<HTMLInputElement>)
src/components/admin/VotersPanel.tsx:184
FunctionhandleEditVoter
(e: FormEvent)
src/components/admin/VotersPanel.tsx:102
FunctionhandleExportPdf
()
src/components/admin/VotersPanel.tsx:258
FunctionhandleKey
(e: KeyboardEvent)
src/components/BallotPane.tsx:33
FunctionhandleKeyDown
(e: KeyboardEvent)
src/components/ReviewModal.tsx:44
FunctionhandleKeyDown
(e: React.KeyboardEvent)
src/components/CustomSelect.tsx:51
FunctionhandleOffline
()
src/hooks/useNetworkStatus.ts:36
FunctionhandleOnline
()
src/hooks/useNetworkStatus.ts:32
FunctionhandlePhotoUpload
(e: React.ChangeEvent<HTMLInputElement>)
src/components/admin/CandidatesPanel.tsx:123
FunctionhandleRefreshAudit
()
src/components/admin/OverviewPanel.tsx:43
FunctionhandleSubmit
()
src/components/ReviewModal.tsx:61
FunctionhandleSubmit
(e: FormEvent)
src/components/admin/ElectionsPanel.tsx:81
FunctionhandleSubmit
(e: FormEvent)
src/components/admin/PositionsPanel.tsx:107
FunctionhandleSubmit
(e: FormEvent)
src/components/admin/CandidatesPanel.tsx:165
FunctionhandleSubmit
(e: FormEvent)
src/pages/RegisterPage.tsx:25
FunctionhandleSubmit
(e: FormEvent)
src/pages/LoginPage.tsx:59
MethodplayHover
()
src/utils/sounds.ts:102
MethodsetEnabled
(enabled: boolean)
src/utils/sounds.ts:15
FunctionsetTheme
(newTheme: Theme)
src/utils/theme.tsx:36
FunctionstartCreate
()
src/components/admin/ElectionsPanel.tsx:55
FunctionstartCreate
()
src/components/admin/PositionsPanel.tsx:79
FunctionstartCreate
()
src/components/admin/CandidatesPanel.tsx:98
Functiontick
()
src/hooks/useSystemClock.ts:11
FunctiontoggleTheme
()
src/utils/theme.tsx:32