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 C0D791FF150 for ; Mon, 06 Jul 2026 13:15:33 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id E45232143F; Mon, 06 Jul 2026 13:15:32 +0200 (CEST) From: Elias Huhsovitz To: pve-devel@lists.proxmox.com Subject: [PATCH yew-comp 2/2] fix #7426: ui: network: use correct name tooltips for interface types Date: Mon, 6 Jul 2026 13:14:55 +0200 Message-ID: <20260706111455.106630-3-e.huhsovitz@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260706111455.106630-1-e.huhsovitz@proxmox.com> References: <20260706111455.106630-1-e.huhsovitz@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1783336522683 X-SPAM-LEVEL: Spam detection results: 0 DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) 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: RE3ZI6M3MRHKEUBIDKZEECMX3FBBXMJY X-Message-ID-Hash: RE3ZI6M3MRHKEUBIDKZEECMX3FBBXMJY X-MailFrom: e.huhsovitz@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 CC: Elias Huhsovitz X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The tooltip for the interface name field incorrectly showed VLAN examples (e.g., vmbr0.100) when creating a Provide accurate tooltips for Bridges, Bonds and VLANs. Signed-off-by: Elias Huhsovitz --- src/configuration/network_edit.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/configuration/network_edit.rs b/src/configuration/network_edit.rs index 6b63586..63317d9 100644 --- a/src/configuration/network_edit.rs +++ b/src/configuration/network_edit.rs @@ -131,7 +131,7 @@ fn render_bridge_form(form_ctx: FormContext, props: &NetworkEdit) -> Html { tr!("Name"), Field::new() .name("name") - .tip(tr!("For example, vmbr0, vmbr0.100, vmbr1, ...")) + .tip(tr!("Commonly: vmbr[N] (e.g., vmbr0, vmbr1). Must start with a character, max 10 alphanumeric characters.")) .required(true) .default(&props.default_name) .disabled(is_edit) @@ -206,7 +206,7 @@ fn render_bond_form(form_ctx: FormContext, props: &NetworkEdit) -> Html { Field::new() .name("name") .default(&props.default_name) - .tip(tr!("For example, bond0, bond0.100, bond1, ...")) + .tip(tr!("Format: bond[N] (e.g., bond0, bond1)")) .required(true) .disabled(is_edit) .submit(!is_edit), @@ -279,6 +279,7 @@ fn render_common_form(form_ctx: FormContext, props: &NetworkEdit) -> Html { Field::new() .name("name") .default(&props.default_name) + .tip(tr!("Format: [interface].[vlan-id] (e.g., eno1.50, bond1.30)")) .required(true) .disabled(is_edit) .submit(!is_edit), -- 2.47.3