public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Rusovac <d.rusovac@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [PATCH yew-mobile-gui 1/3] run cargo fmt
Date: Wed, 18 Feb 2026 12:03:31 +0100	[thread overview]
Message-ID: <20260218110333.158265-2-d.rusovac@proxmox.com> (raw)
In-Reply-To: <20260218110333.158265-1-d.rusovac@proxmox.com>

Signed-off-by: Dominik Rusovac <d.rusovac@proxmox.com>
---
 src/pages/page_node_status/dashboard_panel.rs | 4 ++--
 src/pages/page_node_status/services_panel.rs  | 2 +-
 src/pages/page_not_found.rs                   | 2 +-
 src/widgets/guest_backup_panel.rs             | 6 +++---
 src/widgets/storage_content_panel.rs          | 2 +-
 src/widgets/task_list_button.rs               | 2 +-
 src/widgets/tasks_panel.rs                    | 2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/pages/page_node_status/dashboard_panel.rs b/src/pages/page_node_status/dashboard_panel.rs
index c487d4e..1a723fe 100644
--- a/src/pages/page_node_status/dashboard_panel.rs
+++ b/src/pages/page_node_status/dashboard_panel.rs
@@ -10,14 +10,14 @@ use yew::prelude::*;
 use yew::virtual_dom::{VComp, VNode};
 use yew_router::scope_ext::RouterScopeExt;
 
+use pwt::AsyncAbortGuard;
 use pwt::prelude::*;
 use pwt::widget::{Button, Column, Fa, List, ListTile, MiniScroll, MiniScrollMode, Row};
-use pwt::AsyncAbortGuard;
 
 use proxmox_yew_comp::layout::card::standard_card;
 use proxmox_yew_comp::layout::list_tile::{icon_list_tile, list_tile_usage};
 use proxmox_yew_comp::layout::render_loaded_data;
-use proxmox_yew_comp::{http_get, http_post, percent_encoding::percent_encode_component, XTermJs};
+use proxmox_yew_comp::{XTermJs, http_get, http_post, percent_encoding::percent_encode_component};
 
 use pve_api_types::NodeStatus;
 
diff --git a/src/pages/page_node_status/services_panel.rs b/src/pages/page_node_status/services_panel.rs
index a4a0e00..6e3e2e0 100644
--- a/src/pages/page_node_status/services_panel.rs
+++ b/src/pages/page_node_status/services_panel.rs
@@ -5,8 +5,8 @@ use gloo_timers::callback::Timeout;
 
 use yew::virtual_dom::{VComp, VNode};
 
-use pwt::widget::{Column, Container, List};
 use pwt::AsyncAbortGuard;
+use pwt::widget::{Column, Container, List};
 use pwt::{prelude::*, widget::ListTile};
 
 use proxmox_yew_comp::layout::list_tile::title_subtitle_column;
diff --git a/src/pages/page_not_found.rs b/src/pages/page_not_found.rs
index ecf9534..352f509 100644
--- a/src/pages/page_not_found.rs
+++ b/src/pages/page_not_found.rs
@@ -1,5 +1,5 @@
 use pwt::prelude::*;
-use pwt::widget::{error_message, Column};
+use pwt::widget::{Column, error_message};
 
 use crate::widgets::TopNavBar;
 
diff --git a/src/widgets/guest_backup_panel.rs b/src/widgets/guest_backup_panel.rs
index 7fa46cb..fac281b 100644
--- a/src/widgets/guest_backup_panel.rs
+++ b/src/widgets/guest_backup_panel.rs
@@ -1,16 +1,16 @@
 use std::rc::Rc;
 
 use anyhow::Error;
-use proxmox_yew_comp::{http_post, LogView};
+use proxmox_yew_comp::{LogView, http_post};
 use pwt::touch::{Fab, FabSize, SideDialog};
 use pwt::widget::form::{Combobox, Field, Form, FormContext, SubmitButton};
 use serde_json::json;
 use yew::prelude::*;
 use yew::virtual_dom::{VComp, VNode};
 
