From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 016821FF09B for ; Mon, 12 Oct 2026 20:52:38 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 7D21E211E6; Mon, 12 Oct 2026 20:52:37 +0200 (CEST) Message-ID: Date: Mon, 12 Oct 2026 20:52:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: applied: [PATCH yew-widget-toolkit] calendar grid: add an option to hide the weekend columns To: Dominik Csapak , yew-devel@lists.proxmox.com References: <20260812103115.1710697-1-d.csapak@proxmox.com> Content-Language: en-US From: Thomas Lamprecht In-Reply-To: <20260812103115.1710697-1-d.csapak@proxmox.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1791831153577 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.576 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: 6IKYWDS6J6DJBJTGL6KYUIQBDXA7N7PI X-Message-ID-Hash: 6IKYWDS6J6DJBJTGL6KYUIQBDXA7N7PI X-MailFrom: t.lamprecht@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Yew framework devel list at Proxmox List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Am 12.08.26 um 12:31 schrieb Dominik Csapak: > A planning calendar for working days spends two of its seven columns > on cells nobody schedules into. hide_weekends drops them, so the five > working days get the full width. > > The span geometry can no longer take its fusing edges from the column > index: without the weekend a row is not date-contiguous (a Wednesday > start runs Wed, Thu, Fri, Mon, Tue), so a segment now fuses with the > day actually drawn beside it. A Friday to Monday run then reads as one > bar rather than two squared stubs. > > A theme narrows the grid template by the new class on the root, > pwt-calendar-hide-weekends. > > Signed-off-by: Dominik Csapak > --- > src/widget/calendar_grid.rs | 193 ++++++++++++++++++++++++++++++------ > 1 file changed, 162 insertions(+), 31 deletions(-) > > applied, thanks!