Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenAnonymity/oa-chat
/ functions
Functions
2,047 in github.com/OpenAnonymity/oa-chat
⨍
Functions
2,047
◇
Types & classes
86
↓ 3 callers
Method
searchFieldMatches
(query, field)
chat/app.js:7580
↓ 3 callers
Method
sessionMatchesSearchQuery
(session, query)
chat/app.js:7566
↓ 3 callers
Method
setChatAreaScrollTopInstant
* Temporarily disables smooth scrolling to jump the chat area instantly. * @param {number} targetTop - Desired scrollTop value
chat/app.js:705
↓ 3 callers
Method
setMemoryAutoInclude
(enabled, options = {})
chat/app.js:4194
↓ 3 callers
Method
setMemoryFeatureEnabled
(enabled, options = {})
chat/app.js:4237
↓ 3 callers
Function
setPasswordMode
(mode)
chat/components/ShareModals.js:141
↓ 3 callers
Method
setPreference
(preference)
chat/services/themeManager.js:132
↓ 3 callers
Method
setPromptSlideUpAnchor
(sessionId, messageId)
chat/app.js:774
↓ 3 callers
Method
setSidebarClosingAttribute
(isClosing)
chat/app.js:7750
↓ 3 callers
Method
setupCitationCarouselScroll
* Sets up horizontal mouse wheel scrolling for citation carousels. * Converts vertical wheel events to horizontal scrolling when hovering over ca
chat/components/ChatArea.js:1928
↓ 3 callers
Method
setupEventListeners
()
chat/components/TLSSecurityModal.js:378
↓ 3 callers
Method
setupEventListeners
()
chat/components/VerifierAttestationModal.js:1564
↓ 3 callers
Method
setupPasswordToggle
* Setup password toggle functionality (uses CSS masking since type="text" to avoid password managers)
chat/components/ShareModals.js:431
↓ 3 callers
Method
setupPinInput
* Setup PIN input with visual boxes
chat/components/ShareModals.js:453
↓ 3 callers
Method
shouldAutoScrollChat
(force = false)
chat/app.js:695
↓ 3 callers
Method
shouldPreserveQuickAskWindowForRender
(sessionId)
chat/components/ChatArea.js:805
↓ 3 callers
Method
show
()
chat/components/FloatingPanel.js:28
↓ 3 callers
Method
showBannedStationWarningModal
* Shows a warning when attempting to use a banned station's API key * Clears the key and shows an error message
chat/app.js:8690
↓ 3 callers
Method
showErrorNotification
(message)
chat/app.js:8657
↓ 3 callers
Function
standardizeModelDisplayName
(modelReference, options = {})
chat/services/modelNames.js:114
↓ 3 callers
Method
start
()
chat/services/smoothProgress.js:31
↓ 3 callers
Method
startExpirationTimer
()
chat/components/RightPanel.js:417
↓ 3 callers
Method
stopCurrentSessionStreamingAndWait
* Interrupts the current session stream and waits for cleanup to finish. * Timeline-mutating actions use this so they can safely restart generati
chat/app.js:3683
↓ 3 callers
Method
syncScrubberPreviewHeight
()
chat/components/ChatInput.js:1397
↓ 3 callers
Function
toFriendlyError
(error)
chat/services/accountService.js:409
↓ 3 callers
Function
toModelIdWithoutRouting
(modelReference)
chat/services/modelNames.js:30
↓ 3 callers
Method
updateFlatModeControls
* Updates the visual state of flat mode toggle based on current HTML class. * Syncs aria-checked attributes with actual flat-mode state.
chat/components/ChatInput.js:1665
↓ 3 callers
Method
updateFontModeControls
* Updates the visual state of font mode toggle based on current HTML class. * Syncs aria-checked attributes with actual font-mode state.
chat/components/ChatInput.js:1720
↓ 3 callers
Method
updateInlineInviteFeedback
()
chat/components/WelcomePanel.js:291
↓ 3 callers
Method
updateProgressUI
()
chat/components/ChatHistoryImportModal.js:567
↓ 3 callers
Method
updateQuickAskCitations
(citations)
chat/components/ChatArea.js:727
↓ 3 callers
Method
updateReasoningEffortUI
* Updates the visual state of the reasoning effort selector.
chat/components/ChatInput.js:1794
↓ 3 callers
Function
updateStats
(tokenCountOverride = null)
experiments/local-webllm-demo.js:58
↓ 3 callers
Function
upgradeDefaultModelPreference
(modelName)
test/domain/modelSelection.test.js:103
↓ 3 callers
Method
upsertPrepared
(preparedItems)
vector/memoryBackend.js:124
↓ 3 callers
Method
warmRender
()
chat/components/ModelPicker.js:321
↓ 2 callers
Method
_addPositionListeners
()
chat/components/TurnstileBubble.js:426
↓ 2 callers
Method
_attachEditorListeners
()
chat/components/MemoryEditor.js:679
↓ 2 callers
Method
_closeAllMenus
()
chat/components/MemoryEditor.js:795
↓ 2 callers
Method
_createOrama
()
vector/oramaBackend.js:326
↓ 2 callers
Method
_doSync
(masterKey, accessToken)
chat/services/syncService.js:415
↓ 2 callers
Method
_getBackfillButtonState
()
chat/components/MemoryEditor.js:1247
↓ 2 callers
Method
_getDirectoryStructure
()
chat/components/MemoryEditor.js:233
↓ 2 callers
Method
_handleExport
()
chat/components/MemoryEditor.js:988
↓ 2 callers
Method
_insertDocuments
(items)
vector/oramaBackend.js:271
↓ 2 callers
Method
_isMemoryMaintenanceDisabled
()
chat/components/MemoryEditor.js:1243
↓ 2 callers
Method
_onConfigUpdate
* Handle config update from API (pinned models or tiers changed). * Re-renders if modal is open.
chat/components/ModelPicker.js:49
↓ 2 callers
Method
_readVector
(index)
vector/memoryBackend.js:284
↓ 2 callers
Method
_removeFromOrama
(id)
vector/oramaBackend.js:299
↓ 2 callers
Method
_removePositionListeners
()
chat/components/TurnstileBubble.js:434
↓ 2 callers
Method
_renameFolder
(oldDir, newDir)
chat/components/MemoryEditor.js:942
↓ 2 callers
Method
_renderEditorContent
()
chat/components/MemoryEditor.js:417
↓ 2 callers
Method
_renderFileItem
(path, displayName, tooltip, isSelected, isNested)
chat/components/MemoryEditor.js:406
↓ 2 callers
Method
_requestBackfillStop
(toastMessage = 'Stopping backfill...')
chat/components/MemoryEditor.js:1302
↓ 2 callers
Method
_showEmailCodePopup
(errorMessage)
chat/components/WelcomePanel.js:635
↓ 2 callers
Method
_startNewFile
()
chat/components/MemoryEditor.js:829
↓ 2 callers
Method
_swap
(a, b)
vector/memoryBackend.js:71
↓ 2 callers
Method
_updateEditorPane
()
chat/components/MemoryEditor.js:757
↓ 2 callers
Method
_writeVector
(index, vector)
vector/memoryBackend.js:272
↓ 2 callers
Function
addVersion
(rawUrl)
scripts/build.mjs:47
↓ 2 callers
Method
animateCopyButton
* Animates a copy button with tick icon * @param {HTMLElement} btn - The button element
chat/components/ChatArea.js:1099
↓ 2 callers
Method
applyDisabledModelFilter
()
chat/app.js:316
↓ 2 callers
Method
attachLogRowHandlers
* Attaches click handlers to activity log headers for expand/collapse.
chat/components/RightPanel.js:2529
↓ 2 callers
Method
attachTopSectionEventListeners
* Attaches event listeners to the top section elements only.
chat/components/RightPanel.js:2230
↓ 2 callers
Method
autoGrowTextarea
* Auto-grows a textarea to fit its content while respecting min/max heights. * Works alongside CSS resize-y for manual drag resizing. * Uses
chat/components/ChatArea.js:2905
↓ 2 callers
Function
availabilitySignature
()
chat/services/modelConfig.js:153
↓ 2 callers
Function
b64urlDecode
(str)
chat/services/privacyPass.js:47
↓ 2 callers
Function
b64urlEncode
(bytes)
chat/services/privacyPass.js:41
↓ 2 callers
Function
base64ToBytes
(base64)
chat/services/syncService.js:58
↓ 2 callers
Function
base64ToSmall
* Loop-based base64 decode for small arrays
chat/services/shareEncryption.js:44
↓ 2 callers
Function
benchBackend
(name, options)
experiments/vector-bench.mjs:17
↓ 2 callers
Function
blockifyBoldMarkers
* Converts any bold pair (**...**) into a standalone subtitle block: * - Trims inner whitespace (including newlines) inside bold markers * - Ensures
chat/services/reasoningParser.js:37
↓ 2 callers
Function
buildChatRequestBody
(request, messages)
local_inference/backends/httpOpenAIBackend.js:85
↓ 2 callers
Method
buildConversationText
(messages)
chat/app.js:4022
↓ 2 callers
Function
buildGeneratedImages
* Builds HTML for generated images in a message. * @param {Array} images - Array of image objects with type and image_url * @returns {string} HTML s
chat/components/MessageTemplates.js:330
↓ 2 callers
Function
buildImportedIndicator
(importedCount)
chat/components/MessageTemplates.js:1830
↓ 2 callers
Method
buildLocalSessionTitle
(content)
chat/app.js:3840
↓ 2 callers
Method
buildMessageFileMetadata
(files)
chat/app.js:6546
↓ 2 callers
Method
buildModelOptionHTML
* Builds HTML for a single model option. * @param {Object} model - Model object * @returns {string} HTML string
chat/components/ModelPicker.js:344
↓ 2 callers
Function
buildPendingIndicatorContent
(phase = 'requesting-key')
chat/components/MessageTemplates.js:146
↓ 2 callers
Method
buildPreviewHtml
* Build preview messages HTML
chat/components/ShareModals.js:1274
↓ 2 callers
Function
buildQuickAskMessages
(conversationMessages, selection)
chat/domain/quickAsk.js:21
↓ 2 callers
Function
buildReasoningTrace
* Builds HTML for a reasoning trace display (for thinking models like o1, o4). * @param {string} reasoning - The reasoning content * @param {string}
chat/components/MessageTemplates.js:894
↓ 2 callers
Function
buildResponsesRequest
({ model, instructions = '', inputText, temperature = 0.2, topP = 0.9 })
chat/services/scrubberService.js:209
↓ 2 callers
Method
buildScrubberRestoreContext
(messages)
chat/app.js:5080
↓ 2 callers
Method
buildScrubberTranscript
(messages, mode)
chat/app.js:5063
↓ 2 callers
Function
buildSessionConversationSearchText
(messages, options = {})
chat/domain/sessionSearch.js:66
↓ 2 callers
Method
buildSessionHTML
* Builds HTML for a single session item. * @param {Object} session - Session object * @returns {string} HTML string
chat/components/Sidebar.js:127
↓ 2 callers
Function
buildSessionTitleSearchText
(content)
chat/domain/sessionSearch.js:18
↓ 2 callers
Method
buildSessionTitleSearchText
(content)
chat/app.js:3846
↓ 2 callers
Function
buildSharedIndicator
()
chat/components/MessageTemplates.js:1808
↓ 2 callers
Function
buildStatusPanelHtml
* Build the shared status panel HTML for after-sharing and share control views * @param {Object} opts - {isPlaintext, apiKeyShared, apiKeyExpiresAt,
chat/components/ShareModals.js:272
↓ 2 callers
Function
buildTypingIndicator
* Builds HTML for a typing indicator. * @param {string} id - Unique ID for the indicator element * @param {string} providerName - Provider name (e.g
chat/components/MessageTemplates.js:1712
↓ 2 callers
Function
buildVerifierSubmitKeyProof
(verifyResult, accessInfo = null, options = {})
chat/application/accessController.js:16
↓ 2 callers
Function
byteToSyllable
(byte)
chat/services/recoveryCode.js:28
↓ 2 callers
Function
bytesToBase64
(bytes)
chat/services/syncService.js:50
↓ 2 callers
Method
cacheScrubberHintAnchor
(force = false)
chat/components/ChatInput.js:1383
↓ 2 callers
Method
cancelEditMode
* Cancels edit mode * @param {string} messageId - Message ID being edited
chat/app.js:6695
↓ 2 callers
Method
cancelLinkPreviewHide
* Cancels the scheduled link preview hide.
chat/app.js:1539
↓ 2 callers
Method
captureActivePromptScrollAnchor
({ primeRunway = false } = {})
chat/app.js:906
← previous
next →
501–600 of 2,047, ranked by callers