[PR #157] [MERGED] Feat: update ssh status on page load #369

Closed
opened 2026-03-03 11:29:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dflow-sh/dflow/pull/157
Author: @manikanta9176
Created: 5/8/2025
Status: Merged
Merged: 5/8/2025
Merged by: @manikanta9176

Base: mainHead: feat/update-ssh-status-on-page-load


📝 Commits (8)

  • d145401 chore: Update server connection status after successful SSH connection
  • 5eff644 refactor: Move payload update for server connection status outside SSH connection check
  • 1261116 refactor: Simplify server connection handling in ProjectCard and SuspendedDashboard components
  • ed4c367 chore: Add server connection checks and disable actions accordingly in CreateService and DeployTemplate components
  • 1a6058e refactor: Update ServiceList and related components to use project object and handle disabled state for nodes if server connection fails
  • dd7978c refactor: Enhance server connection handling in SuspendedPage and update serverId usage
  • 830f8bf chore: Add RefreshButton component and enhance server status display in ServerCard
  • 74a2e6d refactor: Update server connection handling across components and improve SSH connection alerts

📊 Changes

21 files changed (+470 additions, -145 deletions)

View changed files

📝 src/app/(frontend)/(dashboard)/dashboard/page.tsx (+13 -16)
📝 src/app/(frontend)/(dashboard)/dashboard/project/[id]/page.tsx (+44 -3)
📝 src/app/(frontend)/(dashboard)/dashboard/project/[id]/service/[serviceId]/page.tsx (+16 -4)
📝 src/app/(frontend)/(dashboard)/servers/[id]/page.tsx (+87 -32)
📝 src/app/(frontend)/(dashboard)/servers/page.tsx (+36 -15)
📝 src/components/ProjectCard.tsx (+17 -24)
src/components/RefreshButton.tsx (+24 -0)
📝 src/components/onboarding/dokkuInstallation/Step2.tsx (+1 -1)
📝 src/components/reactflow/CustomNodes/index.tsx (+17 -5)
📝 src/components/reactflow/types.ts (+1 -0)
📝 src/components/servers/ServerCard.tsx (+83 -5)
📝 src/components/servers/ServerDetails.tsx (+3 -14)
📝 src/components/servers/ServerList.tsx (+1 -1)
📝 src/components/servers/UpdateServerForm.tsx (+1 -1)
📝 src/components/servers/monitoring/NetdataInstallPrompt.tsx (+10 -2)
📝 src/components/service/CreateService.tsx (+33 -6)
📝 src/components/service/ServiceList.tsx (+25 -6)
📝 src/components/templates/DeployTemplate.tsx (+36 -6)
📝 src/payload-types.ts (+1 -1)
📝 src/payload/collections/Servers/hooks/populateDokkuVersion.ts (+18 -0)

...and 1 more files

📄 Description

#152


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dflow-sh/dflow/pull/157 **Author:** [@manikanta9176](https://github.com/manikanta9176) **Created:** 5/8/2025 **Status:** ✅ Merged **Merged:** 5/8/2025 **Merged by:** [@manikanta9176](https://github.com/manikanta9176) **Base:** `main` ← **Head:** `feat/update-ssh-status-on-page-load` --- ### 📝 Commits (8) - [`d145401`](https://github.com/dflow-sh/dflow/commit/d145401959f7ebbf63ce9e4064e351bf1e578729) chore: Update server connection status after successful SSH connection - [`5eff644`](https://github.com/dflow-sh/dflow/commit/5eff6448724456c8850f7188d927a78f962c7daa) refactor: Move payload update for server connection status outside SSH connection check - [`1261116`](https://github.com/dflow-sh/dflow/commit/126111618d357edce8b435fa061a4e15e185421d) refactor: Simplify server connection handling in ProjectCard and SuspendedDashboard components - [`ed4c367`](https://github.com/dflow-sh/dflow/commit/ed4c3675baa088229fb04ac85a8aef7618174d33) chore: Add server connection checks and disable actions accordingly in CreateService and DeployTemplate components - [`1a6058e`](https://github.com/dflow-sh/dflow/commit/1a6058e22382deaa63f532163249d0948d7b6aec) refactor: Update ServiceList and related components to use project object and handle disabled state for nodes if server connection fails - [`dd7978c`](https://github.com/dflow-sh/dflow/commit/dd7978ca6cc7053db0b18ab7851eb40bcace6baf) refactor: Enhance server connection handling in SuspendedPage and update serverId usage - [`830f8bf`](https://github.com/dflow-sh/dflow/commit/830f8bf8d1d7aca353a79f79c5822a9f2831ba7f) chore: Add RefreshButton component and enhance server status display in ServerCard - [`74a2e6d`](https://github.com/dflow-sh/dflow/commit/74a2e6d63cc8d2074d9a99e4c74067f390cca849) refactor: Update server connection handling across components and improve SSH connection alerts ### 📊 Changes **21 files changed** (+470 additions, -145 deletions) <details> <summary>View changed files</summary> 📝 `src/app/(frontend)/(dashboard)/dashboard/page.tsx` (+13 -16) 📝 `src/app/(frontend)/(dashboard)/dashboard/project/[id]/page.tsx` (+44 -3) 📝 `src/app/(frontend)/(dashboard)/dashboard/project/[id]/service/[serviceId]/page.tsx` (+16 -4) 📝 `src/app/(frontend)/(dashboard)/servers/[id]/page.tsx` (+87 -32) 📝 `src/app/(frontend)/(dashboard)/servers/page.tsx` (+36 -15) 📝 `src/components/ProjectCard.tsx` (+17 -24) ➕ `src/components/RefreshButton.tsx` (+24 -0) 📝 `src/components/onboarding/dokkuInstallation/Step2.tsx` (+1 -1) 📝 `src/components/reactflow/CustomNodes/index.tsx` (+17 -5) 📝 `src/components/reactflow/types.ts` (+1 -0) 📝 `src/components/servers/ServerCard.tsx` (+83 -5) 📝 `src/components/servers/ServerDetails.tsx` (+3 -14) 📝 `src/components/servers/ServerList.tsx` (+1 -1) 📝 `src/components/servers/UpdateServerForm.tsx` (+1 -1) 📝 `src/components/servers/monitoring/NetdataInstallPrompt.tsx` (+10 -2) 📝 `src/components/service/CreateService.tsx` (+33 -6) 📝 `src/components/service/ServiceList.tsx` (+25 -6) 📝 `src/components/templates/DeployTemplate.tsx` (+36 -6) 📝 `src/payload-types.ts` (+1 -1) 📝 `src/payload/collections/Servers/hooks/populateDokkuVersion.ts` (+18 -0) _...and 1 more files_ </details> ### 📄 Description #152 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 11:29:35 +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#369
No description provided.