From 3c2ba477f526c234c58cca30ecfff166d5d0397b Mon Sep 17 00:00:00 2001 From: spinline Date: Sat, 21 Feb 2026 00:58:35 +0300 Subject: [PATCH] feat(ui): add files tab and priority context menu --- frontend/src/components/torrent/details.rs | 20 ++++++++++++++++---- frontend/src/components/torrent/mod.rs | 1 + 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/torrent/details.rs b/frontend/src/components/torrent/details.rs index 88c318a..4fa778d 100644 --- a/frontend/src/components/torrent/details.rs +++ b/frontend/src/components/torrent/details.rs @@ -106,10 +106,22 @@ pub fn TorrentDetailsSheet() -> impl IntoView { -
- -

"Dosya listesi yakında eklenecek"

-
+ {move || { + if let Some(t) = selected_torrent.get() { + view! { +
+ +
+ }.into_any() + } else { + view! { +
+ +

"Dosya yükleniyor..."

+
+ }.into_any() + } + }}
diff --git a/frontend/src/components/torrent/mod.rs b/frontend/src/components/torrent/mod.rs index 9cc07e8..cb09710 100644 --- a/frontend/src/components/torrent/mod.rs +++ b/frontend/src/components/torrent/mod.rs @@ -1,3 +1,4 @@ pub mod table; pub mod add_torrent; pub mod details; +pub mod files;