<#923 fix(launchplan): render the full launch plan...
# flyte-github
a
#923 fix(launchplan): render the full launch plan list instead of clipping it Pull request opened by 1fanwang TL;DR If a project has more than ~30 launch plans, the list quietly cuts off — you can scroll to about the 30th row and the rest are unreachable. So on anything with a real number of launch plans, most of them are effectively invisible. Type • Bug Fix • Feature • Plugin Are all requirements met? • Code completed • Smoke tested • Unit tests added • Code documentation added • Any pending items have an associated Issue Complete description Both list views virtualize against a scroll container they look up once with
document.getElementById('scroll-element')
, and the virtualizer never ends up with a working container — it renders the first windowful of rows and there's nothing to scroll to. The table view also takes its count from
result?.length
, the always-truthy
lodash/result
function, where it meant
results
. These lists are short enough that virtualization wasn't earning its place, so I dropped it from both views and render
results
directly. Smoke-tested on a live console with 64 launch plans: before, scrolling bottoms out around the 30th row; after, it reaches the last.
LaunchPlanTableView.test.tsx
guards the regression — three results in, three rows out. Tracking Issue NA Follow-up issue NA flyteorg/flyteconsole