From d61240efbf784424ed7a3417f54d698001517e4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 4 Nov 2026 20:44:11 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20a=20log=20too=20long=20?= =?UTF-8?q?to=20send=20whole=20says=20Showing=20from=20line=20N=20=C2=B7?= =?UTF-8?q?=20Full=20log=20on=20a=20quiet=20line=20of=20its=20own=20on=20t?= =?UTF-8?q?he=20sheet's=20text=20edge,=20with=20room=20around=20it,=20inst?= =?UTF-8?q?ead=20of=20a=20bare=20hint=20against=20the=20sheet's=20edge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/forge-web/src/pages/ci_runs.rs | 8 +++++--- style/_one.scss | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+), 3 deletions(-) diff --git a/crates/forge-web/src/pages/ci_runs.rs b/crates/forge-web/src/pages/ci_runs.rs index fdfefe8..383ed67 100644 --- a/crates/forge-web/src/pages/ci_runs.rs +++ b/crates/forge-web/src/pages/ci_runs.rs @@ -2663,10 +2663,12 @@ async fn run_log( fail_first_block(lang: lang, fail: fail) } if let Some(log) = run.log.as_ref() { + // Only the end of a long log is sent: say where it starts and where the rest is. if log.truncated { -

- (crate::pages::passkeys::s(lang, "Showing the end of this log.", "Günlüğün sonu gösteriliyor.")) - " " (crate::pages::passkeys::s(lang, "Full log", "Tam günlük")) +

+ (crate::pages::passkeys::s(lang, "Showing from line ", "Şu satırdan itibaren gösteriliyor: ")) + (log.first_line.as_str()) + " \u{b7} " (crate::pages::passkeys::s(lang, "Full log", "Tam günlük"))

}
(log.text.as_str())
diff --git a/style/_one.scss b/style/_one.scss index b247226..15f922a 100644 --- a/style/_one.scss +++ b/style/_one.scss @@ -2501,6 +2501,26 @@ dialog[data-finder] { // Why a job failed: pinned above its log. +// The note over a log that starts part way: one quiet line on the sheet's text edge. +.log-cut { + flex: none; + margin: 0; + padding: 8px 18px; + border-bottom: 1px solid var(--border); + color: var(--muted); + font-size: 13px; + + > .num { + color: var(--text); + font-variant-numeric: tabular-nums; + } + + > a.act { + margin-left: 0; + padding: 0; + } +} + .why { display: flex; flex: none;