Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/clone/domain/GithubRepoPages

Pure (DOMAIN-001): paging and plain-words hints for the repository picker.

Cockpit client (features), next. Source: ui/client/features/clone/domain/GithubRepoPages.ts.

Functions#

mergeRepoPages()#

mergeRepoPages(current, list): GithubRepo[]

Defined in: ui/client/features/clone/domain/GithubRepoPages.ts:5

Add one more page of repositories to what is shown (page 1 replaces it).

Parameters#

current

GithubRepo[]

list

GithubRepoList

Returns#

GithubRepo[]


reposHint()#

reposHint(list, query, error): string | null

Defined in: ui/client/features/clone/domain/GithubRepoPages.ts:12

Plain words when the picker has nothing to offer (or could not be filled), else null.

Parameters#

list

GithubRepoList | null

query

string

error

string | null

Returns#

string | null