This commit is contained in:
Thomas Peterson 2026-03-02 14:41:36 +01:00
parent f8c52f76eb
commit 5418d35939
3 changed files with 947 additions and 69 deletions

View File

@ -36,6 +36,7 @@ class HetznerService
'root' => 'unbekannt',
'data' => 'unbekannt',
'last_backup' => 'unbekannt',
'ssh_keys' => [],
];
}
@ -71,6 +72,7 @@ class HetznerService
'root' => '35%',
'data' => '42%',
'last_backup' => 'unbekannt',
'ssh_keys' => [],
];
}
return $testData;

File diff suppressed because it is too large Load Diff

View File

@ -41,6 +41,16 @@ class VirtualListView extends Container
$this->markDirty(true);
}
/**
* Update data without resetting scroll position
* Useful for updating row data while preserving user's scroll position
*/
public function updateData(array $rows): void
{
$this->rows = array_values($rows);
$this->markDirty(true);
}
public function setOnRowSelect(callable $callback): void
{
$this->onRowSelect = $callback;