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 2514A1FF187 for ; Tue, 2 Dec 2025 15:32:41 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 790DA149D0; Tue, 2 Dec 2025 15:33:06 +0100 (CET) From: Dominik Csapak To: pdm-devel@lists.proxmox.com Date: Tue, 2 Dec 2025 15:31:01 +0100 Message-ID: <20251202143226.3681712-1-d.csapak@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.030 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 Subject: [pdm-devel] [PATCH datacenter-manager/yew-comp 0/7] add top bar subscription state and dedicated panel X-BeenThere: pdm-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Datacenter Manager development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Datacenter Manager development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pdm-devel-bounces@lists.proxmox.com Sender: "pdm-devel" This adds a dedicated subscription panel for pdm, and adds the overall subscription state to the top nav bar. This means we can drop the required subscription panel for the views. I opted for not removing the subscription panel from the default dashboard, but if that's wanted it is not a big change. Note that the first proxmox-yew-comp patch breaks current pdm, since a public function signature changes. proxmox-yew-comp: Dominik Csapak (2): subscription check: use more useful function signature subscriptions: expose subscription_icon src/apt_package_manager.rs | 2 +- src/apt_repositories.rs | 2 +- src/lib.rs | 4 +++- src/subscription_alert.rs | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) proxmox-datacenter-manager: Dominik Csapak (5): ui: adapt to signature change of subscription_is_active lib/server: include subscription statistics in subscription information ui: configuration: add subscription panel ui: show pdm subscription state in top nav bar ui: views: make Subscription panel not required anymore lib/pdm-api-types/src/subscription.rs | 20 ++- server/src/api/nodes/subscription.rs | 24 +-- ui/Cargo.toml | 1 + ui/src/configuration/mod.rs | 2 + ui/src/configuration/subscription_panel.rs | 187 +++++++++++++++++++++ ui/src/dashboard/view.rs | 38 +---- ui/src/lib.rs | 2 +- ui/src/main.rs | 56 +++--- ui/src/main_menu.rs | 18 +- ui/src/top_nav_bar.rs | 41 +++++ 10 files changed, 318 insertions(+), 71 deletions(-) create mode 100644 ui/src/configuration/subscription_panel.rs Summary over all repositories: 14 files changed, 324 insertions(+), 75 deletions(-) -- Generated by git-murpp 0.8.1 _______________________________________________ pdm-devel mailing list pdm-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pdm-devel