public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH manager] ui: agentipview: make text in grid selectable
@ 2024-03-21  9:25 Aaron Lauterer
  2024-03-21 17:01 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron Lauterer @ 2024-03-21  9:25 UTC (permalink / raw)
  To: pve-devel

This makes it possible to select any of the IP addresses listed in the
full view window to copy & paste it.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
---
Becaue @Folke made a remark that this was a nuisance ;)

 www/manager6/qemu/AgentIPView.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/www/manager6/qemu/AgentIPView.js b/www/manager6/qemu/AgentIPView.js
index 1411361a..829e5596 100644
--- a/www/manager6/qemu/AgentIPView.js
+++ b/www/manager6/qemu/AgentIPView.js
@@ -12,6 +12,9 @@ Ext.define('PVE.window.IPInfo', {
 	    xtype: 'grid',
 	    store: {},
 	    emptyText: gettext('No network information'),
+	    viewConfig: {
+		enableTextSelection: true,
+	    },
 	    columns: [
 		{
 		    dataIndex: 'name',
-- 
2.39.2





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [pve-devel] applied: [PATCH manager] ui: agentipview: make text in grid selectable
  2024-03-21  9:25 [pve-devel] [PATCH manager] ui: agentipview: make text in grid selectable Aaron Lauterer
@ 2024-03-21 17:01 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2024-03-21 17:01 UTC (permalink / raw)
  To: Proxmox VE development discussion, Aaron Lauterer

On 21/03/2024 10:25, Aaron Lauterer wrote:
> This makes it possible to select any of the IP addresses listed in the
> full view window to copy & paste it.
> 
> Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
> ---
> Becaue @Folke made a remark that this was a nuisance ;)
> 
>  www/manager6/qemu/AgentIPView.js | 3 +++
>  1 file changed, 3 insertions(+)
> 
>

applied, thanks!

with slightly reworked commit subject to avoid the concatenated
words, to make it easier to understand (for humans) what's going
on, and thus making writing changelogs easier for me :-)

"ui: vm: guest-agent network view: make text in grid selectable"




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-21 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-21  9:25 [pve-devel] [PATCH manager] ui: agentipview: make text in grid selectable Aaron Lauterer
2024-03-21 17:01 ` [pve-devel] applied: " Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal