From b43b060c8a1f6f2de9927cbfbcf561d0000fe0c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=B0=95=EB=8B=A4=ED=98=84=20=28Dahyeon=20Park=29?= Date: Wed, 4 Nov 2026 21:13:45 +0900 Subject: [PATCH] fix(app): erase large view tuple types with into_any() at page and section boundaries --- app/src/detail.rs | 2 ++ app/src/discovery.rs | 10 ++++++---- app/src/workspace.rs | 13 +++++++------ 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/app/src/detail.rs b/app/src/detail.rs index 64c36b8..5647e9a 100644 --- a/app/src/detail.rs +++ b/app/src/detail.rs @@ -27,6 +27,7 @@ pub(crate) fn PlacePage() -> impl IntoView { let id = params.read().get("id").unwrap_or_default(); view! { } }} } + .into_any() } #[component] @@ -195,6 +196,7 @@ fn PlaceDetail(place_id: String) -> impl IntoView { } + .into_any() } fn progress_phase(events: &[JobEvent]) -> usize { diff --git a/app/src/discovery.rs b/app/src/discovery.rs index 3db9cf9..59f762e 100644 --- a/app/src/discovery.rs +++ b/app/src/discovery.rs @@ -233,7 +233,7 @@ pub(crate) fn HomePage() -> impl IntoView { view! {
-
+ {view! {

"장소 검색"

@@ -286,9 +286,9 @@ pub(crate) fn HomePage() -> impl IntoView {
-
+
}.into_any()} -
+ {view! {
+
}.into_any()}
} + .into_any() } #[component] @@ -496,6 +497,7 @@ pub(crate) fn RecentPlacesPage() -> impl IntoView {
} + .into_any() } /// Display the supplied ISO calendar date without guessing the user's timezone. diff --git a/app/src/workspace.rs b/app/src/workspace.rs index d4ee521..832d371 100644 --- a/app/src/workspace.rs +++ b/app/src/workspace.rs @@ -479,7 +479,7 @@ pub(crate) fn WorkspaceView(layout: Layout, photos: Vec) -> impl I

{warning}

-
+ {view! {
{if many_floors { view! { @@ -634,9 +634,9 @@ pub(crate) fn WorkspaceView(layout: Layout, photos: Vec) -> impl I } }).collect_view()}
-
+
}.into_any()} - }.into_any()}
- ) -> impl I } })} - + }.into_any()} } + .into_any() } #[cfg(test)]