App: run tabs under the header on wide layouts, stable Artifacts tab, spelled-out pipeline status, shared list selection, code block header and edge fades
- Run detail: on a wide window (>= 840, pane >= 600) the tabs are Material segments under the run header; phones keep the floating bottom bar. Artifacts is always a tab, badged with its count and disabled with 0 (its tooltip says why), so Changes never moves. - Pipelines list: 'Failed · last run 19 Oct' beside the status dot; facts on the next line; compact rows keep 'Failed · 19 Oct'. - Settings: Disconnect is outlined beside a tonal Reconnect. - Lists: one selection style (tonal fill plus one leading accent bar) for runs, pipelines and chats; chat's border, fill and pointer removed. - Transcript: overflowing blocks fade at the edge with a chevron instead of a 'Scroll horizontally' line (semantics hint kept); code blocks get a header strip with language and Copy; lighter light-mode code fill. - Runs list: rows under a day heading show only the time of day. - Artifact search reveal re-centres once the lazy list's extent settles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -55,6 +55,11 @@ void main() {
|
||||
expect(find.textContaining('v2 · #'), findsNothing);
|
||||
expect(find.text('2 stages · 1 schedule'), findsOneWidget);
|
||||
expect(find.byKey(const Key('pipeline-status-1')), findsOneWidget);
|
||||
// The state is spelled out beside its dot, with when the run was.
|
||||
expect(
|
||||
tester.widget<Text>(find.byKey(const Key('pipeline-status-text-1'))).data,
|
||||
matches(RegExp(r'^Succeeded · last run .+')),
|
||||
);
|
||||
expect(find.byKey(const Key('pipeline-status-2')), findsOneWidget);
|
||||
expect(find.text('no runs recorded'), findsNothing);
|
||||
});
|
||||
@@ -142,7 +147,10 @@ void main() {
|
||||
findsOneWidget,
|
||||
);
|
||||
expect(
|
||||
find.descendant(of: firstRow, matching: find.text('Succeeded')),
|
||||
find.descendant(
|
||||
of: firstRow,
|
||||
matching: find.textContaining(RegExp(r'^Succeeded( · .+)?$')),
|
||||
),
|
||||
findsOneWidget,
|
||||
);
|
||||
expect(
|
||||
@@ -204,7 +212,10 @@ void main() {
|
||||
runs.complete(runListReply(fixture.runs));
|
||||
await tester.pumpAndSettle();
|
||||
expect(
|
||||
find.descendant(of: firstRow, matching: find.text('Succeeded')),
|
||||
find.descendant(
|
||||
of: firstRow,
|
||||
matching: find.textContaining(RegExp(r'^Succeeded( · .+)?$')),
|
||||
),
|
||||
findsOneWidget,
|
||||
);
|
||||
expect(tester.takeException(), isNull);
|
||||
|
||||
Reference in New Issue
Block a user