Skip to content

fix(launchplan): render the full launch plan list instead of clipping it#923

Open
1fanwang wants to merge 1 commit into
flyteorg:masterfrom
1fanwang:fix-launchplan-count-typo
Open

fix(launchplan): render the full launch plan list instead of clipping it#923
1fanwang wants to merge 1 commit into
flyteorg:masterfrom
1fanwang:fix-launchplan-count-typo

Conversation

@1fanwang

@1fanwang 1fanwang commented Jun 21, 2026

Copy link
Copy Markdown

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

The launch plan table and card views virtualized against
document.getElementById('scroll-element'), which is null in this layout, so the
virtualizer had no scroll container and rendered the wrong number of rows. The
table view also read result?.length (the lodash `result` function, always
truthy) instead of results?.length. Render the results directly with stable keys.

Signed-off-by: 1fanwang <1fannnw@gmail.com>
@1fanwang 1fanwang force-pushed the fix-launchplan-count-typo branch from 3c7258b to 9bbe292 Compare June 21, 2026 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant