MCPcopy Create free account

hub / github.com/TNG/next-generation-scrum-poker / functions

Functions141 in github.com/TNG/next-generation-scrum-poker

↓ 38 callersFunctionrender
()
frontend/src/index-ssr.tsx:4
↓ 22 callersMethodassertVotingStateIs
(states: { name: string; state: string; pending: boolean }[])
e2e/pages/card-page.ts:46
↓ 21 callersFunctiongetSelectedOptions
(container: HTMLElement)
frontend/src/Components/ScaleSelector/ScaleSelector.test.tsx:322
↓ 15 callersFunctionassertOnCardPage
(page: Page)
e2e/pages/card-page.ts:80
↓ 13 callersFunctionrerender
(apiUpdate: PartialWebsocketApi = {})
frontend/src/test-helpers/renderWithWebSocket.tsx:48
↓ 11 callersFunctionassertDropdownIsClosed
()
frontend/src/Components/ScaleSelector/ScaleSelector.test.tsx:317
↓ 11 callersFunctionconnectToWebSocket
(Component: ComponentType<{ socket: WebSocketApi } & Props>)
frontend/src/Components/WebSocket/WebSocket.tsx:207
↓ 11 callersFunctiongetDropdown
()
frontend/src/Components/ScaleSelector/ScaleSelector.test.tsx:320
↓ 11 callersMethodselectCard
(value: CardValue)
e2e/pages/card-page.ts:70
↓ 10 callersMethodassertResultsAre
(results: { name: string; result: string; pending: boolean }[])
e2e/pages/results-page.ts:10
↓ 8 callersFunctionassertOnResultsPage
(page: Page)
e2e/pages/results-page.ts:34
↓ 8 callersFunctionlogin
(page: Page, name: string)
e2e/pages/login-page.ts:39
↓ 8 callersFunctionloginWithSameSession
(page: Page, name: string, otherPage: Page)
e2e/pages/login-page.ts:45
↓ 8 callersMethodsend
(message: string)
frontend/src/Components/App/App.test.tsx:22
↓ 7 callersFunctionbroadcastState
( { connections, visible, scale }: GroupItem, config: ConfigWithHandler, )
backend/shared/actions.ts:7
↓ 6 callersMethodassertNoCardSelected
()
e2e/pages/card-page.ts:27
↓ 6 callersFunctionbuildRequest
(data: ClientMessage)
frontend/src/requests/websocket-requests.ts:47
↓ 6 callersFunctionclose
()
frontend/src/Components/ScaleSelector/ScaleSelector.tsx:39
↓ 6 callersFunctiongetConnection
({ connectionId, tableName, ddb, }: Config)
backend/shared/database/getConnection.ts:4
↓ 5 callersMethodassertSelectedCardIs
(card: CardValue)
e2e/pages/card-page.ts:31
↓ 4 callersMethodassertCardsAre
(cards: CardValue[])
e2e/pages/card-page.ts:15
↓ 4 callersFunctiongetChartVoteData
({ votes, scale, }: Pick<WebSocketState, 'votes' | 'scale'>)
frontend/src/Components/BarChart/getChartVoteData.ts:4
↓ 4 callersFunctiongetGroup
(groupId: string, config: Config)
backend/shared/database/getGroup.ts:4
↓ 4 callersFunctiongetRenderWithWebSocket
(children: ComponentChildren, defaultApi: PartialWebsocketApi = {})
frontend/src/test-helpers/renderWithWebSocket.tsx:39
↓ 4 callersFunctiongetVotingState
({ connected, loginData, state: { pendingConnections, votes }, }: Pick<WebSocketApi, 'connected' | 'logi
frontend/src/helpers/getVotingState.ts:12
↓ 3 callersFunctionConfigureMockWebSocket
()
frontend/src/Components/App/App.test.tsx:8
↓ 3 callersFunctionassertOnLoginPage
(page: Page)
e2e/pages/login-page.ts:51
↓ 3 callersMethodassertShown
()
e2e/pages/card-page.ts:38
↓ 3 callersFunctioncaptureException
(error: Error)
backend/shared/exceptions.ts:1
↓ 3 callersFunctioncompareCardValues
(value1: CardValue, value2: CardValue)
frontend/src/helpers/compareVotes.ts:14
↓ 3 callersFunctionsendMessageToConnection
( message: ServerMessage, config: ConfigWithHandler, )
backend/shared/actions.ts:43
↓ 2 callersMethodassertSessionTakeover
()
e2e/pages/login-page.ts:32
↓ 2 callersMethodassertUserNameIs
(name: string)
e2e/pages/card-page.ts:42
↓ 2 callersFunctionbuildEventMessage
(message: ServerMessage)
frontend/src/Components/App/App.test.tsx:53
↓ 2 callersFunctioncloseSocket
()
e2e/connection-loss.spec.ts:67
↓ 2 callersFunctiongenerateId
(length: number)
shared/generateId.ts:1
↓ 2 callersFunctiongetApi
( defaultContext: PartialWebsocketApi, context: PartialWebsocketApi, )
frontend/src/test-helpers/renderWithWebSocket.tsx:12
↓ 2 callersFunctiongetCard
( cardValue: CardValue, isSelected: boolean, setVote: WebSocketApi['setVote'], enabled: boolean, )
frontend/src/Components/CardSelector/CardSelector.tsx:17
↓ 2 callersFunctiongetInitialVotes
(votes: Votes)
frontend/src/Components/WebSocket/WebSocket.tsx:43
↓ 2 callersFunctiongetItem
( itemKey: string, itemId: string, tableName: string, ddb: DynamoDBDocument, )
backend/shared/database/getItem.ts:3
↓ 2 callersFunctiongetLoginRequest
(user: string, session: string)
frontend/src/requests/websocket-requests.ts:4
↓ 2 callersFunctiongetRank
({ observer, voted }: UserState)
frontend/src/Components/VotingStateDisplay/VotingStateDisplay.tsx:28
↓ 2 callersFunctiongetTtl
(expiryTimeHours: string)
backend/shared/getTtl.ts:1
↓ 2 callersMethodgoto
()
e2e/pages/login-page.ts:10
↓ 2 callersFunctioninstrumentWebSocket
(page: Page)
e2e/connection-loss.spec.ts:52
↓ 2 callersMethodlogin
(user: string, session: string)
frontend/src/types/WebSocket.ts:7
↓ 2 callersMethodlogin
(name: string)
e2e/pages/login-page.ts:23
↓ 2 callersFunctionloginUser
()
frontend/src/Components/App/App.test.tsx:33
↓ 2 callersFunctiononConnect
(config: Config)
backend/onconnect/src/on-connect.ts:6
↓ 2 callersFunctiononDisconnect
(config: ConfigWithHandler)
backend/ondisconnect/src/on-disconnect.ts:4
↓ 2 callersFunctiononMessage
(message: ClientMessage, config: ConfigWithHandler)
backend/sendmessage/src/on-message.ts:10
↓ 2 callersFunctionrefreshSessionId
()
frontend/src/Components/LoginPage/LoginPage.tsx:89
↓ 2 callersFunctionremoveConnection
(config: ConfigWithHandler)
backend/shared/actions.ts:64
↓ 2 callersFunctionresetGroupVotes
( groupId: string, connections: GroupConnections, updateScale: string[] | false, { tableName, ddb }: C
backend/shared/database/resetGroupVotes.ts:4
↓ 2 callersMethodselectScale
(scale: string)
e2e/pages/card-page.ts:74
↓ 2 callersFunctionsetScale
(scale: CardValue[])
frontend/src/Components/WebSocket/WebSocket.tsx:157
↓ 2 callersFunctionsetVote
(vote: CardValue)
frontend/src/Components/WebSocket/WebSocket.tsx:152
↓ 1 callersFunctionBUTTON_REMOVE_USER
(user: string)
frontend/src/constants.ts:14
↓ 1 callersFunctionaddConnectionToGroup
( groupId: string, userId: string, vote: CardValue, { ddb, tableName, connectionId }: Config, )
backend/shared/database/addConnectionToGroup.ts:4
↓ 1 callersFunctionaddUserAndGroupToConnection
( groupId: string, userId: string, { ddb, tableName, connectionId }: Config, )
backend/shared/database/addUserAndGroupToConnection.ts:3
↓ 1 callersMethodassertRemovedBy
(name: string)
e2e/pages/login-page.ts:28
↓ 1 callersMethodassertShown
()
e2e/pages/login-page.ts:14
↓ 1 callersFunctioncompareVotes
( userState1: Pick<UserState, 'user' | 'vote'>, userState2: Pick<UserState, 'user' | 'vote'>, )
frontend/src/helpers/compareVotes.ts:4
↓ 1 callersFunctioncreateConnection
(ttl: number, { ddb, connectionId, tableName }: Config)
backend/shared/database/createConnection.ts:3
↓ 1 callersFunctioncreateGroupWithConnection
( groupId: string, userId: string, ttl: number, { ddb, tableName, connectionId }: Config, )
backend/shared/database/createGroupWithConnection.ts:5
↓ 1 callersFunctioncreateTable
()
backend/local/dynamo.ts:27
↓ 1 callersFunctiondeleteConnection
({ connectionId, tableName, ddb }: Config)
backend/shared/database/deleteConnection.ts:3
↓ 1 callersFunctionemitError
()
e2e/connection-loss.spec.ts:78
↓ 1 callersFunctiongetButtonText
({ connected, missing, voted }: { connected: boolean } & NumberOfVotes)
frontend/src/Components/RevealButton/RevealButton.tsx:47
↓ 1 callersFunctiongetClassName
({ voted, observer, pendingConnection }: UserState)
frontend/src/Components/VotingStateDisplay/VotingStateDisplay.tsx:38
↓ 1 callersFunctiongetClassName
(vote: CardValue)
frontend/src/Components/ResultsPage/ResultsPage.tsx:37
↓ 1 callersFunctiongetIcon
({ voted, observer }: UserState)
frontend/src/Components/VotingStateDisplay/VotingStateDisplay.tsx:51
↓ 1 callersFunctiongetNumberOfVotes
(votes: Votes)
frontend/src/Components/RevealButton/RevealButton.tsx:12
↓ 1 callersFunctiongetRemoveUserRequest
(user: string)
frontend/src/requests/websocket-requests.ts:39
↓ 1 callersFunctiongetResetVotesRequest
()
frontend/src/requests/websocket-requests.ts:34
↓ 1 callersFunctiongetRevealVotesRequest
()
frontend/src/requests/websocket-requests.ts:29
↓ 1 callersFunctiongetScaleMatcher
(currentScale: CardValue[])
frontend/src/Components/ScaleSelector/ScaleSelector.tsx:162
↓ 1 callersFunctiongetSetScaleRequest
(scale: CardValue[])
frontend/src/requests/websocket-requests.ts:21
↓ 1 callersFunctiongetSetVoteRequest
(vote: CardValue)
frontend/src/requests/websocket-requests.ts:13
↓ 1 callersFunctiongetSortedResultsArray
(socket: WebSocketApi)
frontend/src/Components/ResultsPage/ResultsPage.tsx:20
↓ 1 callersFunctiongetSortedVotingState
(socket: WebSocketApi)
frontend/src/Components/VotingStateDisplay/VotingStateDisplay.tsx:17
↓ 1 callersFunctiongetVote
(vote: CardValue)
frontend/src/Components/ResultsPage/ResultsPage.tsx:24
↓ 1 callersMethodgotoWithSameSession
(otherPage: Page)
e2e/pages/login-page.ts:18
↓ 1 callersFunctionloginUser
(userId: string, groupId: string, config: ConfigWithHandler)
backend/sendmessage/src/login-user.ts:11
↓ 1 callersFunctionprepareTable
()
backend/local/dynamo.ts:42
↓ 1 callersFunctionreadBlob
(data: Blob | string)
frontend/src/Components/WebSocket/WebSocket.tsx:80
↓ 1 callersFunctionremoveConnectionFromGroup
( userId: string, groupId: string, { tableName, ddb }: Config, )
backend/shared/database/removeConnectionFromGroup.ts:3
↓ 1 callersFunctionremoveConnectionsFromGroup
( groupId: string, removedUserIds: string[], { ddb, tableName }: Config, )
backend/shared/database/removeConnectionsFromGroup.ts:3
↓ 1 callersFunctionremoveGroupFromConnection
({ ddb, tableName, connectionId }: Config)
backend/shared/database/removeGroupFromConnection.ts:3
↓ 1 callersFunctionremoveUser
(user: string)
frontend/src/Components/WebSocket/WebSocket.tsx:170
↓ 1 callersFunctionremoveUser
(user: string, config: ConfigWithHandler)
backend/sendmessage/src/remove-user.ts:8
↓ 1 callersMethodremoveUser
(user: string)
frontend/src/types/WebSocket.ts:10
↓ 1 callersFunctionresetVotes
(config: ConfigWithHandler)
backend/sendmessage/src/reset-votes.ts:7
↓ 1 callersMethodresetVotes
()
frontend/src/types/WebSocket.ts:11
↓ 1 callersFunctionrevealGroupVotes
( groupId: string, { tableName, ddb }: Config, )
backend/shared/database/revealGroupVotes.ts:3
↓ 1 callersFunctionrevealVotes
(config: ConfigWithHandler)
backend/sendmessage/src/reveal-votes.ts:6
↓ 1 callersFunctionsetGroupConnectionVote
( groupId: string, userId: string, vote: CardValue, { ddb, tableName }: Config, )
backend/shared/database/setGroupConnectionVote.ts:4
↓ 1 callersFunctionsetScale
(scale: CardValue[], config: ConfigWithHandler)
backend/sendmessage/src/set-scale.ts:8
↓ 1 callersFunctionsetVote
(vote: CardValue, config: ConfigWithHandler)
backend/sendmessage/src/set-vote.ts:7
↓ 1 callersFunctionstart
()
backend/local/main.ts:4
next →1–100 of 141, ranked by callers