[pve-devel] [PATCH manager v2] fix #5106: ui: ceph status: make column wrap the summary text on expand

Fiona Ebner f.ebner at proxmox.com
Mon Feb 19 14:28:19 CET 2024


Am 07.12.23 um 14:35 schrieb Dominik Csapak:
> with this the title is now completely visible when the column is
> expanded, even if it's originally too narrow.
> 
> Suggested-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>

Tested-by: Fiona Ebner <f.ebner at proxmox.com>

> @@ -139,6 +149,12 @@ Ext.define('PVE.node.CephStatus', {
>  			{
>  			    dataIndex: 'summary',
>  			    header: gettext('Summary'),
> +			    renderer: function(value, metaData,record, rI, cI, store, view) {

eslint complains about missing space after ',' here

> +				if (record.get('expanded')) {
> +				    metaData.tdCls = 'pmx-column-wrapped';
> +				}
> +				return value;
> +			    },
>  			    flex: 1,
>  			},
>  			{




More information about the pve-devel mailing list