Line

ui/client/features/git-session/domain/GitSessionView

One status object in, two finished view models out.

Cockpit client (features), v0.9. Source: ui/client/features/git-session/domain/GitSessionView.ts.

Variables#

WINDOW_CHOICES#

const WINDOW_CHOICES: number[]

Defined in: ui/client/features/git-session/domain/GitSessionView.ts:10

Offered grouping windows. Short enough to be a real audit trail, long enough to be quiet.

Functions#

buildAutoCommitView()#

buildAutoCommitView(status): AutoCommitView

Defined in: ui/client/features/git-session/domain/GitSessionView.ts:38

The Settings-screen controls, with every option already labelled and every hint already written.

Parameters#

status

GitSessionStatus

Returns#

AutoCommitView


buildGitSessionView()#

buildGitSessionView(status): GitSessionView

Defined in: ui/client/features/git-session/domain/GitSessionView.ts:13

The save-time surfaces: the indicator line, the last commit, and the dirty-tree question.

Parameters#

status

GitSessionStatus | null

Returns#

GitSessionView