From: Elias Huhsovitz <e.huhsovitz@proxmox.com>
To: pve-devel@lists.proxmox.com
Cc: Elias Huhsovitz <e.huhsovitz@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 [thread overview]
Message-ID: <20260706111455.106630-3-e.huhsovitz@proxmox.com> (raw)
In-Reply-To: <20260706111455.106630-1-e.huhsovitz@proxmox.com>
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 <e.huhsovitz@proxmox.com>
---
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
prev parent reply other threads:[~2026-07-06 11:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-06 11:14 [PATCH widget-toolkit/yew-comp 0/2] Subject: fix #7426: use correct name tooltips for network interface types Elias Huhsovitz
2026-07-06 11:14 ` [PATCH widget-toolkit 1/2] fix #7426: ui: network: use correct name tooltips for " Elias Huhsovitz
2026-07-06 11:14 ` Elias Huhsovitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260706111455.106630-3-e.huhsovitz@proxmox.com \
--to=e.huhsovitz@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox