From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id E401A1FF0B4 for ; Fri, 27 Nov 2026 18:10:03 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 82AED21753; Fri, 27 Nov 2026 18:10:03 +0100 (CET) From: Dominik Csapak To: pdm-devel@lists.proxmox.com Subject: [PATCH datacenter-manager/yew-widget-toolkit v2 0/6] ui: make the default dashboard configurable and add "My Settings" dialog Date: Fri, 27 Nov 2026 18:09:21 +0100 Message-ID: <20261127170941.4183880-1-d.csapak@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-SPAM-LEVEL: Spam detection results: 0 AWL 0.247 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: MI66GL2LDTXAKY2XDKIAVWH7J3D5LM7I X-Message-ID-Hash: MI66GL2LDTXAKY2XDKIAVWH7J3D5LM7I X-MailFrom: d.csapak@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: Proxmox Datacenter Manager development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This adds a 'My Settings' dialog like the one in PVE to the user menu of PDM, and lets users choose one of their views as dashboard there. Let the user select a view as the dashboard and persist that in the browser local storage. Note that for the pdm patches, pwt must be bumped and the new version must be recorded in Cargo.toml. changes from v1: * add my settings window and move the default dashboard selection there * use '#' for the default dashboard instead of '__dashboard__' * show a notice if the selected dashboard is not in the view_list proxmox-yew-widget-toolkit: Dominik Csapak (2): state: event: add helpers for custom DOM events state: persistent state: allow listening for updates src/state/event.rs | 24 +++++++++++++++++++++++ src/state/mod.rs | 29 ++++++++++++++++++++++----- src/state/persistent_state.rs | 37 ++++++++++++++++++++++++++++++++++- 3 files changed, 84 insertions(+), 6 deletions(-) create mode 100644 src/state/event.rs proxmox-datacenter-manager: Dominik Csapak (4): ui: add 'My Settings' dialog with xterm.js and noVNC settings ui: view configuration: fix dismissing of remove confirmation dialog ui: view selector: use a placeholder that can't conflict with a view ui: make the default dashboard page configurable ui/Cargo.toml | 2 +- ui/src/configuration/views.rs | 5 +- ui/src/dashboard/view.rs | 18 +- ui/src/main.rs | 1 + ui/src/main_menu.rs | 32 +++- ui/src/top_nav_bar.rs | 22 ++- ui/src/widget/mod.rs | 5 +- ui/src/widget/my_settings_dialog.rs | 266 ++++++++++++++++++++++++++++ ui/src/widget/view_selector.rs | 11 +- 9 files changed, 347 insertions(+), 15 deletions(-) create mode 100644 ui/src/widget/my_settings_dialog.rs Summary over all repositories: 12 files changed, 431 insertions(+), 21 deletions(-) -- Generated by murpp 0.11.0