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 11BED1FF14F for ; Fri, 08 May 2026 17:58:03 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E74001D735; Fri, 8 May 2026 17:58:02 +0200 (CEST) From: Shannon Sterz To: yew-devel@lists.proxmox.com Subject: [PATCH yew-comp/yew-mobile-gui v2 00/21] firewall tabs and clean up for pve-yew-mobile-gui Date: Fri, 8 May 2026 17:57:01 +0200 Message-ID: <20260508155722.464564-1-s.sterz@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1778255735157 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.116 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 SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [main.rs,mod.rs] Message-ID-Hash: 2ONJSTB365AN5TIU5LET5I5QWO7W27EX X-Message-ID-Hash: 2ONJSTB365AN5TIU5LET5I5QWO7W27EX X-MailFrom: s.sterz@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: this series cleans up the pve-yew-mobile-gui a little bit. it does so by first fixing a bug in proxmox-yew-comp. then pve-yew-mobile-gui is made clippy clean again. the last six patches add, unify and clean up functionality in the gui. the main changes are as follows: * properly populate the rules tab of the existing firewall tabs and comment out empty sub-tabs. * add a firewall tab for container guests and nodes * two small ui clean ups in how subscription levels and cpu utilization is rendered changes since v1: * fix icon assign in the lxc and qemu status pages (added a new commit for the qemu status page) * remove commented out tab pages from the node firewall and align the order of the tab pages for other firewall tabs with the desktop ui again. yew-comp: Shannon Sterz (1): firewall rules panel: correct the url for the pve cluster firewall rules src/configuration/pve/firewall/firewall_rules_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) yew-mobile-gui: Shannon Sterz (20): cargo.toml: globally ignore certain clippy lints main: avoid unnecessary clones tree-wide: collapse if statements tree-wide: implement the `From` trait instead of the `Into` trait tree-wide: implement `Default` for types with an `new()` constructor tree-wide: remove unnecessary lazy evaluations tree-wide: remove needless borrows configuration page: remove redundant static lifetimes resources/configuration page: remove useless `.into()` calls tree-wide: fix several clippy lints dashboard: use proper plural translation string instead of "CPU(s)" configuration: clarify that "Firewall" shows the cluster's firewall cluster/qemu firewall: use rules panel and comment out unused tabs qemu status page: align icons better with tabs lxc page: align layout for lxc guest with qemu guests lxc: add support for a rudimentary firewall tab for lxc guests node status: align layout for node status with guest pages node: add a rudimentary firewall tab for cluster nodes api types: remove unused file resources page: map subscription level analogous to dashboard Cargo.toml | 5 + src/api_types.rs | 131 ------------- src/main.rs | 25 ++- src/pages/mod.rs | 13 ++ src/pages/page_cluster_firewall/mod.rs | 63 ++++--- src/pages/page_configuartion.rs | 22 ++- src/pages/page_dashboard.rs | 43 ++--- src/pages/page_login.rs | 12 +- src/pages/page_lxc_status/dashboard_panel.rs | 70 ++++--- src/pages/page_lxc_status/firewall_panel.rs | 172 ++++++++++++++++++ src/pages/page_lxc_status/mod.rs | 47 ++++- src/pages/page_lxc_tasks.rs | 6 +- src/pages/page_node_status/dashboard_panel.rs | 6 +- src/pages/page_node_status/firewall_panel.rs | 135 ++++++++++++++ src/pages/page_node_status/mod.rs | 37 +++- src/pages/page_node_status/services_panel.rs | 2 +- src/pages/page_node_tasks.rs | 6 +- src/pages/page_qemu_status/dashboard_panel.rs | 77 ++++---- src/pages/page_qemu_status/firewall_panel.rs | 33 ++-- src/pages/page_qemu_status/mod.rs | 10 +- src/pages/page_qemu_tasks.rs | 6 +- src/pages/page_resources.rs | 50 ++--- src/pages/page_settings.rs | 12 +- src/pages/page_storage_status.rs | 6 +- src/pages/page_task_status.rs | 6 +- src/widgets/guest_backup_panel.rs | 4 +- src/widgets/task_list_button.rs | 29 +-- src/widgets/tasks_panel.rs | 2 +- src/widgets/top_nav_bar.rs | 12 +- 29 files changed, 659 insertions(+), 383 deletions(-) delete mode 100644 src/api_types.rs create mode 100644 src/pages/page_lxc_status/firewall_panel.rs create mode 100644 src/pages/page_node_status/firewall_panel.rs Summary over all repositories: 30 files changed, 660 insertions(+), 384 deletions(-) -- Generated by murpp 0.10.0