+use pwt::AsyncAbortGuard;
 use pwt::prelude::*;
 use pwt::widget::{Column, MiniScroll, Row};
-use pwt::AsyncAbortGuard;
 
 use proxmox_yew_comp::layout::mobile_form::label_field;
 use proxmox_yew_comp::layout::render_loaded_data;
@@ -18,7 +18,7 @@ use proxmox_yew_comp::{http_get, percent_encoding::percent_encode_component};
 
 use pve_api_types::{StorageContent, StorageInfo};
 
-use crate::widgets::{storage_card, StorageContentPanel};
+use crate::widgets::{StorageContentPanel, storage_card};
 
 #[derive(Clone, PartialEq, Properties)]
 pub struct GuestBackupPanel {
diff --git a/src/widgets/storage_content_panel.rs b/src/widgets/storage_content_panel.rs
index 7793563..dd0513a 100644
--- a/src/widgets/storage_content_panel.rs
+++ b/src/widgets/storage_content_panel.rs
@@ -9,10 +9,10 @@ use yew::html::IntoPropValue;
 use yew::prelude::*;
 use yew::virtual_dom::{VComp, VNode};
 
+use pwt::AsyncAbortGuard;
 use pwt::prelude::*;
 use pwt::touch::MaterialAppScopeExt;
 use pwt::widget::{Column, Container, Dialog, Fa, List, ListTile, Row, Trigger};
-use pwt::AsyncAbortGuard;
 
 use proxmox_yew_comp::layout::list_tile::icon_list_tile;
 use proxmox_yew_comp::layout::render_loaded_data;
diff --git a/src/widgets/task_list_button.rs b/src/widgets/task_list_button.rs
index 66b6e17..7321b1d 100644
--- a/src/widgets/task_list_button.rs
+++ b/src/widgets/task_list_button.rs
@@ -8,7 +8,7 @@ use yew::html::{IntoEventCallback, IntoPropValue};
 use yew::virtual_dom::{VComp, VNode};
 
 use pwt::widget::{Button, Column, Container};
-use pwt::{prelude::*, AsyncAbortGuard};
+use pwt::{AsyncAbortGuard, prelude::*};
 
 use proxmox_yew_comp::http_get;
 use proxmox_yew_comp::percent_encoding::percent_encode_component;
diff --git a/src/widgets/tasks_panel.rs b/src/widgets/tasks_panel.rs
index 466cad1..36f8c29 100644
--- a/src/widgets/tasks_panel.rs
+++ b/src/widgets/tasks_panel.rs
@@ -5,9 +5,9 @@ use yew::html::IntoEventCallback;
 use yew::prelude::*;
 use yew::virtual_dom::{VComp, VNode};
 
+use pwt::AsyncAbortGuard;
 use pwt::prelude::*;
 use pwt::widget::{Column, Container, Fa, List, ListTile};
-use pwt::AsyncAbortGuard;
 
 use pwt_macros::builder;
 
-- 
2.47.3





  reply	other threads:[~2026-02-18 11:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-18 11:03 [PATCH yew-mobile-gui 0/3] fix #7330: dashboard: display CPU utilization correctly Dominik Rusovac
2026-02-18 11:03 ` Dominik Rusovac [this message]
2026-02-18 11:03 ` [PATCH yew-mobile-gui 2/3] " Dominik Rusovac
2026-02-18 11:33   ` Dominik Csapak
2026-02-18 13:17     ` Dominik Rusovac
2026-02-18 11:03 ` [PATCH yew-mobile-gui 3/3] dashboard: polish CPU utilization presentation Dominik Rusovac
2026-02-18 11:21   ` Maximiliano Sandoval
2026-02-18 13:06     ` Dominik Rusovac
2026-02-19 12:11 ` superseded [PATCH yew-mobile-gui 0/3] fix #7330: dashboard: display CPU utilization correctly Dominik Rusovac

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=20260218110333.158265-2-d.rusovac@proxmox.com \
    --to=d.rusovac@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
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal