You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix two regressions surfaced after the routes slice (5308) merge (#5311)
* Fix home card placeholder render under showMode=false
Home cards rendered titles but `-` counts and placeholder rows when
"Show all connected endpoints" was unchecked. The parent's
QueryList-walking dispatch (setCardsToLoad) raced with child Input
bindings: when `endpointElements.changes` fired, a child whose
`endpoint` Input wasn't yet bound surfaced as `guid: undefined`,
got skipped silently, and was never re-dispatched. Result:
wrapper.load() never ran -> CFHomeCardComponent.load() never ran ->
endpointDataService stayed null -> placeholders forever.
Fix is to drive the load from the child's own ngOnInit, after
Angular has bound the @input. Retire the parent's dispatchedGuids /
setCardsToLoad / processCardsToLoad / viewport-scroll plumbing —
the registry's mergeMap(maxConcurrentCards) already throttles the
HTTP fan-out, so centralized dispatch isn't load-bearing for
concurrency.
* Restore Add Route button on app Routes tab
Slice 3.5 rebuilt the AddRoutesComponent stepper but the Routes tab's
entry point to it dropped out: the legacy <app-add-route-button> was
retired, and the new SignalListConfig didn't populate headerActions.
Result: the stepper at /applications/{cnsi}/{appGuid}/add-route was
unreachable from the UI on signal-native foundations.
Wire headerActions on the tab's listConfig with a single "Add Route"
entry that navigates to the stepper. Keeps the existing row actions
(Unmap / Delete) untouched. Mirrors the SignalListHeaderAction
pattern already used by cloud-foundry-space-users.
Copy file name to clipboardExpand all lines: src/frontend/packages/cloud-foundry/src/features/applications/application/application-tabs-base/tabs/routes-tab/routes-tab/routes-tab.component.ts
Copy file name to clipboardExpand all lines: src/frontend/packages/core/src/features/home/home/home-page-endpoint-card/home-page-endpoint-card.component.ts
0 commit comments