Skip to content

Make benchmark-ready "Available workflows" list use available vertical space#2058

Merged
cezudas merged 1 commit intomainfrom
cezudas/OPS-3845
Mar 4, 2026
Merged

Make benchmark-ready "Available workflows" list use available vertical space#2058
cezudas merged 1 commit intomainfrom
cezudas/OPS-3845

Conversation

@cezudas
Copy link
Copy Markdown
Contributor

@cezudas cezudas commented Mar 4, 2026

@linear
Copy link
Copy Markdown

linear Bot commented Mar 4, 2026

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the benchmark “Available workflows” section layout so the workflow list can scroll and better utilize vertical space in the “benchmark-ready” wizard step (OPS-3845).

Changes:

  • Makes BenchmarkWorkflowList a flex column container intended to grow within its parent and prevents the disclaimer text from shrinking.
  • Updates the “benchmark-ready” WizardStep to be a flex column with flex-1 min-h-0 so its children can participate in height-based layouts/scrolling.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/ui-components/src/components/benchmark/benchmark-workflow-list.tsx Adjusts container/list/disclaimer flex + overflow classes to support using available vertical space.
packages/react-ui/src/app/features/benchmark/components/benchmark-wizard.tsx Makes the benchmark-ready wizard step a flex container so its content can size/scroll correctly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

<div className="flex flex-col flex-1 min-h-0">
<p className="font-medium text-sm mb-2">{t('Available workflows:')}</p>
<ul className="list-disc pl-5 space-y-1 overflow-y-auto max-h-[120px]">
<ul className="list-disc pl-5 space-y-1 overflow-y-auto min-h-0">
Copy link

Copilot AI Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BenchmarkWorkflowList is now a flex column container intended to use remaining vertical space, but the <ul> doesn’t have flex-1/grow, so it won’t expand to fill available space (it will only shrink when constrained). If the goal is for the scrollable list to take all remaining height and keep the italic note pinned to the bottom, make the <ul> a growing flex child (e.g., add flex-1 alongside min-h-0).

Suggested change
<ul className="list-disc pl-5 space-y-1 overflow-y-auto min-h-0">
<ul className="list-disc pl-5 space-y-1 overflow-y-auto min-h-0 flex-1">

Copilot uses AI. Check for mistakes.
@cezudas cezudas merged commit 6efaf64 into main Mar 4, 2026
29 checks passed
@cezudas cezudas deleted the cezudas/OPS-3845 branch March 4, 2026 16:50
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.

3 participants