[GH-ISSUE #491] Disable "Delete project files from server" checkbox when server is not connected #311

Closed
opened 2026-03-03 11:14:40 +03:00 by kerem · 0 comments
Owner

Originally created by @manikanta9176 on GitHub (Nov 3, 2025).
Original GitHub issue: https://github.com/dflow-sh/dflow/issues/491

Originally assigned to: @manikanta9176 on GitHub.

While deleting a project, if the associated server is not connected, the "Delete project files from server" checkbox should be disabled.
Currently, the checkbox remains active even when the server connection is unavailable, which leads to confusion since the server-side files cannot be deleted without a valid connection.

Expected Behavior:

  • When the project server is disconnected, the "Delete project files from server" checkbox should be disabled and optionally show a tooltip like:

    “Server not connected — unable to delete files remotely.”

Steps to Reproduce:

  1. Open the project deletion modal.
  2. Disconnect or ensure the project server is offline.
  3. Observe that the "Delete project files from server" checkbox is still active.

Proposed Fix:

  • Add a connection status check before rendering the delete confirmation modal.
  • Disable the checkbox if the server is not connected.
  • (Optional) Display an info message or tooltip explaining why it’s disabled.
Originally created by @manikanta9176 on GitHub (Nov 3, 2025). Original GitHub issue: https://github.com/dflow-sh/dflow/issues/491 Originally assigned to: @manikanta9176 on GitHub. While deleting a project, if the associated server is **not connected**, the **"Delete project files from server"** checkbox should be **disabled**. Currently, the checkbox remains active even when the server connection is unavailable, which leads to confusion since the server-side files cannot be deleted without a valid connection. **Expected Behavior:** * When the project server is disconnected, the "Delete project files from server" checkbox should be **disabled** and optionally show a tooltip like: > “Server not connected — unable to delete files remotely.” **Steps to Reproduce:** 1. Open the project deletion modal. 2. Disconnect or ensure the project server is offline. 3. Observe that the "Delete project files from server" checkbox is still active. **Proposed Fix:** * Add a connection status check before rendering the delete confirmation modal. * Disable the checkbox if the server is not connected. * (Optional) Display an info message or tooltip explaining why it’s disabled.
kerem 2026-03-03 11:14:40 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dflow#311
No description provided.