MCPcopy Create free account

hub / github.com/boardsite-io/boardsite / functions

Functions494 in github.com/boardsite-io/boardsite

↓ 70 callersMethodgetState
()
src/state/view/state/index.ts:27
↓ 55 callersMethodrender
()
src/state/board/state/index.types.ts:47
↓ 42 callersFunctionuseGState
(subscription: Subscription)
src/state/subscription/useGState.ts:28
↓ 35 callersMethodcreate
* Create a notification with a specified duration * @param id intl message id of notification message * @param duration notification duratio
src/state/notification/state/index.ts:24
↓ 27 callersMethodisConnected
()
src/state/online/state/index.ts:62
↓ 26 callersMethodgetState
()
src/state/board/state/index.ts:25
↓ 25 callersMethodsaveToLocalStorage
()
src/state/types.ts:21
↓ 20 callersMethodsetTool
(tool: Tool)
src/drawing/livestroke/index.types.ts:7
↓ 19 callersMethodsetDialogState
* Set the session dialog state * @param dialogState new dialog state
src/state/menu/state/index.ts:39
↓ 18 callersMethoddeserialize
(serialized: U)
src/state/types.ts:16
↓ 17 callersFunctionformatMessage
( id: IntlMessageId, values?: FormatMessageArgs[1] )
src/util/testing/index.tsx:48
↓ 16 callersMethodserialize
()
src/state/types.ts:15
↓ 15 callersMethodisAuthorized
()
src/state/online/state/index.ts:70
↓ 15 callersFunctionresolveApp
(relativePath)
config/paths.js:10
↓ 14 callersFunctioncreateOnlineMock
()
src/state/online/state/index.test.ts:67
↓ 13 callersMethodjsonSend
( method: Method, url: string, useUserValidation?: boolean, data?: unknown
src/api/request.ts:74
↓ 13 callersMethodsetState
(newState: Partial<BoardState>)
src/state/board/state/index.ts:29
↓ 12 callersMethodcloseMainMenu
* Close the main menu
src/state/menu/state/index.ts:56
↓ 12 callersMethodsetID
(pageId: string)
src/drawing/page/index.ts:30
↓ 11 callersMethodjoin
(copyOffline?: boolean)
src/state/online/state/index.ts:231
↓ 10 callersMethodaddPages
* Add pages * @param addPageData pages and respective indices to be added
src/state/board/state/index.ts:222
↓ 10 callersMethodgetState
()
src/state/settings/state/index.ts:12
↓ 10 callersMethodgetState
()
src/state/action/state/index.ts:28
↓ 10 callersMethodsetTheme
* Set the global theme * @param theme new theme to be set
src/state/settings/state/index.ts:41
↓ 9 callersMethodgetPageIndex
* Get the index of the current page * @returns the current page index
src/state/view/state/index.ts:46
↓ 9 callersMethodloadFromLocalStorage
()
src/state/types.ts:22
↓ 8 callersMethodaddOrUpdateStrokes
* Add or update strokes * @param strokes new strokes or stroke updates
src/state/board/state/index.ts:167
↓ 8 callersMethodgetPageSize
* Util function to get the page size of a specified page * @param pageIndex page index * @returns pageSize of target page
src/state/board/state/index.ts:147
↓ 8 callersMethodupdateMeta
(meta: PageMeta)
src/drawing/page/index.ts:39
↓ 8 callersMethodupdateViewTransform
* Update the view transform. Bounds and a pixel scale update are applied if necessary * @param newTransform transform update to be applied
src/state/view/state/index.ts:141
↓ 7 callersMethodclearTransform
* Clear shape transformer
src/state/board/state/index.ts:85
↓ 7 callersFunctiongetHitboxPolygon
( [x1, y1, x2, y2]: number[], stroke: Pick<Stroke, "style" | "scaleX" | "scaleY"> )
src/drawing/hitbox/index.ts:78
↓ 7 callersFunctiongetTouchPosition
({ event, pageOffset, transform, }: GetTouchPositionProps)
src/util/drawing/index.ts:31
↓ 7 callersMethodsetMainMenu
* Set the main menu state * @param newState new main menu state
src/state/menu/state/index.ts:48
↓ 7 callersMethodsetPageIndex
* Go to a page of a specified index * @param pageIndex target page index
src/state/view/state/index.ts:54
↓ 7 callersMethodtriggerAction
(action: StackAction)
src/state/action/state/index.ts:70
↓ 6 callersMethoddeletePages
(pageIds: PageId[])
src/state/action/state/index.ts:227
↓ 6 callersFunctiongetMousePosition
({ event, pageOffset, transform, }: GetMousePositionProps)
src/util/drawing/index.ts:51
↓ 6 callersMethodscale
(delta: Point, trHandle: TrHandle)
src/View/Board/RenderNG/Page/Transformer/shapeTransform/index.ts:133
↓ 6 callersMethodsendStrokes
(strokes: Stroke[])
src/state/online/state/index.ts:266
↓ 6 callersMethodsetPageBackground
* Change the paper setting which will be used when adding new pages * @param paper paper style setting
src/state/drawing/state/index.ts:90
↓ 6 callersFunctionsetup
()
src/View/Dialog/OnlineJoin/index.test.tsx:42
↓ 6 callersMethodupdatePages
(pageUpdates: Pick<Page, "pageId" | "meta">[])
src/state/action/state/index.ts:169
↓ 5 callersMethodgetCenterX
()
src/state/view/state/index.ts:267
↓ 5 callersMethodgetHeaders
(useUserValidation?: boolean)
src/api/request.ts:61
↓ 5 callersFunctiongetMockStroke
(pageId: PageId, i?: number)
src/state/board/state/index.test.ts:15
↓ 5 callersMethodgetState
()
src/state/online/state/index.ts:37
↓ 5 callersFunctionisValidClick
(e: MouseEvent<HTMLElement>)
src/util/drawing/index.ts:85
↓ 5 callersFunctionstartBackgroundJob
( userMessage: IntlMessageId, job: () => Promise<T> )
src/storage/util/index.ts:18
↓ 5 callersFunctionsubmitJoin
({ alias, sessionId, getByLabelText, getByRole, }: SubmitCreateProps)
src/View/Dialog/OnlineJoin/index.test.tsx:14
↓ 5 callersMethodsyncPages
({ pageRank, pages }: PageSync)
src/state/online/state/index.ts:472
↓ 5 callersFunctionuseIntl
()
src/language/index.tsx:35
↓ 4 callersFunctionapplyTransform1D
(x: number, scale: number, offset: number)
src/state/view/util/helpers.ts:28
↓ 4 callersMethoddeleteStrokes
* Delete strokes * @param strokes strokes to be deleted
src/state/board/state/index.ts:187
↓ 4 callersMethoddisconnect
()
src/state/online/state/index.ts:201
↓ 4 callersFunctiondraw
( ctx: CanvasRenderingContext2D, stroke: Stroke | LiveStroke )
src/util/render/shapes/index.ts:12
↓ 4 callersFunctiondrawLiveStroke
( liveStroke: LiveStroke, canvasRef: React.RefObject<HTMLCanvasElement> )
src/util/drawing/index.ts:10
↓ 4 callersFunctiongetDefaultBoardState
()
src/state/board/state/default.ts:3
↓ 4 callersFunctiongetStyleLoaders
(cssOptions, preProcessor)
config/webpack.config.js:108
↓ 4 callersFunctiongetTransformedPoints
(stroke: Stroke)
src/drawing/hitbox/index.ts:180
↓ 4 callersMethodisAnyMenuOpen
* Check if any menu / dialog is open * @returns true if any menu or dialog is open
src/state/menu/state/index.ts:26
↓ 4 callersFunctionisValidTouch
(e: TouchEvent<HTMLElement>)
src/util/drawing/index.ts:93
↓ 4 callersMethodjumpToNextPage
* Go to the next page
src/state/view/state/index.ts:183
↓ 4 callersMethodload
()
src/drawing/attachment/pdf/index.tsx:43
↓ 4 callersFunctiononEnter
(newState: MainMenuState, currentState: MainMenuState)
src/View/MainMenu/MainMenuBar/index.tsx:33
↓ 4 callersFunctionreduceRecord
( record: Record<string, T>, fn: (a: T) => U )
src/util/lib/index.ts:1
↓ 4 callersMethodsetPageSize
* Change the page size setting which will be used when adding new pages * @param size page size setting;
src/state/drawing/state/index.ts:100
↓ 4 callersMethodsetTextfieldAttributes
(textfield: TextfieldAttrs)
src/state/board/state/index.ts:118
↓ 4 callersFunctionsetup
()
src/View/Dialog/OnlineCreate/index.test.tsx:33
↓ 4 callersFunctionstrokeStyleToRGBA
(style: StrokeStyle)
src/util/color/index.tsx:11
↓ 4 callersMethodupdate
* Update stroke such as position and/or scale.
src/drawing/stroke/index.tsx:61
↓ 4 callersMethodupdateUser
* Update user properties, such as alias and color, in an online session * @param user partial properties for update
src/state/online/state/index.ts:107
↓ 4 callersFunctionuseLayerConfig
( canvasRef: React.RefObject<HTMLCanvasElement>, page?: Page )
src/hooks/useLayerConfig.ts:6
↓ 3 callersMethodaddPage
(index: number)
src/state/action/state/index.ts:149
↓ 3 callersMethodaddPageUnder
()
src/state/action/state/index.ts:264
↓ 3 callersMethodaddStrokes
(strokes: Stroke[])
src/state/action/state/index.ts:85
↓ 3 callersMethodclearActiveTextfield
()
src/state/board/state/index.ts:125
↓ 3 callersMethodcreateSession
(createConfig: Partial<SessionConfig>)
src/state/online/state/index.ts:137
↓ 3 callersMethoddeleteAllPages
()
src/state/action/state/index.ts:279
↓ 3 callersMethoderaseStrokes
(strokes: StrokeDelete[])
src/state/online/state/index.ts:282
↓ 3 callersFunctiongetDefaultDrawingState
()
src/state/drawing/state/default.ts:11
↓ 3 callersFunctiongetDefaultOnlineState
()
src/state/online/state/default.ts:9
↓ 3 callersFunctiongetDefaultSettingsState
()
src/state/settings/state/default.ts:5
↓ 3 callersFunctiongetDefaultViewState
()
src/state/view/state/default.ts:8
↓ 3 callersMethodgetNumberOfUsers
()
src/state/online/state/index.ts:379
↓ 3 callersFunctiongetRandomColor
()
src/util/color/index.tsx:3
↓ 3 callersFunctiongetUnflippedRect
(points: Stroke["points"])
src/util/render/shapes/index.ts:174
↓ 3 callersFunctiongetVerifiedPageIds
(pageIds: PageRank)
src/drawing/helpers/index.ts:4
↓ 3 callersMethodhandler
()
src/state/action/state/index.ts:88
↓ 3 callersFunctionisDrawType
(type: ToolType)
src/util/drawing/index.ts:78
↓ 3 callersMethodisHost
()
src/state/online/state/index.ts:78
↓ 3 callersMethodjumpToFirstPage
* Go to the first page
src/state/view/state/index.ts:201
↓ 3 callersMethodjumpToPrevPage
* Go to the previous page
src/state/view/state/index.ts:192
↓ 3 callersMethodload
()
src/state/board/state/index.types.ts:43
↓ 3 callersMethodnewWorkspace
()
src/state/action/state/index.ts:298
↓ 3 callersMethodonLastPage
* Find out if currently on last page * @returns true if on last page
src/state/view/state/index.ts:163
↓ 3 callersMethodrenderPagesWithStrokeChanges
* Rerender all pages which have changed content * @param strokes stroke updates which could require a content render
src/state/board/state/index.ts:201
↓ 3 callersMethodresetView
* Reset the view transform to the default values
src/state/view/state/index.ts:114
↓ 3 callersFunctionresolveModule
(resolveFn, filePath)
config/paths.js:41
↓ 3 callersMethodsetActiveTextfield
(activeTextfield: ActiveTextfield)
src/state/board/state/index.ts:112
next →1–100 of 494, ranked by callers