From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 8D5FB1FF170 for ; Tue, 19 Nov 2024 10:37:16 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 4E35B1E16C; Tue, 19 Nov 2024 10:37:20 +0100 (CET) Message-ID: Date: Tue, 19 Nov 2024 10:36:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta To: Thomas Lamprecht , Proxmox VE development discussion References: <20241119092224.785853-1-d.csapak@proxmox.com> <491a7dbc-9b2e-46d5-9f09-f4878e140854@proxmox.com> Content-Language: en-US From: Dominik Csapak In-Reply-To: <491a7dbc-9b2e-46d5-9f09-f4878e140854@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.016 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pve-devel] [PATCH manager] ui: resource tree: add collapse/expand all button X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" On 11/19/24 10:30, Thomas Lamprecht wrote: > Am 19.11.24 um 10:22 schrieb Dominik Csapak: >> which defaults to expand all, and only if all expanded, collapse all. >> >> Changes icon dynamically when nodes expand/collapse. >> >> Signed-off-by: Dominik Csapak >> --- >> if we'd find an icon that would fit for both cases, we could omit the >> event bubbling probably. If there are many nodes, the 'hasCollapsed' >> check will trigger more often, iterating over all tree nodes.. > > We could also just do two separate buttons, FWIW. true, but the space there is already a bit limited IMO, and only one of the buttons makes sense at one point in time _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel