From a6a1c5dcfa7c57d77251d52b602431e6af65603b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Sun, 30 Aug 2026 01:34:53 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20feat(web):=20status,=20date=20an?= =?UTF-8?q?d=20the=20people=20ride=20with=20the=20masthead?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The three fields join the pinned mast, so what the task is due, who holds it and what state it is in stay on screen while its own text pans. They stay gated to the Task tab — the other tabs keep the plain masthead rather than paying its height twice. --- crates/izlek-web/src/detail.rs | 81 ++++++++++++++++++---------------- style/_instrument.scss | 5 ++- style/_ledger.scss | 2 +- 3 files changed, 46 insertions(+), 42 deletions(-) diff --git a/crates/izlek-web/src/detail.rs b/crates/izlek-web/src/detail.rs index 5cb4c1d..46c0e9d 100644 --- a/crates/izlek-web/src/detail.rs +++ b/crates/izlek-web/src/detail.rs @@ -1485,51 +1485,54 @@ pub async fn task_modal(cx: &Cx, task_id: &str, confirm_delete: bool, tab: Tab) (t(lang, Key::Activity)) (t(lang, Key::TabMail)) - - -
if tab == Tab::Task { -
-
- (t(lang, Key::Status)) - if may_write { -
- - - - - (glyph::chevron(cx).await?) -
- } else { - - - (detail.column.name.clone()) - - } -
-
- (t(lang, Key::Deadline)) - (deadline_control(cx, &detail, today, may_write, lang).await?) -
-
- (format!("{} — {}", t(lang, Key::Assignees), detail.assignees.len())) -
- for person in &detail.assignees { - (assignee_chip(cx, &detail.id, person, may_write, lang).await?) - } -
+
+
+ (t(lang, Key::Status)) if may_write { - (assignee_picker(cx, &detail.id, &unassigned, lang).await?) +
+ + + + + (glyph::chevron(cx).await?) +
+ } else { + + + (detail.column.name.clone()) + }
+
+ (t(lang, Key::Deadline)) + (deadline_control(cx, &detail, today, may_write, lang).await?) +
+
+ (format!("{} — {}", t(lang, Key::Assignees), detail.assignees.len())) +
+ for person in &detail.assignees { + (assignee_chip(cx, &detail.id, person, may_write, lang).await?) + } +
+ if may_write { + (assignee_picker(cx, &detail.id, &unassigned, lang).await?) + } +
+
-
- (refused(cx, "move_card", lang).await?) + (refused(cx, "move_card", lang).await?) + } +
+ + +
+ if tab == Tab::Task {
diff --git a/style/_instrument.scss b/style/_instrument.scss index 36b9185..5b93112 100644 --- a/style/_instrument.scss +++ b/style/_instrument.scss @@ -245,10 +245,11 @@ font-size: 20px; } +// The fields ride in the masthead, so they carry its inset themselves. [data-ui="instrument"] .detail-fields { gap: 10px; - padding: 0; - margin-top: 18px; + padding: 0 16px 14px; + margin-top: 14px; } // Blocks run down the panel body below the title; only the composer pins. diff --git a/style/_ledger.scss b/style/_ledger.scss index 0e998ad..6b43e4e 100644 --- a/style/_ledger.scss +++ b/style/_ledger.scss @@ -409,7 +409,7 @@ [data-ui="ledger"] .detail-fields { display: block; padding: 0; - margin-top: 24px; + margin-top: 14px; border-top: 1px solid var(--border); }