Not Able to delete a Old SelfHosted Server from my dasktop App

Aperta
#315 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
electron, typescript
Ambito
desktop, frontend

Direzione di ricerca

Start by finding how the web dashboard renders its workspace dropdown and where workspace/server state is stored, then compare that with the desktop app's UI entry point, since the report says the control is missing there. The issue bundles two features — a workspace switcher and server/workspace removal — so scope should be split before any code is written; the linked issues #33 and #81 are prior discussion to read first. Done means the desktop app exposes the same selector as the dashboard and lets users forget an unreachable server without an active connection.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
What happened

Bug: Missing workspace switcher in the desktop app and inability to remove old servers

Description

I'm using DuskBot on my Windows desktop with a local server and a self-hosted AWS server.

I want to maintain multiple independent workspaces, including my local PC and potentially multiple AWS servers, and manage them directly from the desktop application.

Problem 1: Missing workspace switcher in the desktop application

The web dashboard provides a workspace dropdown that allows users to view, switch between, and add workspaces. However, I couldn't find an equivalent button or dropdown in the Windows desktop application.

After setting up a remote AWS server and a local workspace, I was unable to switch between them directly from the desktop application.

The desktop application should provide the same workspace management functionality as the web dashboard.

Problem 2: Unable to remove servers or local workspaces

I also encountered problems removing an old AWS server from DuskBot.

Even if a server has been deleted, is offline, or its IP address is no longer available, users should be able to forget or remove it from their list of workspaces.

Additionally, there should be an option to delete or reset a local workspace directly from the desktop application without having to reinstall DuskBot.

Expected behavior
  • Provide the same workspace selector in the desktop application as the web dashboard.
  • Allow users to view, add, and switch between multiple independent workspaces.
  • Allow users to manage local and remote servers directly from the desktop application.
  • Allow users to forget disconnected or inaccessible servers without requiring their IP address or an active connection.
  • Provide an option to delete or reset local workspaces with appropriate confirmation.
  • Clearly distinguish between forgetting a server connection and permanently deleting workspace data.
Related issues
  • #33 — Multi-server workspace management
  • #81 — Recovery after uninstalling a server

Unlike #33, I'm not requesting a unified workspace where bots run across multiple machines. I simply want to manage and switch between independent workspaces directly from the desktop application, just as I can from the web dashboard.

image

Same switcher is needed on dashtop and app as well

Steps to reproduce
  1. Install DuskBot on a Windows PC and create a local workspace.
  2. Set up a self-hosted DuskBot server on AWS.
  3. Connect the AWS server and migrate the existing bots to it.
  4. Log out, log back in, and set up a new local workspace.
  5. Open the web dashboard and notice the workspace dropdown with the option to switch or add workspaces.
  6. Open the desktop application and try to find the same workspace selector.
  7. There is no visible button or dropdown to view or switch between existing workspaces.
  8. Try to forget or remove an old AWS server that is no longer accessible.
Actual behavior
  • The web dashboard provides a workspace selector, but the desktop application does not expose an equivalent control.
  • Unable to easily switch between local and remote workspaces from the desktop application.
  • Unable to remove an old, inaccessible server.
Expected behavior
  • Provide the same workspace selector in the desktop application as the web dashboard.
  • Allow users to view, add, and switch between multiple workspaces.
  • Allow users to forget disconnected servers without requiring their IP address or an active connection.
  • Provide an option to delete or reset local workspaces with appropriate confirmation.
Version

0.2.29

Platform

Windows

Engine

Anti gravity

Logs or screenshots

Lingua principale
TypeScript
Stelle
277
Fork
27
Merge medio
7h 8m
PR unite (30g)
81

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DuskBotAI/duskbot

Tutte le issue di DuskBotAI/duskbot

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.