Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PeWu/topola-viewer
/ functions
Functions
330 in github.com/PeWu/topola-viewer
⨍
Functions
330
◇
Types & classes
94
↓ 2 callers
Method
getTools
Returns the list of all WebMCP tools with their respective execution handlers.
src/webmcp.ts:334
↓ 2 callers
Function
googleDriveDisconnectMenu
(screenSize: ScreenSize)
src/menu/top_bar.tsx:227
↓ 2 callers
Function
hasData
* Returns true if there is displayable information in this entry. * Returns false if there is no data in this entry or this is only a reference * to
src/sidepanel/details/details.tsx:313
↓ 2 callers
Function
isElementVisible
* Checks whether an element is visible without short-circuiting dead code * or failing on position: fixed elements.
src/menu/use_search_shortcut.ts:19
↓ 2 callers
Function
loadAndPrepareFile
( blob: Blob, cacheId: string, onProgress?: (status: string) => void, )
src/datasource/load_data.ts:132
↓ 2 callers
Function
loadScript
Helper to load a script dynamically.
src/datasource/google_drive_service.ts:21
↓ 2 callers
Function
loadWikiTree
( key: string, intl: IntlShape, authcode?: string, )
src/datasource/wikitree.ts:25
↓ 2 callers
Function
mapToSource
( sourceEntryReference: GedcomEntry, gedcom: GedcomData, )
src/util/gedcom_util.ts:422
↓ 2 callers
Function
normalize
Removes accents from letters, e.g. ó->o, ę->e.
src/menu/search_index.ts:29
↓ 2 callers
Function
parseDecade
(decade: string)
src/datasource/wikitree_transformer.ts:306
↓ 2 callers
Function
prepareData
( gedcom: string, cacheId: string, images?: Map<string, string>, onProgress?: (status: string) => void
src/datasource/load_data.ts:33
↓ 2 callers
Method
renderChart
* Renders the chart or performs a transition animation to a new state. * If indiInfo is not given, it means that it is the initial render and no
src/chart/chart_wrapper.ts:120
↓ 2 callers
Function
resolveType
(entry: GedcomEntry)
src/util/gedcom_util.ts:417
↓ 2 callers
Function
setCacheItem
(key: string, value: T)
src/datasource/wikitree_api.ts:47
↓ 2 callers
Method
setData
Updates internal dataset and rebuilds search indexes and ID maps.
src/webmcp.ts:182
↓ 2 callers
Method
showPicker
Shows the responsive Google Picker to select a .ged or .gdz file.
src/datasource/google_drive_service.ts:265
↓ 2 callers
Method
signOut
Revokes current token and purges tokens from local memory and sessionStorage.
src/datasource/google_drive_service.ts:320
↓ 2 callers
Function
strcmp
(a: string, b: string)
src/util/gedcom_util.ts:82
↓ 2 callers
Method
toFullIndi
(indiId: string)
src/webmcp.ts:271
↓ 2 callers
Function
updateSeenVersion
()
src/changelog.tsx:44
↓ 2 callers
Function
useGoogleDriveAuth
(options?: { /** Callback triggered to clean up state when signing out. */ onSignOut?: () => void; /** C
src/hooks/use_google_drive_auth.ts:13
↓ 2 callers
Function
usePrevious
(value: T)
src/util/previous-hook.ts:3
↓ 2 callers
Function
wikiTreeLoginMenu
(screenSize: ScreenSize)
src/menu/top_bar.tsx:315
↓ 2 callers
Method
zoom
(factor: number)
src/chart/chart_wrapper.ts:105
↓ 1 callers
Function
SourceHead
(gedcom: GedcomData)
src/sidepanel/head/head.tsx:7
↓ 1 callers
Function
areDateRangesOverlapped
( range1: DateRange, range2: DateRange, )
src/util/date_util.ts:148
↓ 1 callers
Function
argsToConfig
(args: ParsedQuery<unknown>)
src/sidepanel/config/config.tsx:72
↓ 1 callers
Function
birthDatesComparator
Birth date comparator for individuals.
src/util/gedcom_util.ts:93
↓ 1 callers
Function
buildGedcom
( data: JsonGedcomData, fullSizePhotoUrls: Map<string, string>, personNames: Map<string, {birth?: string
src/datasource/gedcom_generator.ts:263
↓ 1 callers
Function
calculateScaleExtent
* Calculates the allowed zoom scale range. * Sets the minimum scale so the chart cannot zoom out beyond full visibility, * and fixes the maximum sca
src/chart/chart_wrapper.ts:74
↓ 1 callers
Function
canCalculateAge
( birthDate: DateOrRange | undefined, deathDate: DateOrRange | undefined, )
src/util/age_util.ts:84
↓ 1 callers
Function
canvasToBlob
(canvas: HTMLCanvasElement, type: string)
src/chart/chart_export.ts:67
↓ 1 callers
Function
captureDiagnostics
(page: Page)
tests/probers/helpers.ts:12
↓ 1 callers
Function
clearStoredGedcom
()
src/datasource/gedcom_store.ts:34
↓ 1 callers
Function
configToArgs
(config: Config)
src/sidepanel/config/config.tsx:88
↓ 1 callers
Function
convertFams
(people: Person[])
src/datasource/wikitree_transformer.ts:105
↓ 1 callers
Function
convertGedcom
( gedcom: string, images: Map<string, string>, onProgress?: (status: string) => void, )
src/util/gedcom_util.ts:307
↓ 1 callers
Function
convertIndis
(people: Person[], intl: IntlShape)
src/datasource/wikitree_transformer.ts:90
↓ 1 callers
Function
convertPerson
(person: Person, intl: IntlShape)
src/datasource/wikitree_transformer.ts:204
↓ 1 callers
Function
convertPersonNames
(person: Person)
src/datasource/wikitree_transformer.ts:259
↓ 1 callers
Function
dataDetails
(entry: GedcomEntry)
src/sidepanel/details/details.tsx:35
↓ 1 callers
Function
dateOrRangeToGedcom
(dateOrRange: DateOrRange)
src/datasource/gedcom_generator.ts:36
↓ 1 callers
Function
desktopMenus
()
src/menu/top_bar.tsx:378
↓ 1 callers
Function
displaySearchResult
( result: SearchResult, currentIntl: IntlShape, )
src/menu/search.tsx:37
↓ 1 callers
Function
downloadPdf
()
src/chart/chart_export.ts:167
↓ 1 callers
Function
downloadPng
()
src/chart/chart_export.ts:161
↓ 1 callers
Function
downloadSvg
()
src/chart/chart_export.ts:149
↓ 1 callers
Function
drawImageOnCanvas
Draw image on a new canvas and return the canvas.
src/chart/chart_export.ts:50
↓ 1 callers
Function
drawOnCanvas
()
src/chart/chart_export.ts:155
↓ 1 callers
Function
eventImages
(images: Image[] | undefined)
src/sidepanel/details/event-extras.tsx:32
↓ 1 callers
Function
eventNotes
(notes: string[][] | undefined)
src/sidepanel/details/event-extras.tsx:49
↓ 1 callers
Function
extractDates
(person: Person)
src/datasource/wikitree_transformer.ts:160
↓ 1 callers
Function
extractImages
(person: Person)
src/datasource/wikitree_transformer.ts:192
↓ 1 callers
Function
extractNames
(person: Person, intl: IntlShape)
src/datasource/wikitree_transformer.ts:140
↓ 1 callers
Function
famToGedcom
(fam: JsonFam)
src/datasource/gedcom_generator.ts:212
↓ 1 callers
Function
filterImage
(indi: JsonIndi, images: Map<string, string>)
src/util/gedcom_util.ts:257
↓ 1 callers
Function
filterImages
* Removes images that are not HTTP links. * Does not modify the input object.
src/util/gedcom_util.ts:279
↓ 1 callers
Function
formatBuildDate
(dateString: string | undefined)
src/intro.tsx:20
↓ 1 callers
Function
formatDateRage
(dateRange: DateRange, intl: IntlShape)
src/util/date_util.ts:35
↓ 1 callers
Function
formatExactAge
( birthDate: TopolaDate, deathDate: TopolaDate, intl: IntlShape, )
src/util/age_util.ts:13
↓ 1 callers
Function
getAge
( eventEntry: GedcomEntry, indi: string, gedcom: GedcomData, intl: IntlShape, )
src/sidepanel/details/events.tsx:142
↓ 1 callers
Function
getAllAncestors
(keys: string[], handleCors: boolean)
src/datasource/wikitree_api.ts:156
↓ 1 callers
Function
getAllDescendants
(key: string, handleCors: boolean)
src/datasource/wikitree_api.ts:228
↓ 1 callers
Function
getAncestors
( key: string, handleCors: boolean, )
src/datasource/wikitree_api.ts:63
↓ 1 callers
Function
getChartType
(chartType: ChartType)
src/chart/chart_types.ts:43
↓ 1 callers
Function
getChildren
(people: Person[])
src/datasource/wikitree_transformer.ts:41
↓ 1 callers
Function
getDescriptionLine
(indi: JsonIndi, currentIntl: IntlShape)
src/menu/search.tsx:28
↓ 1 callers
Function
getEventTitle
(event: EventData)
src/sidepanel/details/events.tsx:124
↓ 1 callers
Function
getFamilies
(people: Person[])
src/datasource/wikitree_transformer.ts:21
↓ 1 callers
Function
getFirstPerson
(key: string, handleCors: boolean)
src/datasource/wikitree_api.ts:139
↓ 1 callers
Function
getHusbandLastName
Returns all last names of all husbands as a space-separated string.
src/menu/search_index.ts:46
↓ 1 callers
Function
getI18nMessage
(error: Error, intl: IntlShape)
src/util/error_i18n.ts:8
↓ 1 callers
Function
getMarriedName
(person: Person)
src/datasource/wikitree_transformer.ts:229
↓ 1 callers
Function
getNameLine
(result: SearchResult)
src/menu/search.tsx:16
↓ 1 callers
Function
getNeighbors
(id: string)
src/util/gedcom_util.ts:468
↓ 1 callers
Function
getOtherSections
(entries: GedcomEntry[], gedcom: GedcomData)
src/sidepanel/details/details.tsx:317
↓ 1 callers
Function
getOtherSpouse
(fam: JsonFam, indi: string)
src/donatso-chart.tsx:24
↓ 1 callers
Function
getRendererType
(chartType: ChartType)
src/chart/chart_types.ts:57
↓ 1 callers
Function
getScrollbarAwareSize
Returns the element's usable width and height by subtracting the assumed scrollbar size.
src/chart/chart_wrapper.ts:58
↓ 1 callers
Function
getSectionForId
(indi: string)
src/sidepanel/details/details.tsx:331
↓ 1 callers
Function
getSessionStorageItem
(key: string)
src/datasource/wikitree_api.ts:18
↓ 1 callers
Function
getShowSidePanel
* Determines whether the side panel should be shown taking into account the * URL parameter and the viewport size. * * On mobile devices (max
src/util/url_args.ts:177
↓ 1 callers
Function
getSpouse
(indi: string, familyEntry: GedcomEntry, gedcom: GedcomData)
src/sidepanel/details/events.tsx:131
↓ 1 callers
Function
getSpouseKeys
(person: Person)
src/datasource/wikitree_api.ts:152
↓ 1 callers
Function
getSpouses
(people: Person[])
src/datasource/wikitree_transformer.ts:54
↓ 1 callers
Function
getSvgContents
()
src/chart/chart_export.ts:107
↓ 1 callers
Function
getSvgDimensions
()
src/chart/chart_export.ts:98
↓ 1 callers
Method
handleFindRelationshipPath
(params: { source: string; target: string; })
src/webmcp.ts:129
↓ 1 callers
Method
handleFocusIndi
(params: {id: string})
src/webmcp.ts:117
↓ 1 callers
Method
handleGetAncestors
(params: {id: string; generations: number})
src/webmcp.ts:145
↓ 1 callers
Method
handleGetDescendants
(params: { id: string; generations: number; })
src/webmcp.ts:159
↓ 1 callers
Method
handleGetSelectedPerson
Returns the full details of the currently selected person.
src/webmcp.ts:85
↓ 1 callers
Function
handleGoogleDriveRedirect
( mergedParams: ParsedQuery, )
src/datasource/google_drive.ts:99
↓ 1 callers
Method
handleInspectIndi
(params: {id: string})
src/webmcp.ts:109
↓ 1 callers
Method
handleSearchIndi
(params: {query: string})
src/webmcp.ts:93
↓ 1 callers
Function
handleWikiTreeRedirect
( windowSearch: ParsedQuery, currentPathname: string, )
src/datasource/wikitree.ts:116
↓ 1 callers
Function
imageToGedcom
( image: JsonImage, fullSizePhotoUrl: string | undefined, )
src/datasource/gedcom_generator.ts:98
↓ 1 callers
Function
indiToGedcom
( indi: JsonIndi, fullSizePhotoUrl: Map<string, string>, personNames: {birth?: string; married?: string;
src/datasource/gedcom_generator.ts:128
↓ 1 callers
Method
initMultiLingualLunrWithoutTrimmer
( lunrInstance: lunr.Builder, languages: string[], )
src/menu/search_index.ts:106
↓ 1 callers
Method
initialize
()
src/menu/search_index.ts:69
← previous
next →
101–200 of 330, ranked by callers