Skip to content

Connect VidXP Desktop to remote servers - #150

Open
Sidra-009 wants to merge 1 commit into
grayhatdevelopers:mainfrom
Sidra-009:feature/77-desktop-remote-connect
Open

Connect VidXP Desktop to remote servers#150
Sidra-009 wants to merge 1 commit into
grayhatdevelopers:mainfrom
Sidra-009:feature/77-desktop-remote-connect

Conversation

@Sidra-009

Copy link
Copy Markdown

Summary

Closes #77

Allows VidXP Desktop to connect to an existing remote VidXP deployment instead of managing only local installations.

  • Save and switch between named local and remote targets
  • Validate compatibility and available capabilities before adopting a remote target
  • Discover and support the server-configured authentication flow (via WWW-Authenticate challenge — no hardcoded auth scheme)
  • Show connection, repository, model, and job readiness for the active target
  • Open the appropriate browser/management surface for the selected target
  • Remote targets remain fully server-owned — no local install, repair, or removal actions are offered for them

Changes

  • desktop/src-tauri/src/target_profiles.rs — remote target modeling, persistence, HTTP-based validation, adoption, and revalidation
  • desktop/src-tauri/src/lib.rs — Tauri commands for remote inspection/adoption/status, exhaustive target-kind handling
  • desktop/src/tauri.ts — remote target types, profile fields, inspection types, IPC wrappers
  • desktop/src/App.tsx — remote setup stage, navigation, activation flow
  • desktop/src/components/TargetChoice.tsx — remote server option in target selection
  • desktop/src/components/RemoteSetup.tsx (new) — remote URL/name/auth setup and compatibility preview
  • desktop/src/components/TargetSummary.tsx — remote status, repository identity, model/config, job readiness; local-only controls hidden for remote targets
  • desktop/src/styles.css — spacing for the technical summary block
  • desktop/src/App.test.tsx — updated stale test to cover the new remote option

Validation

  • cargo check --manifest-path desktop/src-tauri/Cargo.toml — pass
  • npm --prefix desktop run typecheck — pass
  • npm --prefix desktop run test — 47/47 pass

@SaadBazaz

Copy link
Copy Markdown
Member

Hey @Sidra-009,
Thanks for the Pull Request.
As a starter, we require all contributors to "star" and "fork" the repo, in order to determine if there really is a human behind the wheel or an autonomous agent.
Please star the repo for our review to proceed.
Thanks!

@Sidra-009

Copy link
Copy Markdown
Author

Hey @Sidra-009, Thanks for the Pull Request. As a starter, we require all contributors to "star" and "fork" the repo, in order to determine if there really is a human behind the wheel or an autonomous agent. Please star the repo for our review to proceed. Thanks!

ty for letting me know i have starred the repository, and the repository was already forked as the PR was submitted from my fork....... looking forward to your review......... ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Connect VidXP Desktop to remote servers

2 participants