From 5a8887c6905788f3865e795f981dcd145e53a661 Mon Sep 17 00:00:00 2001 From: alemi Date: Mon, 22 Apr 2024 02:32:09 +0200 Subject: [PATCH] feat(web): links to debug user and obj pages --- web/src/page.rs | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/web/src/page.rs b/web/src/page.rs index db8d58cc..b7599704 100644 --- a/web/src/page.rs +++ b/web/src/page.rs @@ -199,12 +199,12 @@ pub fn TimelinePage(name: &'static str, tl: Timeline) -> impl IntoView { #[component] pub fn DebugPage() -> impl IntoView { - let url_ref: NodeRef = create_node_ref(); let (object, set_object) = create_signal(serde_json::Value::String( "use this view to fetch remote AP objects and inspect their content".into()) ); let cached_ref: NodeRef = create_node_ref(); let auth = use_context::().expect("missing auth context"); + let (query, set_query) = create_signal("".to_string()); view! {
debug @@ -212,7 +212,7 @@ pub fn DebugPage() -> impl IntoView {
set_object.set(x), @@ -230,7 +230,16 @@ pub fn DebugPage() -> impl IntoView { } > - + +
+ obj + " " + usr +