Am 17/04/2024 um 08:45 schrieb Dominik Csapak: > similar to how it works for qemu, but add a confirmation dialog > so one does not accidentally shutdown or reboot a node. > > Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> > --- > changes from v1: > * add an AlertDialog as confirmation before executing the action > > lib/bloc/pve_node_overview_bloc.dart | 11 +++ > lib/widgets/pve_node_overview.dart | 24 ++++++ > .../pve_node_power_settings_widget.dart | 84 +++++++++++++++++++ > 3 files changed, 119 insertions(+) > create mode 100644 lib/widgets/pve_node_power_settings_widget.dart > >
applied this already a bit ago [0] with some code style follow-up [1], so can you please send the changes to adapt to Folke's review as patch on-top of current master? [0]: https://git.proxmox.com/?p=flutter/pve_flutter_frontend.git;a=commitdiff;h=16ddf759f338e59501520068867624b549215553 [1]: https://git.proxmox.com/?p=flutter/pve_flutter_frontend.git;a=commitdiff;h=e883ee3b9c9c7c6cee85d5ac77dcc86dbf7c12c0 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel