MCPcopy Create free account

hub / github.com/abi/screenshot-to-code / functions

Functions861 in github.com/abi/screenshot-to-code

↓ 1 callersFunctionparse_args
()
backend/run_image_generation_evals.py:273
↓ 1 callersFunctionparse_design_system
(raw_item: Any)
backend/routes/design_systems.py:49
↓ 1 callersFunctionparse_srcset
(srcset: str)
backend/routes/export.py:115
↓ 1 callersFunctionprepareHtmlForNewTab
(code: string)
frontend/src/components/preview/PreviewPane.tsx:26
↓ 1 callersMethodprocess
Process the context and call the next middleware
backend/routes/generate_code.py:112
↓ 1 callersMethodprocess_completions
Process completions and perform cleanup.
backend/routes/generate_code.py:534
↓ 1 callersFunctionprocess_image
Resize / compress a data-URL image to fit Claude's vision limits. Returns (media_type, base64_data) suitable for an ``image`` content block.
backend/agent/providers/anthropic/image.py:46
↓ 1 callersFunctionprocess_tasks
( prompts: List[str], api_key: str, _base_url: str | None, _model: str, )
backend/image_generation/generation.py:16
↓ 1 callersMethodprocess_variants
( self, variant_models: List[Llm], prompt_messages: List[ChatCompletionMessageParam],
backend/routes/generate_code.py:570
↓ 1 callersFunctionprune_prompt_reports
( request: PrunePromptReportsRequest, )
backend/routes/prompt_reports.py:168
↓ 1 callersMethodregenerate
()
frontend/src/tests/qa.test.ts:339
↓ 1 callersFunctionremoveFolderInput
(index: number)
frontend/src/components/evals/BestOfNEvalsPage.tsx:246
↓ 1 callersFunctionremoveHoverOverlay
(doc: Document | null | undefined)
frontend/src/components/select-and-edit/overlays.ts:134
↓ 1 callersFunctionremoveImage
(index: number)
frontend/src/components/UpdateImageUpload.tsx:24
↓ 1 callersFunctionremoveSelectModeCursor
(doc: Document | null | undefined)
frontend/src/components/select-and-edit/overlays.ts:160
↓ 1 callersFunctionremoveSelectionOverlay
(doc: Document | null | undefined)
frontend/src/components/select-and-edit/overlays.ts:146
↓ 1 callersFunctionremove_background
(image_url: str, api_token: str)
backend/image_generation/replicate.py:145
↓ 1 callersFunctionrenderToolDetails
(event: AgentEvent, variantCode?: string)
frontend/src/components/agent/AgentActivity.tsx:263
↓ 1 callersFunctionresolve_fetch_url
(url: str, base_url: str | None)
backend/routes/export.py:198
↓ 1 callersFunctionrewrite_html_assets
(soup: BeautifulSoup, asset_path_by_url: dict[str, str])
backend/routes/export.py:407
↓ 1 callersFunctionrewrite_raw_asset_urls
(index_html: str, asset_path_by_url: dict[str, str])
backend/routes/export.py:435
↓ 1 callersFunctionrewrite_srcset
(srcset: str, asset_path_by_url: dict[str, str])
backend/routes/export.py:378
↓ 1 callersFunctionrun_all_models
()
backend/routes/evals.py:241
↓ 1 callersFunctionrun_extract_assets
( args: Dict[str, Any], *, gemini_api_key: Optional[str], input_images: List[str], asset_b
backend/agent/tools/extract_assets.py:43
↓ 1 callersFunctionrun_model
( model: ReplicateEvalModel, prompts: list[PromptItem], api_key: str, output_root: Path, )
backend/run_image_generation_evals.py:220
↓ 1 callersFunctionrun_one
( session: aiohttp.ClientSession, output_dir: Path, model: ReplicateEvalModel, item: PromptIte
backend/run_image_generation_evals.py:161
↓ 1 callersFunctionrun_screenshot_preview
Render the current HTML and return screenshots. These previews are for *seeing*, not keeping: the model views them as attached image bytes (m
backend/agent/tools/screenshot_preview.py:13
↓ 1 callersFunctionseed_file_state_from_messages
( file_state: AgentFileState, prompt_messages: List[ChatCompletionMessageParam], )
backend/agent/state.py:32
↓ 1 callersMethodsend
(data: string)
frontend/src/tests/qa.test.ts:471
↓ 1 callersMethodsend_message
Send a message to the client with debug logging
backend/routes/generate_code.py:169
↓ 1 callersFunctionserialize_anthropic_tools
( tools: List[CanonicalToolDefinition], )
backend/agent/providers/anthropic/provider.py:96
↓ 1 callersFunctionserialize_gemini_tools
(tools: List[CanonicalToolDefinition])
backend/agent/providers/gemini.py:31
↓ 1 callersFunctionserialize_openai_tools
( tools: List[CanonicalToolDefinition], )
backend/agent/providers/openai.py:116
↓ 1 callersFunctionsetParentVersion
(commit: Commit, history: Commit[])
frontend/src/components/history/utils.ts:18
↓ 1 callersFunctionsetStack
(stack: Stack)
frontend/src/App.tsx:712
↓ 1 callersFunctionsetStack
(stack: Stack)
frontend/src/components/unified-input/UnifiedInputPane.tsx:40
↓ 1 callersMethodsetupLocalStorage
()
frontend/src/tests/qa.test.ts:215
↓ 1 callersFunctionsetupRequestInterception
( page: Page, screenshotFixturePath: string )
frontend/src/tests/qa.test.ts:366
↓ 1 callersFunctionslugify
(text: str)
backend/run_image_generation_evals.py:54
↓ 1 callersMethodstream_turn
(self, on_event: EventSink)
backend/agent/providers/base.py:41
↓ 1 callersFunctionsummarizeHistoryItem
(commit: Commit)
frontend/src/components/history/utils.ts:49
↓ 1 callersFunctionsummarizeLatestChange
(commit: Commit | null)
frontend/src/components/sidebar/Sidebar.tsx:35
↓ 1 callersFunctionsummarize_function_call_output_payload
(output_text: str)
backend/fs_logging/openai_input_formatting.py:96
↓ 1 callersFunctionsummarize_save_assets_input
(args: Dict[str, Any])
backend/uploaded_assets/tools.py:49
↓ 1 callersFunctionsyncScroll
(sourceIframe: HTMLIFrameElement)
frontend/src/components/evals/BestOfNEvalsPage.tsx:70
↓ 1 callersFunctiontakeScreenshot
()
frontend/src/components/unified-input/tabs/UrlTab.tsx:36
↓ 1 callersMethodthrow_error
Send an error message and close the connection
backend/routes/generate_code.py:209
↓ 1 callersFunctionto_serializable
(value: Any)
backend/fs_logging/openai_input_formatting.py:46
↓ 1 callersFunctiontoolEntryName
(value: unknown)
frontend/src/components/evals/PromptReportsPage.tsx:301
↓ 1 callersFunctiontransform
(node: Dict[str, Any], in_object_property: bool = False)
backend/agent/providers/openai.py:88
↓ 1 callersFunctiontruncate_data_strings
(data: List[ChatCompletionMessageParam])
backend/utils.py:172
↓ 1 callersFunctionupdateDesignSystem
( id: string, payload: Partial<DesignSystemPayload> )
frontend/src/lib/design-systems.ts:106
↓ 1 callersFunctionupdateFolderPath
(index: number, value: string)
frontend/src/components/evals/BestOfNEvalsPage.tsx:250
↓ 1 callersFunctionupdateScale
()
frontend/src/components/variants/Variants.tsx:37
↓ 1 callersFunctionupdateScale
()
frontend/src/components/preview/PreviewComponent.tsx:165
↓ 1 callersFunctionupdate_design_system
( design_system_id: str, request: UpdateDesignSystemRequest )
backend/routes/design_systems.py:126
↓ 1 callersFunctionuseBrowserTabIndicator
(isCoding: boolean)
frontend/src/hooks/useBrowserTabIndicator.ts:63
↓ 1 callersFunctionuseDesignSystems
( client: DesignSystemsClient = defaultDesignSystemsClient )
frontend/src/hooks/useDesignSystems.ts:10
↓ 1 callersFunctionuseEscapeToExitSelectMode
()
frontend/src/components/select-and-edit/useEscapeToExitSelectMode.ts:6
FunctionAgentActivity
()
frontend/src/components/agent/AgentActivity.tsx:894
FunctionAgentEventCard
({ event, autoExpand, variantCode, }: { event: AgentEvent; autoExpand?: boolean; variantCode?: str
frontend/src/components/agent/AgentActivity.tsx:807
FunctionAlertDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
frontend/src/components/ui/alert-dialog.tsx:60
FunctionAlertDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
frontend/src/components/ui/alert-dialog.tsx:46
FunctionAllEvalsPage
()
frontend/src/components/evals/AllEvalsPage.tsx:3
FunctionApp
()
frontend/src/App.tsx:43
FunctionBadge
({ className, variant, ...props }: BadgeProps)
frontend/src/components/ui/badge.tsx:30
FunctionBestOfNEvalsPage
()
frontend/src/components/evals/BestOfNEvalsPage.tsx:25
FunctionCodeMirror
({ code, editorTheme, onCodeChange }: Props)
frontend/src/components/preview/CodeMirror.tsx:22
FunctionCodePreview
({ code }: Props)
frontend/src/components/preview/CodePreview.tsx:7
FunctionCodePreviewBlock
({ code, isGenerating }: { code: string; isGenerating: boolean })
frontend/src/components/agent/AgentActivity.tsx:32
FunctionCodeTab
({ code, setCode, settings }: Props)
frontend/src/components/preview/CodeTab.tsx:15
FunctionDesignSystemSelector
({ designSystems, selectedDesignSystemId, setSelectedDesignSystemId, onAddNew, onManage, disabled
frontend/src/components/settings/DesignSystemSelector.tsx:27
FunctionDesignSystemsManager
({ designSystems, selectedDesignSystemId, setSelectedDesignSystemId, initialEditingId, createDesignS
frontend/src/components/settings/DesignSystemsManager.tsx:33
FunctionDesignSystemsModal
({ open, onOpenChange, designSystems, selectedDesignSystemId, setSelectedDesignSystemId, initialEd
frontend/src/components/settings/DesignSystemsModal.tsx:29
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
frontend/src/components/ui/dialog.tsx:68
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
frontend/src/components/ui/dialog.tsx:54
FunctionEvalNavigation
()
frontend/src/components/evals/EvalNavigation.tsx:3
FunctionExpandedMedia
({ item, autoPlayVideo, }: { item: RenderedHistoryItem; autoPlayVideo?: boolean; })
frontend/src/components/history/HistoryDisplay.tsx:57
FunctionGenerateFromText
({ doCreateFromText }: GenerateFromTextProps)
frontend/src/components/generate-from-text/GenerateFromText.tsx:10
FunctionGenerationSettings
({ settings, setSettings, designSystems = [], onAddNewDesignSystem, onManageDesignSystems, })
frontend/src/components/settings/GenerationSettings.tsx:16
FunctionHistoryDisplay
()
frontend/src/components/history/HistoryDisplay.tsx:110
FunctionIconStrip
({ isHistoryOpen, isEditorOpen, isSettingsOpen, showHistory, showEditor, onToggleHistory, onTogg
frontend/src/components/sidebar/IconStrip.tsx:16
FunctionImageLightbox
({ image, onClose }: ImageLightboxProps)
frontend/src/components/ImageLightbox.tsx:14
FunctionImportCodeSection
({ importFromCode }: Props)
frontend/src/components/ImportCodeSection.tsx:21
FunctionImportIcon
()
frontend/src/components/unified-input/UnifiedInputPane.tsx:199
FunctionImportTab
({ importFromCode }: Props)
frontend/src/components/unified-input/tabs/ImportTab.tsx:13
FunctionInputFileSelector
({ onFilesSelected }: InputFileSelectorProps)
frontend/src/components/evals/InputFileSelector.tsx:15
FunctionJsonNode
({ label, value, depth, defaultOpen, }: { label: string; value: unknown; depth: number; defaul
frontend/src/components/evals/PromptReportsPage.tsx:309
FunctionKeyboardShortcutBadge
({ letter, })
frontend/src/components/core/KeyboardShortcutBadge.tsx:8
FunctionMarkdownLeaf
({ text }: { text: string })
frontend/src/components/evals/PromptReportsPage.tsx:226
FunctionMediaPreview
({ media }: { media: MediaInfo })
frontend/src/components/evals/PromptReportsPage.tsx:168
FunctionMediaThumbnail
({ item, onPlayClick, }: { item: RenderedHistoryItem; onPlayClick?: () => void; })
frontend/src/components/history/HistoryDisplay.tsx:6
FunctionOnboardingNote
()
frontend/src/components/messages/OnboardingNote.tsx:1
FunctionOpenAIInputComparePage
()
frontend/src/components/evals/OpenAIInputComparePage.tsx:28
FunctionOutputSettingsSection
({ stack, setStack, label = "Stack:", shouldDisableUpdates = false, designSystem, }: Props)
frontend/src/components/settings/OutputSettingsSection.tsx:23
FunctionPreviewComponent
({ code, device, onScaleChange, viewMode, }: Props)
frontend/src/components/preview/PreviewComponent.tsx:27
FunctionPreviewPane
({ settings, onOpenVersions }: Props)
frontend/src/components/preview/PreviewPane.tsx:46
FunctionPromptReportsPage
()
frontend/src/components/evals/PromptReportsPage.tsx:411
FunctionRatingPicker
({ onSelect, maxRating = 5, value = 0, }: RatingPickerProps)
frontend/src/components/evals/RatingPicker.tsx:7
FunctionRunEvalsPage
()
frontend/src/components/evals/RunEvalsPage.tsx:40
← previousnext →401–500 of 861, ranked by callers