Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PerpetualSoftware/pad
/ functions
Functions
28,840 in github.com/PerpetualSoftware/pad
⨍
Functions
28,840
◇
Types & classes
3,245
↓ 1 callers
Function
toHeldQrTimer
* Click Enable 2FA and hold the page's QR phase at its 50ms wait. The page does `await import('qrcode')` * and then `setTimeout(r, 50)`; this interc
web/src/routes/(console)/settings/account/task4129SettleFences.svelte.test.ts:346
↓ 1 callers
Method
toMeta
()
internal/server/render/attachments_test.go:536
↓ 1 callers
Method
toShape
toShape converts the parsed extract into the (all_current, explicit) pair the seeder consumes. Three branches: - hasKey == false → all_current
internal/store/oauth_connections_backfill.go:379
↓ 1 callers
Function
toStored
(md: string)
web/src/lib/utils/markdown.strayBracket.svelte.test.ts:32
↓ 1 callers
Function
toString
toString coerces a scalar frontmatter value to string. Values originate as strings in practice; non-strings are rendered defensively.
internal/artifact/encode.go:94
↓ 1 callers
Function
toStringMap
(v any)
internal/artifact/encode.go:132
↓ 1 callers
Function
toUploadedAttachment
(result: AttachmentUploadResult)
web/src/lib/attachments/events.ts:182
↓ 1 callers
Function
toVerifyStep
Walk to the verify step of a 2FA setup, with the code typed.
web/src/routes/(console)/settings/account/task4129SettleFences.svelte.test.ts:418
↓ 1 callers
Function
toggle
()
web/src/lib/components/collections/awaitsHumanToggle.svelte.test.ts:67
↓ 1 callers
Function
toggle
(label: string)
web/src/lib/components/common/Lightbox.svelte.test.ts:5177
↓ 1 callers
Function
toggleCompleted
()
web/src/routes/(console)/agenda/agenda.svelte.test.ts:44
↓ 1 callers
Function
tok
(body: string, context_workspace?: { slug: string; name: string })
web/src/lib/chat/refs.test.ts:72
↓ 1 callers
Function
tokenCmd
`pad token` — mint, list, and revoke user-scoped API tokens from the CLI (#879 follow-up). Tokens are the identity PAD_TOKEN carries, and minting was
cmd/pad/cmd_token.go:24
↓ 1 callers
Function
tokenCount
tokenCount reports a count of tokens (max_tokens=4096, input_tokens=5): a plural name with a bare number. A singular token with a number is a credenti
internal/logging/scrub.go:453
↓ 1 callers
Function
tokenWorkspaceStatusError
tokenWorkspaceStatusError is the collab twin of writeTokenWorkspaceDeniedFor.
internal/server/handlers_collab.go:538
↓ 1 callers
Function
tomb
(deletedAtSeq: number, id = 'item-1')
web/src/lib/stores/itemRowMerge.test.ts:23
↓ 1 callers
Method
tombstone
(seq: number)
web/src/lib/stores/chatThread.svelte.test.ts:96
↓ 1 callers
Function
tones
(day: string)
web/src/lib/components/calendar/AgendaWeekStrip.svelte.test.ts:33
↓ 1 callers
Function
tooLargeHintFor
tooLargeHintFor is the guidance for a 413 (BUG-2829). It does not repeat the server's message, which is already the envelope's message.
internal/mcp/errors.go:1845
↓ 1 callers
Function
toolLabels
()
web/src/lib/components/timeline/ItemTimeline.svelte.test.ts:652
↓ 1 callers
Function
toolLabels
(scope: HTMLElement = root())
web/src/lib/components/common/Lightbox.svelte.test.ts:4202
↓ 1 callers
Function
toolbar
(scope: HTMLElement = root())
web/src/lib/components/common/Lightbox.svelte.test.ts:4196
↓ 1 callers
Function
toolbarButtons
* Select the image node so its NodeView builds the toolbar (`selectNode`), * then return the toolbar's buttons. Selection is driven through the *
web/src/lib/components/editor/editorCapabilitiesDelivery.svelte.test.ts:149
↓ 1 callers
Function
toolbarLabels
()
web/src/lib/components/items/ItemAttachmentStrip.svelte.test.ts:2019
↓ 1 callers
Function
topAt
(sel: string)
web/e2e/attachment-viewer-zoom.spec.ts:168
↓ 1 callers
Function
topLevelBoundary
(ed: TiptapEditor, rnd: () => number)
web/src/lib/collab/materializer/materializerParity.svelte.test.ts:239
↓ 1 callers
Function
topLevelConflictKeys
topLevelConflictKeys are the top-level params that can collide with a `fields` entry. Built from the three sets so adding a key to any of them cannot
internal/mcp/catalog_item_fields.go:151
↓ 1 callers
Function
topLevelOf
(src: AstSource)
web/src/test/identityFenceGate.ts:337
↓ 1 callers
Function
totalLive
()
web/e2e/pane-full-page-capstone.spec.ts:511
↓ 1 callers
Function
totpEnrolStepUp
totpEnrolStepUp runs only after the server answered step_up_required, so it always asks: the server's refusal outranks an active_until read against th
cmd/pad/cmd_auth_2fa.go:175
↓ 1 callers
Function
touch
jsdom has no TouchEvent constructor; a plain Event with `touches` suffices.
web/src/lib/components/layout/DockedSheet.svelte.test.ts:63
↓ 1 callers
Function
touch
jsdom has no TouchEvent constructor; a plain Event with `touches` suffices.
web/src/lib/components/layout/Sidebar.svelte.test.ts:92
↓ 1 callers
Function
touch
()
web/src/lib/services/sse.svelte.ts:511
↓ 1 callers
Function
touch
(type: string)
web/e2e/chat-thread-write.spec.ts:295
↓ 1 callers
Function
touch
(type: 'touchStart' | 'touchMove' | 'touchEnd', dx = 0)
web/e2e/chat-phone-sheet.spec.ts:234
↓ 1 callers
Function
touchEvent
(type: string, clientY: number)
web/src/lib/components/editor/blockDragHandleModalArbitration.svelte.test.ts:81
↓ 1 callers
Function
trackItemGets
* Record every bare item-GET the browser issues (path ending in `/items/{seg}` * — the plain item fetch `loadData` fires; `/items/{seg}/links` etc. c
web/e2e/pane-async-race.spec.ts:218
↓ 1 callers
Function
trackItemGets
* Every bare item-GET the browser issues (`/items/{seg}` — the plain item * fetch `loadData` fires; `/items/{seg}/links` etc. carry an extra segment
web/e2e/pane-full-page-capstone.spec.ts:224
↓ 1 callers
Function
trackedEpochReads
(block: string)
web/src/test/identityFenceSource.ts:461
↓ 1 callers
Method
traitDeclarationTaken
traitDeclarationTaken reports whether some live collection in the workspace already holds either declaration carried by def's traits — the artifact ki
internal/store/collections.go:1681
↓ 1 callers
Method
traitExtractionExprs
traitExtractionExprs returns the SQL that reads the artifact kind and the invocation field out of the traits column, per driver — the SAME expressions
internal/store/trait_dedupe.go:266
↓ 1 callers
Function
traitUniquenessIndexDDL
traitUniquenessIndexDDL returns the CREATE statements for TASK-2710's indexes, read from the SHIPPED migration rather than retyped — a restore that re
internal/store/testing_helpers.go:88
↓ 1 callers
Function
traitedFromModelCollections
traitedFromModelCollections wraps collections.TraitedFromCollections for callers that shadow the package name with a local `collections` variable.
internal/server/handlers_bootstrap.go:923
↓ 1 callers
Function
transform
* Apply a server-side image transform (rotate / crop) to an * attachment, producing a NEW attachment row whose UUID the * editor swaps into the
web/src/lib/api/client.ts:3572
↓ 1 callers
Function
transformOf
(page: Page, selector = VIEWER_IMAGE)
web/e2e/lib/attachment-viewer.ts:280
↓ 1 callers
Function
transformedFilename
transformedFilename builds the synthetic filename for the derived row. We append the operation tag (e.g. ".rotated", ".cropped") before the extension
internal/server/handlers_attachments_transform.go:422
↓ 1 callers
Function
transitionDuration
()
web/e2e/attachment-viewer-zoom.spec.ts:371
↓ 1 callers
Function
transitions
transitions returns the instants in [2026, 2028) where loc's offset changes.
internal/store/schedule_resolve_fix3_test.go:63
↓ 1 callers
Function
trigger
()
web/src/lib/components/layout/TopBar.chatLink.svelte.test.ts:60
↓ 1 callers
Function
trigger
(screen: { container: HTMLElement })
web/src/lib/components/collections/FilterBar.relationFilter.svelte.test.ts:89
↓ 1 callers
Function
trigger
()
web/src/lib/components/calendar/AgendaToolbar.svelte.test.ts:15
↓ 1 callers
Function
trigger
(c: HTMLElement)
web/src/lib/components/fields/FieldEditor.multiSelect.svelte.test.ts:68
↓ 1 callers
Method
trigger
()
web/src/lib/utils/throttledRefresh.ts:20
↓ 1 callers
Function
triggerSync
()
web/src/routes/[username]/[workspace]/dashboardIdentityFence.svelte.test.ts:219
↓ 1 callers
Function
triggerSync
* Trigger a sync immediately (e.g., when SSE signals sync_required * while the tab is still visible). This bypasses the visibility * change listen
web/src/lib/services/sync.svelte.ts:387
↓ 1 callers
Function
trimLeadingSpaces
(s string)
internal/collections/summary.go:50
↓ 1 callers
Function
trimPushMessage
(raw: string)
web/src/lib/push/message.ts:82
↓ 1 callers
Function
trimSpace
trimSpace is strings.TrimSpace inlined to avoid pulling strings through this file just for one call. catalog_item.go already imports strings for joinS
internal/mcp/catalog_item.go:842
↓ 1 callers
Function
trimSpaceASCII
(s string)
internal/server/handlers_auth_bootstrap_token_test.go:378
↓ 1 callers
Function
truncate
(s string, n int)
internal/store/search_quality_test.go:172
↓ 1 callers
Function
truncate
truncate is a small helper for failure messages — keeps long instructions text from spilling into terminal output when an assertion fires.
internal/mcp/server_test.go:132
↓ 1 callers
Function
truncateField
truncateField shortens s to fit width, appending an ellipsis when cut.
cmd/pad/cmd_item.go:1821
↓ 1 callers
Function
truncateForMessage
truncateForMessage bounds a caller-supplied string before it is echoed in a response or a log line.
internal/server/middleware_mcp_host.go:106
↓ 1 callers
Function
truncateForTable
truncateForTable shortens a string to fit a table column, appending an ellipsis when truncation occurs. Operates on runes so multi-byte characters don
cmd/pad/cmd_library.go:229
↓ 1 callers
Function
trustedNames
()
web/src/test/identityFenceAst.ts:841
↓ 1 callers
Function
truthyEnv
truthyEnv reports whether an environment-variable value means "on".
cmd/pad/main.go:28
↓ 1 callers
Function
tryCommand
(command: string)
plugin/tests/watch.test.ts:348
↓ 1 callers
Method
tryCreateItem
tryCreateItem attempts a single transactional insert of an item with the next available workspace-global item_number and a freshly-allocated unique sl
internal/store/items.go:272
↓ 1 callers
Function
tryParseEmbeddedJSON
tryParseEmbeddedJSON attempts to parse s as JSON, returning the native value when it succeeds. Returns (nil, false) when the string is empty, doesn't
internal/mcp/dispatch.go:299
↓ 1 callers
Function
tsStringArray
tsStringArray extracts the string literals of `const <name> = [ ... ];`.
internal/models/bug3546_terminal_spellings_test.go:77
↓ 1 callers
Function
tup
(x: number, y: number, id: number, o: { ts?: number; target?: HTMLElement } = {})
web/src/lib/components/common/Lightbox.svelte.test.ts:2782
↓ 1 callers
Function
tutorialPosterPath
(slug string)
internal/server/tutorials.go:196
↓ 1 callers
Method
tutorialsClient
tutorialsClient is the outbound client, replaceable in tests. A dedicated client with its own timeout; a nil Transport is http.DefaultTransport.
internal/server/tutorials.go:94
↓ 1 callers
Function
twoArms
* The non-collab path: with no edit right there is no provider, and the * read-only editor's updates go through the legacy debounce.
web/src/lib/components/items/itemDetailIdentityLoad.svelte.test.ts:855
↓ 1 callers
Function
twoFactorCmd
()
cmd/pad/cmd_auth_2fa.go:27
↓ 1 callers
Function
twoFactorDisableCmd
()
cmd/pad/cmd_auth_2fa.go:55
↓ 1 callers
Function
twoFactorSetupCmd
()
cmd/pad/cmd_auth_2fa.go:37
↓ 1 callers
Function
twoRows
()
web/src/routes/(console)/needs/needsPage.svelte.test.ts:699
↓ 1 callers
Function
type
(text: string)
web/src/lib/components/layout/Sidebar.quickAdd.svelte.test.ts:64
↓ 1 callers
Function
type
(box: HTMLTextAreaElement, v: string)
web/src/lib/components/chat/Composer.svelte.test.ts:61
↓ 1 callers
Function
type
(value: string)
web/src/lib/components/items/ItemPicker.svelte.test.ts:111
↓ 1 callers
Function
type
(value: string)
web/src/lib/components/items/itemPickerIdentityHandoff.svelte.test.ts:65
↓ 1 callers
Function
type
One keystroke at the end of the text, as a plain ProseMirror transaction * (jsdom has no layout, so nothing here may scroll or focus).
web/src/lib/components/editor/coalescedUpdate.svelte.test.ts:57
↓ 1 callers
Function
type
(input: HTMLInputElement, text: string)
web/src/lib/components/fields/FieldEditor.typedIdentity.svelte.test.ts:64
↓ 1 callers
Function
type
(el: HTMLInputElement, text: string)
web/src/lib/components/fields/FieldEditor.task2216.svelte.test.ts:55
↓ 1 callers
Function
type
Type into the field's input the way a user does — one `input` event.
web/src/lib/components/fields/FieldEditor.typedDebounce.svelte.test.ts:72
↓ 1 callers
Function
type
(doc: Y.Doc, text: string)
web/src/lib/collab/wsProviderUnsentEdits.svelte.test.ts:46
↓ 1 callers
Function
typeAndSend
(m: Mounted, text: string)
web/src/lib/stores/chatThread.lateRefusal.svelte.test.ts:102
↓ 1 callers
Function
typeAndSettle
(text: string)
web/src/lib/components/search/CommandPalette.archived.svelte.test.ts:33
↓ 1 callers
Function
typeAndSettle
(text: string)
web/src/lib/components/search/CommandPalette.searchFailed.svelte.test.ts:45
↓ 1 callers
Function
typeAndSettle
(view: ReturnType<typeof render>, text: string)
web/src/lib/components/search/CommandPalette.scope.svelte.test.ts:47
↓ 1 callers
Function
typeAndSettle
(text: string)
web/src/lib/components/search/CommandPalette.coll.svelte.test.ts:40
↓ 1 callers
Function
typeAtEnd
(ed: Editor, text: string)
web/src/lib/items/confirmedBaseSent.svelte.test.ts:97
↓ 1 callers
Function
typeAtEnd
(ed: Editor, text: string)
web/src/lib/items/confirmedBaseRemote.svelte.test.ts:30
↓ 1 callers
Function
typeAtEnd
(page: Page, editor: ReturnType<Page['locator']>, marker: string)
web/e2e/bug-3522-large-body-flush.spec.ts:57
↓ 1 callers
Function
typeAtEnd
(page: Page, text: string)
web/e2e/bug-3523-reconnect-catchup.spec.ts:49
↓ 1 callers
Function
typeInTab
(page: Page, editor: Locator, marker: string)
web/e2e/bug-3230-raw-save-pending-edits.spec.ts:43
↓ 1 callers
Function
typeInTab
(page: Page, editor: Locator, marker: string)
web/e2e/bug-3540-raw-save-stale-base.spec.ts:41
↓ 1 callers
Function
typeInto
(input: HTMLInputElement, value: string)
web/src/lib/components/collections/abandonedOptions.svelte.test.ts:104
↓ 1 callers
Function
typeName
(value: string)
web/src/lib/components/collections/task2191CreateDraftGuard.svelte.test.ts:55
← previous
next →
14,901–15,000 of 28,840, ranked by callers