aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/hub/hub.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2026-03-22 13:13:13 +0100
committerGitHub Enterprise <[email protected]>2026-03-22 13:13:13 +0100
commit365229bcb24426dc3e02cb632b865e79ba01a9f9 (patch)
tree7c52640c73616e93bd993095e7a7295b1e1bcc22 /src/zenserver/hub/hub.cpp
parentUpgrade mimalloc to v2.2.7 and log active memory allocator (#876) (diff)
downloadzen-365229bcb24426dc3e02cb632b865e79ba01a9f9.tar.xz
zen-365229bcb24426dc3e02cb632b865e79ba01a9f9.zip
hub web UI improvements (#878)
- Improvement: Hub dashboard module list improved - Animated state dots, with flashing transitions for hibernating, waking, provisioning, and deprovisioning - Per-row port used by the provisioned instance - Per-row hibernate, wake, and deprovision actions with confirmation for destructive operations - Per-row button to open the instance dashboard in a new window - Multi-select with bulk hibernate/wake/deprovision and select-all - Pagination at 50 lines per page - Inline fold-out panel per row with human-readable process metrics
Diffstat (limited to 'src/zenserver/hub/hub.cpp')
-rw-r--r--src/zenserver/hub/hub.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenserver/hub/hub.cpp b/src/zenserver/hub/hub.cpp
index 54f45e511..ebbb9432a 100644
--- a/src/zenserver/hub/hub.cpp
+++ b/src/zenserver/hub/hub.cpp
@@ -605,6 +605,7 @@ Hub::Find(std::string_view ModuleId, InstanceInfo* OutInstanceInfo)
std::chrono::system_clock::now() // TODO
};
Instance->GetProcessMetrics(Info.Metrics);
+ Info.Port = Instance->GetBasePort();
*OutInstanceInfo = Info;
}
@@ -628,6 +629,7 @@ Hub::EnumerateModules(std::function<void(std::string_view ModuleId, const Instan
std::chrono::system_clock::now() // TODO
};
Instance->GetProcessMetrics(Info.Metrics);
+ Info.Port = Instance->GetBasePort();
Infos.push_back(std::make_pair(std::string(Instance->GetModuleId()), Info));
}