From ab70ac1298b884a53b6cd98a9e93d7d6c53c4b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Thu, 27 Aug 2026 14:03:35 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20style(app):=20subtitle=20track?= =?UTF-8?q?=20rows=20read=20as=20the=20header's=20subset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fold chevron at INK1 (it inherited the panel's dim ink and vanished), track rows stepped in 30px under the header and a type size below it -- subset smaller and indented, superset carries the weight. --- crates/app/src/tests/layout.rs | 5 ++++- crates/app/src/ui/dock_stance.rs | 28 +++++++++++++++++++++++++--- 2 files changed, 29 insertions(+), 4 deletions(-) diff --git a/crates/app/src/tests/layout.rs b/crates/app/src/tests/layout.rs index 45026c7..d087180 100644 --- a/crates/app/src/tests/layout.rs +++ b/crates/app/src/tests/layout.rs @@ -1303,7 +1303,10 @@ fn a_subtitle_group_header_is_never_gated_on_window_height() { let head_at = dock .find("\"dock-subtitle-group\"") .expect("no id on the group header"); - let block = &dock[head_at..(head_at + 2700).min(dock.len())]; + // Wide enough to reach the count line past the header's styling and its + // commentary -- a window that stops short reads as the line deleted + // (the same fixed-window misfire the modal-guard scan had, 2026-08-27). + let block = &dock[head_at..(head_at + 3600).min(dock.len())]; assert!( block.contains("sub_folded.remove"), "no fold-open path: {block}" diff --git a/crates/app/src/ui/dock_stance.rs b/crates/app/src/ui/dock_stance.rs index 6ce483f..f53bf9a 100644 --- a/crates/app/src/ui/dock_stance.rs +++ b/crates/app/src/ui/dock_stance.rs @@ -699,7 +699,12 @@ fn subtitle_tab_rows(player: &Player, cx: &mut Context) -> (usize, Vec) -> (usize, Vec) -> (usize, Vec