Line

You are reading docs for v0.8. See latest (v0.9)

ui/client/features/review/domain/UnitRows

Pure (DOMAIN-001): the stage's "what each changed unit now does" rows.

Cockpit client (features), v0.8. Source: ui/client/features/review/domain/UnitRows.ts.

Functions#

buildUnitsView()#

buildUnitsView(files, summaries, omitted?): UnitsView

Defined in: ui/client/features/review/domain/UnitRows.ts:15

Units with a sentence first, in the order of the tree (feature, then path); the rest collapse.

Parameters#

files

ChangedFile[]

summaries

UnitSummary[]

omitted?

number = 0

Returns#

UnitsView


trimLead()#

trimLead(summary, path): string

Defined in: ui/client/features/review/domain/UnitRows.ts:9

The sentence without the repeated "File :" lead-in the engine puts on every summary.

Parameters#

summary

string

path

string

Returns#

string