MCPcopy Create free account

hub / github.com/seek-oss/playroom / functions

Functions272 in github.com/seek-oss/playroom

↓ 175 callersFunctiontypeCode
(code: string, delay?: number)
cypress/support/utils.ts:45
↓ 141 callersFunctionassertCodePaneContains
(text: string)
cypress/support/utils.ts:316
↓ 113 callersFunctionloadPlayroom
(initialCode?: string)
cypress/support/utils.ts:392
↓ 51 callersFunctionexecuteToggleCommentCommand
()
cypress/e2e/keymaps.cy.ts:549
↓ 38 callersFunctionmoveBy
(x: number, y: number | undefined = 0)
cypress/support/utils.ts:283
↓ 30 callersFunctionassertFirstFrameContains
(text: string)
cypress/support/utils.ts:248
↓ 29 callersFunctioncmdPlus
(keyCombo: string)
cypress/support/utils.ts:16
↓ 28 callersFunctiongetCodeEditor
()
cypress/support/utils.ts:29
↓ 26 callersFunctionmoveByWords
(numWords: number)
cypress/support/utils.ts:295
↓ 25 callersFunctionassertCodePaneLineCount
( lines: number, wait: boolean = false )
cypress/support/utils.ts:331
↓ 17 callersFunctionassertFramesMatch
( frames: Widths | Array<[frameTheme: string, frameWidth: Widths[number]]> )
cypress/support/utils.ts:345
↓ 17 callersFunctionselectNextWords
(numWords: number)
cypress/support/utils.ts:271
↓ 16 callersFunctiontoggleFrameSettingsForFrameIndex
(index: number)
cypress/support/utils.ts:572
↓ 15 callersFunctionselectToEndOfLine
()
cypress/support/utils.ts:279
↓ 14 callersFunctionopenMainMenu
()
cypress/support/utils.ts:21
↓ 14 callersFunctionselectNextLines
( numLines: number, direction: Direction = 'down' )
cypress/support/utils.ts:308
↓ 14 callersFunctiontoggleInspectMode
(options: { source: 'button' | 'keyboard'; })
cypress/support/utils.ts:595
↓ 13 callersFunctioncomma
(...strings: string[])
src/css/delimiters.ts:2
↓ 11 callersFunctionisMac
()
src/utils/formatting.ts:14
↓ 11 callersFunctionopenEditorActionsMenu
()
cypress/support/utils.ts:95
↓ 9 callersFunctionmix
(amount: number, color1: string, color2: string)
src/css/palettes.ts:28
↓ 8 callersFunctionformatAndInsert
({ code, cursor, snippet, }: { code: string; cursor: CursorPosition; snippet: string; })
src/utils/formatting.ts:125
↓ 8 callersFunctiontoggleFramesMenuForSource
( source: 'menu' | 'header', state: 'open' | 'close' )
cypress/support/utils.ts:100
↓ 7 callersFunctionassertFrameSetting
(settingName: string, value: string)
cypress/support/utils.ts:580
↓ 7 callersFunctionformatCode
({ code, cursor, }: CodeWithCursor)
src/utils/formatting.ts:78
↓ 7 callersFunctiongetFirstFrameBody
()
cypress/support/utils.ts:42
↓ 7 callersFunctioninspectMessageSender
( messageWindow: Window, message: InspectMessage )
src/components/Frame/frameMessenger.tsx:134
↓ 6 callersFunctionassertPreviewContains
(text: string)
cypress/support/utils.ts:370
↓ 6 callersFunctionassertTitle
(title: string)
cypress/support/utils.ts:140
↓ 6 callersFunctionfilterSnippets
(search: string)
cypress/support/utils.ts:224
↓ 6 callersFunctionselectFrameSettingForFrameIndex
(settingName: string)
cypress/support/utils.ts:588
↓ 6 callersFunctionselectThemePreference
( theme: string, options: { source: 'menu' | 'header' } )
cypress/support/utils.ts:131
↓ 6 callersFunctionselectWidthPreference
( width: Widths[number], options: { source: 'menu' | 'header' } )
cypress/support/utils.ts:123
↓ 6 callersFunctionsimulateInspectMessage
( type: 'hover' | 'select' | 'exit', line?: number | null )
cypress/support/utils.ts:619
↓ 5 callersFunctionassertInspectModeInactive
()
cypress/support/utils.ts:616
↓ 5 callersFunctionopenSnippets
(options: ToggleSnippetsOptions)
cypress/support/utils.ts:215
↓ 5 callersFunctionrelativeResolve
(requirePath)
lib/makeWebpackConfig.js:24
↓ 4 callersFunctionassertFirstFrameError
(error: string)
cypress/support/utils.ts:253
↓ 4 callersFunctionchangeTitle
(title: string)
cypress/support/utils.ts:145
↓ 4 callersFunctionclearWidthSelection
(options: { source: 'menu' | 'header' })
cypress/support/utils.ts:149
↓ 4 callersFunctioncompressParams
({ code, themes, widths, theme, title, editorHidden, }: CompressParamsOptions)
utils/index.ts:54
↓ 4 callersFunctioncreatePlayroomId
()
src/contexts/StoreContext.tsx:203
↓ 4 callersFunctiondecompressParams
(param: string | null)
utils/index.ts:74
↓ 4 callersFunctiongetFrames
()
cypress/support/utils.ts:31
↓ 4 callersFunctionisValidLocation
({ code, cursor, }: { code: string; cursor: CursorPosition; })
src/utils/cursor.ts:24
↓ 4 callersFunctionmouseOverSnippet
(index: number)
cypress/support/utils.ts:240
↓ 4 callersFunctionopenMainMenuSubMenu
(name: string)
cypress/support/utils.ts:80
↓ 4 callersFunctiontransparentize
(amount: number, color: string)
src/css/palettes.ts:18
↓ 4 callersFunctionuseEditor
()
src/contexts/EditorContext.tsx:166
↓ 4 callersFunctionvalidateCode
(code: string)
src/utils/compileJsx.ts:49
↓ 3 callersFunction__private_create_hints
( components: typeof configComponents, types: typeof staticTypes = {} )
src/utils/componentsToHints.ts:15
↓ 3 callersFunctionapplyColorScheme
(colorScheme: Exclude<ColorScheme, 'system'>)
src/contexts/StoreContext.tsx:49
↓ 3 callersFunctionassertInspectOverlayInFrame
()
cypress/support/utils.ts:630
↓ 3 callersFunctionassertSnippetCount
(count: number)
cypress/support/utils.ts:245
↓ 3 callersFunctionassertSnippetsSearchFieldIsVisible
()
cypress/support/utils.ts:230
↓ 3 callersFunctioncloseMainMenu
()
cypress/support/utils.ts:25
↓ 3 callersFunctioncloseSnippets
(options: ToggleSnippetsOptions)
cypress/support/utils.ts:219
↓ 3 callersFunctioncursorOffsetToPosition
( code: string, cursorOffset: number )
src/utils/formatting.ts:48
↓ 3 callersMethoddelegateCursor
( position: codemirror.Position, scroll?: boolean, focus?: boolean )
src/components/CodeEditor/CodeMirror2.tsx:180
↓ 3 callersFunctioneditorPositionViaMenu
( position: 'bottom' | 'left' | 'hidden' )
cypress/support/utils.ts:515
↓ 3 callersFunctionformatCode
(options: { source: 'keyboard' | 'editorAction'; })
cypress/support/utils.ts:62
↓ 3 callersFunctiongetInspectButton
()
cypress/support/utils.ts:592
↓ 3 callersFunctiongetParamsFromQuery
(location = history.location)
src/utils/params.ts:31
↓ 3 callersFunctionjumpToLine
( line: number, options: { source: 'keyboard' | 'editorAction' } )
cypress/support/utils.ts:470
↓ 3 callersFunctionloadThemedPlayroom
(initialCode?: string)
cypress/support/utils.ts:395
↓ 3 callersFunctionmoveToEndOfLine
()
cypress/support/utils.ts:304
↓ 3 callersFunctiononCopyClick
(content: string)
src/utils/useCopy.ts:14
↓ 3 callersFunctionpositionToCursorOffset
( code: string, { line, ch }: CursorPosition )
src/utils/formatting.ts:35
↓ 3 callersFunctionrenderElement
(node: ReactNode)
src/render.ts:7
↓ 3 callersFunctionreplaceInCode
( term: string, replaceWith: string | null, options: { source: 'keyboard' | 'editorAction' } )
cypress/support/utils.ts:441
↓ 3 callersFunctionselectHint
(index?: number)
cypress/support/utils.ts:48
↓ 3 callersFunctionselectToStartOfLine
()
cypress/support/utils.ts:275
↓ 3 callersFunctionspace
(...strings: string[])
src/css/delimiters.ts:1
↓ 3 callersFunctiontypeInSearchField
(text: string)
cypress/support/utils.ts:414
↓ 3 callersFunctionuseCopy
()
src/utils/useCopy.ts:3
↓ 3 callersFunctionuseEditorUrl
()
src/utils/useEditorUrl.ts:3
↓ 3 callersFunctionvalidateCodeInEditor
( editorInstance: Editor, code: string, dispatch: Dispatch<Action> )
src/components/CodeEditor/CodeEditor.tsx:72
↓ 3 callersFunctionwrapInFragment
(code: string)
src/utils/compileJsx.ts:11
↓ 2 callersFunction_loadPlayroom
(baseUrl: string, initialCode?: string)
cypress/support/utils.ts:378
↓ 2 callersFunctionaddCursorToSelection
(cm: Editor, dir: Direction)
src/components/CodeEditor/keymaps/cursors.ts:93
↓ 2 callersMethodapply
(props: IControlledCodeMirror | IUnControlledCodeMirror)
src/components/CodeEditor/CodeMirror2.tsx:209
↓ 2 callersFunctionassertColourMode
(mode: 'dark' | 'light')
cypress/support/utils.ts:507
↓ 2 callersFunctionassertFirstFrameNoError
()
cypress/support/utils.ts:260
↓ 2 callersFunctionassertInspectModeActive
()
cypress/support/utils.ts:613
↓ 2 callersFunctionassertPreviewForTheme
(themeName: string)
cypress/support/utils.ts:174
↓ 2 callersFunctionassertStoredPlayrooms
(count: number)
cypress/support/utils.ts:529
↓ 2 callersFunctionclearThemeSelection
(options: { source: 'menu' | 'header' })
cypress/support/utils.ts:155
↓ 2 callersFunctioncompleteAfter
(cm: Editor, predicate?: () => boolean)
src/components/CodeEditor/keymaps/complete.ts:3
↓ 2 callersFunctionconvertAndStoreSizeAsPercentage
( mode: 'height' | 'width', size: number )
src/contexts/StoreContext.tsx:55
↓ 2 callersFunctioncreateUrl
({ baseUrl, code, themes, widths, title, editorHidden, paramType = 'hash', }: CreateUrlOptions)
utils/index.ts:108
↓ 2 callersFunctioncreateUrlForData
(dataParam: string)
src/utils/params.ts:13
↓ 2 callersMethoddelegateScroll
(coordinates: ISetScrollOptions)
src/components/CodeEditor/CodeMirror2.tsx:196
↓ 2 callersMethoddelegateSelection
(ranges: Array<ISetSelectionOptions>, focus?: boolean)
src/components/CodeEditor/CodeMirror2.tsx:200
↓ 2 callersFunctionduplicateLine
(direction: Direction)
src/components/CodeEditor/keymaps/lines.ts:31
↓ 2 callersFunctioneditPreview
()
cypress/support/utils.ts:183
↓ 2 callersFunctionfindHostElement
(fiber: any)
src/components/Frame/InspectOverlay.tsx:43
↓ 2 callersFunctionfindInspectTarget
(el: Element)
src/components/Frame/InspectOverlay.tsx:99
↓ 2 callersFunctionformatAsRelative
(date: Date)
src/utils/formatAsRelative.ts:27
↓ 2 callersFunctiongetCommentStartInfo
(commentType: CommentType, fullContent: string)
src/components/CodeEditor/keymaps/comment.ts:32
↓ 2 callersFunctiongetDataParam
(location = history.location)
src/utils/params.ts:59
next →1–100 of 272, ranked by callers