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

オープン
#315 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
electron, typescript
領域
desktop, frontend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
TypeScript
スター
277
フォーク
27
平均マージ
7時間 8分
マージ済み PR(30日)
81

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DuskBotAI/duskbot のほかの issue

DuskBotAI/duskbot の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。