Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Athenodoros/TopHat
/ functions
Functions
560 in github.com/Athenodoros/TopHat
⨍
Functions
560
◇
Types & classes
101
↓ 56 callers
Function
update
(key: K)
src/dialog/objects/shared/update.ts:18
↓ 46 callers
Function
make
( diff: DurationLike, reference: string, account: ID, partial?: Partial<Omit<Transaction, "id"
src/state/data/demo/data.ts:225
↓ 34 callers
Function
formatNumber
(value: number, config?: NumberFormatConfig)
src/shared/data.ts:86
↓ 30 callers
Function
parseDate
(date: SDate | STime | null | undefined)
src/state/shared/values.ts:90
↓ 28 callers
Function
formatDate
(date: DateTime | null | undefined)
src/state/shared/values.ts:74
↓ 26 callers
Function
setStatementState
(state: DialogFileState)
src/state/logic/statement/actions.ts:48
↓ 25 callers
Function
getDialogState
()
src/state/logic/statement/actions.ts:50
↓ 22 callers
Function
useCalculatorInputDisplay
( title: string, help: string, measure: string, estimate: () => number, placeholder?: stri
src/pages/forecasts/display.tsx:27
↓ 22 callers
Function
zipObject
(keys: readonly K[], values: readonly V[])
src/shared/data.ts:28
↓ 21 callers
Function
getNow
()
src/state/shared/values.ts:56
↓ 19 callers
Function
getTodayString
()
src/state/shared/values.ts:57
↓ 19 callers
Function
handleTextFieldChange
(onChange: (value: string) => void)
src/shared/events.ts:28
↓ 19 callers
Function
usePopoverProps
()
src/shared/hooks.ts:58
↓ 17 callers
Function
useDialogState
( id: ID, callback: (state: DialogState[ID]) => T = identity )
src/state/app/hooks.ts:43
↓ 17 callers
Function
withSuppressEvent
(callback: (event: React.MouseEvent<T>) => void)
src/shared/events.ts:11
↓ 15 callers
Function
takeWithDefault
(array: T[], length: number, fallback: T)
src/shared/data.ts:12
↓ 14 callers
Function
findColumn
(fieldType: ColumnProperties["type"], options: string[] = [""], nonnull: boolean = false)
src/state/logic/statement/parsing.ts:148
↓ 13 callers
Function
useUserData
(selector: (user: User) => T = identity, equality?: (t1: T, t2: T) => boolean)
src/state/data/hooks.ts:21
↓ 11 callers
Function
get
(id: ID)
src/dialog/objects/shared/update.ts:11
↓ 11 callers
Function
updateTransactionSummariesWithTransactions
(state: DataState, ids?: EntityId[], remove?: boolean)
src/state/data/index.ts:770
↓ 11 callers
Function
useDefaultCurrency
()
src/state/data/hooks.ts:24
↓ 11 callers
Function
useNumericInputHandler
( initial: number | null, onChange: (value: number | null) => void, id: any = "" )
src/shared/hooks.ts:89
↓ 10 callers
Function
getCurrentMonthString
()
src/state/shared/values.ts:60
↓ 10 callers
Function
handleSelectChange
(onChange: (t: T) => void)
src/shared/events.ts:23
↓ 9 callers
Function
BaseTransactionHistory
()
src/state/shared/values.ts:31
↓ 9 callers
Function
getUpdateFunctions
(type: Type)
src/dialog/objects/shared/update.ts:8
↓ 9 callers
Function
onChange
(_: any, value: [number, number])
src/components/table/filters/RangeFilters.tsx:25
↓ 9 callers
Function
updateUserData
(state: DataState, changes: Partial<User>)
src/state/data/index.ts:140
↓ 9 callers
Function
useAllAccounts
()
src/state/data/hooks.ts:42
↓ 8 callers
Function
filterListByID
(list: number[], value: number | undefined)
src/components/table/filters/shared.ts:1
↓ 8 callers
Function
getColumnValue
( field: keyof typeof StatementMappingColumns, rowID: number, fileID: stri
src/state/logic/statement/actions.ts:505
↓ 8 callers
Function
getMenuItem
(Icon: IconType, name: string, display: string)
src/dialog/header.tsx:57
↓ 8 callers
Function
getNextID
(ids: EntityId[])
src/state/data/shared.ts:93
↓ 8 callers
Function
getOnChangeMapping
(key: keyof typeof StatementMappingColumns)
src/dialog/import/steps/mapping.tsx:259
↓ 8 callers
Function
useAllCategories
(filter?: (category: Category) => boolean)
src/state/data/hooks.ts:52
↓ 8 callers
Function
useGetAccountIcon
()
src/components/display/ObjectDisplay.tsx:28
↓ 7 callers
Function
getCategoryIcon
(category: Pick<Category, "id" | "colour">, sx: SxProps)
src/components/display/ObjectDisplay.tsx:45
↓ 7 callers
Function
removeNotification
(data: DataState, id: string)
src/state/data/index.ts:146
↓ 7 callers
Function
set
(option?: Option)
src/dialog/objects/shared/update.ts:13
↓ 7 callers
Function
updateBalancesAndAccountSummaries
(state: DataState, subset?: BalanceSubset)
src/state/data/index.ts:815
↓ 7 callers
Function
useCategoryByID
(id: ID | undefined)
src/state/data/hooks.ts:47
↓ 6 callers
Function
ensureNotificationExists
(data: DataState, id: string, contents: string)
src/state/data/index.ts:143
↓ 6 callers
Function
getInstitutionIcon
(institution: Institution, sx: SxProps)
src/components/display/ObjectDisplay.tsx:40
↓ 6 callers
Function
getRandomColour
()
src/state/shared/values.ts:9
↓ 6 callers
Method
set
(key: string, value: T)
src/state/shared/dailycache.ts:21
↓ 6 callers
Function
updateTransactionSummaryStartDates
(state: DataState)
src/state/data/index.ts:745
↓ 5 callers
Function
changeCurrencyValue
(to: Currency, from: Currency, value: number, date: SDate)
src/state/data/shared.ts:88
↓ 5 callers
Function
fadeSolidColour
(colour: string | undefined)
src/components/display/ObjectDisplay.tsx:23
↓ 5 callers
Function
filtered
(key: "total" | "budget", type: "credit" | "debit")
src/pages/categories/summary/budget.tsx:37
↓ 5 callers
Function
getBalanceSubset
(ids: EntityId[], entities: Dictionary<Transaction>)
src/state/data/index.ts:718
↓ 5 callers
Function
getChartPerformanceProps
( domain: { x: DomainTuple; y: DomainTuple }, scale: VictoryChartProps["scale"] = "linear", catego
src/components/display/PerformantCharts.tsx:36
↓ 5 callers
Function
getCombinedColumnProperties
( files: { id: string; columns?: ColumnProperties[] }[], common?: DialogColumnParseResult<true>["commo
src/state/logic/statement/parsing.ts:84
↓ 5 callers
Function
getCurrentMonth
()
src/state/shared/values.ts:59
↓ 5 callers
Function
getTab
(id: PageStateType["id"], Icon: IconType, logo: boolean = false)
src/app/navbar.tsx:62
↓ 5 callers
Function
random
(x: number, y: number)
src/state/data/demo/data.ts:30
↓ 5 callers
Function
updateDropboxNotificationState
(failed: boolean)
src/state/logic/dropbox.ts:52
↓ 5 callers
Function
updateListSelection
(t: T, ts: T[])
src/shared/data.ts:10
↓ 5 callers
Function
useAccountsPageState
( selector: (state: AccountsPageState) => T = identity, equalityFn?: (left: T, right: T) => boolean )
src/state/app/hooks.ts:12
↓ 5 callers
Function
useCategoryMap
()
src/state/data/hooks.ts:51
↓ 5 callers
Function
useDialogHasWorking
()
src/state/app/hooks.ts:47
↓ 5 callers
Function
useFormatValue
(config?: NumberFormatConfig, currency?: ID)
src/state/data/hooks.ts:30
↓ 5 callers
Function
useInstitutionMap
()
src/state/data/hooks.ts:72
↓ 4 callers
Function
BaseTransactionHistoryWithLocalisation
()
src/state/shared/values.ts:42
↓ 4 callers
Function
DefaultDismissNotificationThunk
(id: string)
src/state/logic/notifications/shared.tsx:7
↓ 4 callers
Function
FormatNumber
(value: number | null)
src/shared/hooks.ts:88
↓ 4 callers
Function
assignTransferCandidates
( test: (candidate: TransferCandidateSummary, transaction: Transaction) => boolean, days: numb
src/state/logic/statement/parsing.ts:275
↓ 4 callers
Function
extend
(values: number[])
src/state/data/index.ts:751
↓ 4 callers
Function
getAllNodes
(key: "total" | "budget", type: "credit" | "debit", getSX: (colour: string) => SxProps)
src/pages/categories/summary/budget.tsx:47
↓ 4 callers
Function
getCalculatorBalanceDisplayChart
(balances: number[], symbol: string, horizon?: number)
src/pages/forecasts/display.tsx:122
↓ 4 callers
Function
getChartDomainFunctions
(values: number[], padding: number = 0)
src/shared/data.ts:45
↓ 4 callers
Function
getCurrency
(id: EntityId)
src/state/logic/statement/parsing.ts:218
↓ 4 callers
Function
getCurrencyIcon
(currency: Currency, sx: SxProps)
src/components/display/ObjectDisplay.tsx:78
↓ 4 callers
Function
getDataState
()
src/pages/forecasts/data.tsx:9
↓ 4 callers
Function
getDataState
()
src/state/logic/statement/actions.ts:51
↓ 4 callers
Function
getFileColumnProperties
( contents: string, { delimiter, header, dateFormat }: DialogParseSpecification )
src/state/logic/statement/parsing.ts:62
↓ 4 callers
Function
getHiddenTickZeroAxis
(stroke: string = BLACK)
src/components/display/PerformantCharts.tsx:9
↓ 4 callers
Function
getIcon
( colour: string, Icon: IconType, onClick: (event: React.MouseEvent<HTMLButtonElement>
src/app/navbar.tsx:34
↓ 4 callers
Function
getMaybeColumn
(id?: string)
src/state/logic/statement/parsing.ts:234
↓ 4 callers
Function
getMonthlyTotal
(category: Category, month: number)
src/pages/category/budget/index.tsx:78
↓ 4 callers
Function
getSeriesSubset
(key: "values" | "budgets", type: "credit" | "debit")
src/pages/categories/summary/chart.tsx:165
↓ 4 callers
Function
getUserCurrency
()
src/state/logic/statement/actions.ts:52
↓ 4 callers
Function
handleCheckboxChange
(onChange: (value: boolean) => void)
src/shared/events.ts:33
↓ 4 callers
Function
mutation
(alpha?: number, transition?: string)
src/components/summary/shared.tsx:20
↓ 4 callers
Function
openNewPage
(state: PageStateType, event: React.MouseEvent)
src/state/app/actions.ts:12
↓ 4 callers
Function
sample
(values: number[])
src/pages/forecasts/data.tsx:15
↓ 4 callers
Function
scale
(raw: number)
src/shared/data.ts:60
↓ 4 callers
Function
sumAccounts
(getValue: (account: Account) => number)
src/pages/forecasts/data.tsx:14
↓ 4 callers
Function
updateCategoryTransactionDates
(data: DataState, subset?: EntityId[])
src/state/data/index.ts:908
↓ 4 callers
Function
updateSyncedCurrencies
()
src/state/logic/currencies.ts:74
↓ 4 callers
Function
useAccountPageAccount
()
src/state/app/hooks.ts:21
↓ 4 callers
Function
useAllCurrencies
()
src/state/data/hooks.ts:64
↓ 4 callers
Function
useAllStatements
(filter?: (statement: Statement) => boolean)
src/state/data/hooks.ts:99
↓ 4 callers
Function
useCategoriesPageState
( selector: (state: CategoriesPageState) => T = identity, equalityFn?: (left: T, right: T) => boolean
src/state/app/hooks.ts:29
↓ 4 callers
Function
useCategoryIDs
()
src/state/data/hooks.ts:50
↓ 4 callers
Function
useCategoryPageCategory
()
src/state/app/hooks.ts:38
↓ 4 callers
Function
useCurrencyMap
()
src/state/data/hooks.ts:63
↓ 4 callers
Function
useFirstValue
(value: T)
src/shared/hooks.ts:85
↓ 4 callers
Function
useGetSummaryChart
( { trends: { credits, debits }, net, currency }: SnapshotSectionData, height: number = 220 )
src/components/snapshot/index.tsx:82
↓ 4 callers
Function
useInstitutionByID
(id: ID | undefined)
src/state/data/hooks.ts:69
↓ 4 callers
Function
useMaybeDefaultCurrency
(currency?: ID)
src/state/data/hooks.ts:25
next →
1–100 of 560, ranked by callers