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:
@@ -147,11 +147,21 @@ void main() {
|
||||
AppListRow.selectedColor(context),
|
||||
);
|
||||
final accent = Theme.of(context).colorScheme.primary;
|
||||
// The one selection style every list shares: the tonal fill plus one
|
||||
// leading bar in the accent.
|
||||
final bar = tester.widget<DecoratedBox>(
|
||||
find.descendant(of: row, matching: find.byKey(appListRowSelectionKey)),
|
||||
);
|
||||
final side =
|
||||
((bar.decoration as BoxDecoration).border as BorderDirectional).start;
|
||||
expect(side.color, accent);
|
||||
expect(side.width, kAppListRowBarWidth);
|
||||
expect(_paint(tester, 'Fixture run').fontWeight, FontWeight.w700);
|
||||
expect(_paint(tester, '9d ago').color, accent);
|
||||
|
||||
await tester.pumpWidget(_host(_row()));
|
||||
expect(tester.widget<Material>(surface).color, const Color(0x00000000));
|
||||
expect(find.byKey(appListRowSelectionKey), findsNothing);
|
||||
expect(_paint(tester, '9d ago').color, isNot(accent));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user