MCPcopy Create free account

hub / github.com/concrete-utopia/utopia / functions

Functions8,668 in github.com/concrete-utopia/utopia

↓ 35 callersFunctionlintAndParseAndValidateResult
( filename: string, content: string, oldParseResultForUIDComparison: ParseSuccess | null, alreadyExist
editor/src/core/workers/parser-printer/uid-fix.spec.ts:119
↓ 35 callersFunctionprintCode
(projectFile: ParseSuccess)
editor/src/core/model/element-template-utils.spec.tsx:869
↓ 35 callersFunctionproject
(componentDescriptorFiles: { [filename: string]: string })
editor/src/core/property-controls/property-controls-local.spec.tsx:10
↓ 35 callersFunctionrunCellResizeTest
( editor: EditorRenderResult, edge: GridResizeEdge, gridPath: ElementPath, dragToCellTestId: string,
editor/src/components/canvas/canvas-strategies/strategies/grid-resize-element-strategy.spec.browser2.tsx:31
↓ 35 callersFunctionsetCursorCommand
(value: CSSCursor | null)
editor/src/components/canvas/commands/set-cursor-command.ts:10
↓ 34 callersFunctionexpectSelectControlValue
( renderResult: EditorRenderResult, popuplistTestId: string, expectedCurrentValue: string, )
editor/src/components/canvas/event-helpers.test-utils.tsx:1194
↓ 34 callersFunctiongetEditorState
(fileContents: string)
editor/src/components/canvas/ui-jsx.test-utils.tsx:972
↓ 34 callersFunctiongridCSSNumber
(value: CSSNumber, lineName: string | null)
editor/src/components/inspector/common/css-utils.ts:768
↓ 34 callersFunctionisCSSKeyword
(value: any)
editor/src/components/inspector/common/css-utils.ts:3462
↓ 34 callersFunctionjsElementAccess
( onValue: JSExpression, element: JSExpression, uid: string, sourceMap: RawSourceMap | null, comment
editor/src/core/shared/element-template.ts:609
↓ 34 callersFunctionpressKeysRepeat
( renderResult: EditorRenderResult, direction: 'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'ArrowDown', rep
editor/src/components/canvas/canvas-strategies/strategies/keyboard-reorder-strategy.spec.browser2.tsx:166
↓ 34 callersFunctionwhen
(condition: boolean, element: ReactNode | (() => ReactNode))
utopia-remix/app/util/react-conditionals.ts:14
↓ 33 callersFunctionFOR_TESTS_setNextGeneratedUids
(uids: Array<string>)
editor/src/core/model/element-template-utils.test-utils.ts:8
↓ 33 callersFunctionclearJSXElementChildUniqueIDs
(element: JSXElementChild)
editor/src/core/shared/element-template.ts:1893
↓ 33 callersFunctionrenderRemixProject
( project: PersistentModel, strategiesToUse: Array<MetaCanvasStrategy> = RegisteredCanvasStrategies, )
editor/src/components/canvas/remix/remix-rendering.spec.browser2.tsx:74
↓ 32 callersMethoddelete
(k: K)
editor/src/core/shared/timed-cache-map.ts:23
↓ 32 callersFunctiondragElementWithDNDEvents
( renderResult: EditorRenderResult, dragTargetID: string, dropTargetID: string, startPoint: WindowPoin
editor/src/components/canvas/event-helpers.test-utils.tsx:1058
↓ 32 callersFunctionlast
(array: Array<T>)
editor/src/core/shared/array-utils.ts:198
↓ 32 callersFunctionparseConstant
( constant: T, )
editor/src/utils/value-parser-utils.ts:486
↓ 32 callersFunctionprintCodeOptions
( forPreview: boolean, pretty: boolean, includeElementMetadata: boolean, stripUIDs: boolean = false,
editor/src/core/workers/parser-printer/parser-printer.ts:658
↓ 32 callersFunctionresizeTest
( pos: EdgePosition, dragVector: CanvasVector, expectedWidth: number, expextedHeight: number, should
editor/src/components/canvas/canvas-strategies/strategies/basic-resize-strategy.spec.browser2.tsx:357
↓ 32 callersFunctionresizeTestColumn
( pos: EdgePosition, dragVector: CanvasVector, expectedWidth: number, expextedHeight: number, )
editor/src/components/canvas/canvas-strategies/strategies/flex-resize-basic-strategy.spec.browser2.tsx:663
↓ 32 callersFunctionresizeTestRow
( pos: EdgePosition, dragVector: CanvasVector, expectedWidth: number, expextedHeight: number, )
editor/src/components/canvas/canvas-strategies/strategies/flex-resize-basic-strategy.spec.browser2.tsx:567
↓ 32 callersFunctionsend
(key, arg)
editor/src/bundled-dependencies/babelHelpers.ts:109
↓ 31 callersFunctiondragElement
( renderResult: EditorRenderResult, targetTestId: string, mouseDownOffset: WindowPoint, dragDelta: Win
editor/src/components/canvas/canvas-strategies/strategies/absolute-flex-reparent-strategy-helpers.spec.browser2.tsx:32
↓ 31 callersFunctionfn
()
utopia-remix/app/util/api.server.spec.ts:26
↓ 31 callersFunctionfocusOnComponentForTest
( editor: EditorRenderResult, elementPath: ElementPath, )
editor/src/core/data-tracing/data-tracing.spec.ts:1412
↓ 31 callersFunctionmakeTestProjectCodeWithStoryboard
(codeForComponents: string)
editor/src/core/data-tracing/data-tracing.spec.ts:1393
↓ 31 callersFunctionobjectMap
( transform: (t: ValueOf<T>, key: K) => U, obj: T, )
editor/src/core/shared/object-utils.ts:110
↓ 31 callersFunctionrequireUser
( request: Request, options?: { redirect?: string }, )
utopia-remix/app/util/api.server.ts:190
↓ 31 callersFunctionrunLocalEditorAction
( state: EditorState, derivedState: DerivedState, userState: UserState, workers: UtopiaTsWorkers, ac
editor/src/components/editor/store/editor-update.tsx:34
↓ 31 callersFunctionsetExplicitCssValue
(value: CSSNumber | CSSKeyword)
editor/src/components/canvas/commands/set-css-length-command.ts:29
↓ 31 callersFunctionwithParserMetadata
( value: T, highlightBounds: Readonly<HighlightBoundsForUids>, propsUsed: Array<string>, definedElsewh
editor/src/core/workers/parser-printer/parser-printer-parsing.ts:2841
↓ 30 callersFunctioncheckNonEqualValues
(lesser: T, greater: T, compare: Compare<T>)
editor/src/utils/compare.spec.ts:32
↓ 30 callersFunctioncodeForDragTest
(borderRadius: string)
editor/src/components/canvas/canvas-strategies/strategies/set-border-radius-strategy.spec.browser2.tsx:765
↓ 30 callersFunctioncreateTestSession
( client: UtopiaPrismaClient, params: { key: string userId: string }, )
utopia-remix/app/test-util.ts:58
↓ 30 callersFunctionkeepDeepReferenceEqualityIfPossible
( oldValue: any, possibleNewValue: any, stackSize: number = 0, )
editor/src/utils/react-performance.ts:421
↓ 30 callersFunctionselect
( editor: EditorRenderResult, testId: 'child' | 'parent', )
editor/src/components/inspector/inspector-strategies/fixed-fill-hug.spec.browser2.tsx:2337
↓ 30 callersFunctionunitlessCSSNumberWithRenderedValue
( renderedValuePx: number, )
editor/src/components/canvas/controls/select-mode/controls-common.tsx:26
↓ 29 callersFunctionconditionalClauseInsertionPath
( elementPath: ElementPath, clause: ConditionalCase, insertBehavior: ConditionalClauseInsertBehavior, )
editor/src/components/editor/store/insertion-path.ts:79
↓ 29 callersFunctioncssAngle
(value: number, unit: AnglePercentUnit = 'deg')
editor/src/components/inspector/common/css-utils.ts:1452
↓ 29 callersFunctiongetVersionType
( packageName: string, version: string, )
editor/src/components/editor/npm-dependency/npm-dependency.ts:149
↓ 29 callersFunctiongridCSSKeyword
( value: CSSKeyword<ValidGridDimensionKeyword>, lineName: string | null, )
editor/src/components/inspector/common/css-utils.ts:720
↓ 29 callersFunctionjsExpressionFunctionCall
( functionName: string, parameters: Array<JSExpression>, uid: string = UUID(), )
editor/src/core/shared/element-template.ts:538
↓ 29 callersFunctionpick
( keys: ReadonlyArray<K>, obj: T, )
editor/src/core/shared/object-utils.ts:272
↓ 29 callersFunctionrenderToFormattedString
(element: React.ReactElement)
editor/src/utils/canvas-react-utils.spec.tsx:15
↓ 29 callersFunctionstripNulls
(array: Array<T | null | undefined>)
editor/src/core/shared/array-utils.ts:6
↓ 29 callersFunctionwrappedFunction
(...args: Args)
editor/src/core/shared/execution-count.tsx:36
↓ 28 callersFunctionboundingRectangleArray
( rectangles: Array<Rectangle<C> | null>, )
editor/src/core/shared/math-utils.ts:664
↓ 28 callersFunctionexpectElementWithTestIdNotToBeRendered
( editor: EditorRenderResult, testId: string, )
editor/src/utils/utils.test-utils.tsx:611
↓ 28 callersFunctionfirePasteEvent
(eventSourceElement: HTMLElement)
editor/src/components/canvas/event-helpers.test-utils.tsx:1020
↓ 28 callersFunctiongetPaddingHookResult
( longhands: Array<P>, shorthand: S, styleObjectExpressions: Array<string>, spiedProps: Array<any>,
editor/src/components/inspector/common/longhand-shorthand-hooks.spec.tsx:35
↓ 28 callersFunctionisCSSNumber
(value: unknown)
editor/src/components/inspector/common/css-utils.ts:801
↓ 28 callersFunctionoffsetRect
( rectangle: Rectangle<C>, by: Point<C>, )
editor/src/core/shared/math-utils.ts:629
↓ 28 callersFunctiontraceDataFromProp
( startFrom: ElementPropertyPath, metadata: ElementInstanceMetadataMap, projectContents: ProjectContentT
editor/src/core/data-tracing/data-tracing.ts:487
↓ 27 callersFunctiongetJSXAttribute
( attributes: JSXAttributes, key: string | number, )
editor/src/core/shared/element-template.ts:1168
↓ 27 callersFunctiongetRegularNavigatorTargets
(renderResult: EditorRenderResult)
editor/src/components/canvas/canvas-strategies/strategies/fragment-like-helpers.test-utils.ts:60
↓ 27 callersFunctionjsxAttributeNestedArraySimple
( content: Array<JSExpression>, )
editor/src/core/shared/element-template.ts:529
↓ 27 callersFunctionkeyDown
( key: string, options: { modifiers?: Modifiers eventOptions?: KeyboardEventInit } = {}, )
editor/src/components/canvas/event-helpers.test-utils.tsx:736
↓ 27 callersFunctionrequireDispatch
(dispatch: EditorDispatch | null | undefined)
editor/src/components/context-menu-items.ts:94
↓ 26 callersFunctioncombine4EqualityCalls
( getAValue: (x: X) => A, callA: KeepDeepEqualityCall<A>, getBValue: (x: X) => B, callB: KeepDeepEqual
editor/src/utils/deep-equality.ts:102
↓ 26 callersFunctioncomplexDefaultProjectPreParsed
(dummyComponent: string = 'Spring')
editor/src/sample-projects/sample-project-utils.test-utils.ts:35
↓ 26 callersFunctioncreateEditorStates
(selectedViews: ElementPath[] = [])
editor/src/utils/utils.test-utils.tsx:154
↓ 26 callersFunctioncreateTestProjectAccessRequest
( client: UtopiaPrismaClient, params: { projectId: string; userId: string; status: AccessLevel; token: str
utopia-remix/app/test-util.ts:101
↓ 26 callersFunctionelementPathInInnards
(suffix: string)
editor/src/core/model/element-metadata.spec.browser2.tsx:104
↓ 26 callersFunctionforEachRight
(e: Either<unknown, R>, forEach: (r: R) => void)
editor/src/core/shared/either.ts:536
↓ 26 callersFunctiongetClosingFragmentLikeTag
(type: FragmentLikeType)
editor/src/components/canvas/canvas-strategies/strategies/fragment-like-helpers.test-utils.ts:46
↓ 26 callersFunctiongetOpeningFragmentLikeTag
( type: FragmentLikeType, options: Partial<FragmentLikeTagOptions> = DefaultFragmentLikeTagOptions, )
editor/src/components/canvas/canvas-strategies/strategies/fragment-like-helpers.test-utils.ts:23
↓ 26 callersFunctiongetTestId
(prefix: string, id: string)
editor/src/components/inspector/controls/pin-control.tsx:85
↓ 26 callersFunctionisJSXFragment
(element: JSXElementChild)
editor/src/core/shared/element-template.ts:1840
↓ 26 callersFunctionjsxAttributesEntry
( key: string | number, value: JSExpression, comments: ParsedComments, )
editor/src/core/shared/element-template.ts:1126
↓ 26 callersFunctionmakeTestProjectCodeWithSnippetWithoutUIDs
(snippet: string)
editor/src/components/canvas/ui-jsx.test-utils.tsx:921
↓ 26 callersFunctionmergeHighlightBounds
( ...multipleBounds: Array<HighlightBoundsForUids> )
editor/src/core/workers/parser-printer/parser-printer-parsing.ts:2998
↓ 26 callersFunctionparseAlternative
(parsers: Array<Parser<T>>, failMessage: string)
editor/src/utils/value-parser-utils.ts:520
↓ 26 callersFunctionparseArray
( arrayValueParser: (v: unknown, index: number) => ParseResult<V>, )
editor/src/utils/value-parser-utils.ts:305
↓ 26 callersFunctionroundToNearestWhole
(x: number)
editor/src/core/shared/math-utils.ts:883
↓ 26 callersFunctionsampleJsxAttributes
()
editor/src/core/shared/jsx-attributes.spec.ts:71
↓ 26 callersFunctionset
(withOptic: Optic<S, A>, newValue: A, s: S)
editor/src/core/shared/optics/optic-utilities.ts:78
↓ 26 callersFunctionwindowToCanvasCoordinates
( canvasScale: number, canvasOffset: CanvasVector, screenPoint: WindowPoint, )
editor/src/components/canvas/dom-lookup.ts:592
↓ 26 callersFunctionwithUnderlyingTargetFromEditorState
( target: ElementPath | null, editor: EditorState, defaultValue: T, withTarget: ( success: ParseSu
editor/src/components/editor/store/editor-state.ts:3801
↓ 25 callersFunctionaddOnUnsetValues
( prettyNames: Array<React.ReactText>, onUnsetValues: OnUnsetValues, )
editor/src/components/inspector/common/context-menu-items.ts:37
↓ 25 callersFunctionboundingArea
()
editor/src/components/canvas/canvas-strategies/interaction-state.ts:550
↓ 25 callersFunctioncheckEqualValues
(makeValue: () => T, compare: Compare<T>)
editor/src/utils/compare.spec.ts:37
↓ 25 callersFunctioncreateInteractionViaMouse
( mouseDownPoint: CanvasPoint, modifiers: Modifiers, activeControl: CanvasControlType, zeroDragPermitt
editor/src/components/canvas/canvas-strategies/interaction-state.ts:204
↓ 25 callersFunctioncreateTestProjectCollaborator
( client: UtopiaPrismaClient, params: { projectId: string; userId: string }, )
utopia-remix/app/test-util.ts:79
↓ 25 callersFunctiondoBasicDrag
( editor: EditorRenderResult, dragMeElementPath: ElementPath, targetElementPath: ElementPath,
editor/src/components/navigator/navigator.spec.browser2.tsx:1161
↓ 25 callersFunctionenterTextEditMode
( editor: EditorRenderResult, where: 'start' | 'end' = 'end', testId: string = 'div', nextUid = 'text-
editor/src/components/text-editor/text-editor.spec.browser2.tsx:2467
↓ 25 callersFunctiongenerateUidWithExistingComponents
(projectContents: ProjectContentTreeRoot)
editor/src/core/model/element-template-utils.ts:95
↓ 25 callersFunctionisLoggedIn
(loginState: unknown)
website-next/components/common/user.ts:64
↓ 25 callersFunctionjsxElementChildToText
( element: JSXElementChild, prevElement: JSXElementChild | null, nextElement: JSXElementChild | null,
editor/src/components/canvas/ui-jsx-canvas-renderer/jsx-element-child-to-text.ts:4
↓ 25 callersFunctionopenContextMenuAndClickOnItem
( renderResult: EditorRenderResult, element: HTMLElement, point: Point, label: string, )
editor/src/components/canvas/event-helpers.test-utils.tsx:1033
↓ 25 callersFunctionselector
(store: EditorStorePatched)
editor/src/components/canvas/canvas-strategies/canvas-strategies.tsx:582
↓ 25 callersFunctionsetCanvasFrames
( framesAndTargets: Array<PinOrFlexFrameChange>, keepChildrenGlobalCoords: boolean, originalFrames: Arra
editor/src/components/editor/actions/action-creators.ts:455
↓ 25 callersFunctionunwrapElements
(targets: ElementPath[])
editor/src/components/editor/actions/action-creators.ts:815
↓ 25 callersFunctionuseWrappedSubmitFactoryEmptyOrUnknownOnSubmitValue
( submitValueReturn: SubmitValueFactoryReturn<T>, onUnsetValue?: OnUnsetValues, )
editor/src/uuiui/inputs/number-input.tsx:1095
↓ 24 callersFunctionabsolute
(index: number)
editor/src/utils/utils.ts:175
↓ 24 callersFunctioncssUnitlessLength
(value: number)
editor/src/components/inspector/common/css-utils.ts:1458
↓ 24 callersFunctionexpectNoAction
( editor: EditorRenderResult, action: () => Promise<void>, )
editor/src/utils/utils.test-utils.tsx:501
↓ 24 callersFunctionexpectTemplatedTestWithTrigger
( testWithTrigger: TemplatedTestWithTrigger, trigger: Trigger, )
editor/src/components/canvas/canvas-context-menu.spec.browser2.tsx:65
↓ 24 callersFunctiongetElementCentre
(testId: string, renderResult: EditorRenderResult)
editor/src/components/canvas/controls/select-mode/select-mode.spec.browser2.tsx:1951
← previousnext →201–300 of 8,668, ranked by callers