feat(dashboard): onboarding wizard UI #144

Merged
sharang merged 3 commits from feat/onboarding-wizard into main 2026-07-12 21:28:53 +00:00
Showing only changes of commit 6d95070f7b - Show all commits
@@ -80,8 +80,10 @@ pub async fn create_target(
/// Run kind-based classification on a target. /// Run kind-based classification on a target.
#[server] #[server]
pub async fn detect_target(id: String) -> Result<TargetResponse, ServerFnError> { pub async fn detect_target(id: String) -> Result<TargetResponse, ServerFnError> {
let resp = let resp = super::agent_client::agent_request(
super::agent_client::agent_request(reqwest::Method::POST, &format!("/api/v1/targets/{id}/detect")) reqwest::Method::POST,
&format!("/api/v1/targets/{id}/detect"),
)
.await? .await?
.send() .send()
.await .await