Skip to content

Wizard: restrict multiple targets when creating a bp (HMS-11101) - #4747

Open
ksiekl wants to merge 2 commits into
mainfrom
single-target-radio
Open

Wizard: restrict multiple targets when creating a bp (HMS-11101)#4747
ksiekl wants to merge 2 commits into
mainfrom
single-target-radio

Conversation

@ksiekl

@ksiekl ksiekl commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

When a user creates a new blueprint, we want the target environment options to be limited to a single selection, so there will be radio buttons. However, if the user wants to edit a bp that already includes multiple target envs, we keep the checkboxes there (for now, until the migration is complete).
radiobuttons

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.73684% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 77.98%. Comparing base (a686d33) to head (832421c).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ImageOutput/components/TargetEnvironmentOption.tsx 94.11% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4747      +/-   ##
==========================================
+ Coverage   77.93%   77.98%   +0.05%     
==========================================
  Files         264      264              
  Lines        7069     7077       +8     
  Branches     2597     2562      -35     
==========================================
+ Hits         5509     5519      +10     
+ Misses       1464     1459       -5     
- Partials       96       99       +3     
Flag Coverage Δ
playwright 60.06% <43.75%> (+0.20%) ⬆️
vitest 72.79% <84.21%> (-0.12%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...steps/ImageOutput/components/TargetEnvironment.tsx 86.31% <100.00%> (+0.14%) ⬆️
...ImageOutput/components/TargetEnvironmentOption.tsx 97.05% <94.11%> (+8.16%) ⬆️

... and 6 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a686d33...832421c. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ksiekl
ksiekl force-pushed the single-target-radio branch 4 times, most recently from 6fe1ed7 to f3ad46b Compare August 13, 2026 12:24
ksiekl added 2 commits August 13, 2026 15:08
When a user creates a new blueprint, we want to have the options for
target environments restricted to just one selection, so there will be
radio buttons. However, if the user wants to edit a bp that already
consisted of multiple target envs, we keep the checkboxes there (for
now, until the migration is done.)
@ksiekl
ksiekl force-pushed the single-target-radio branch from f3ad46b to 832421c Compare August 13, 2026 13:09
@ksiekl
ksiekl marked this pull request as ready for review August 13, 2026 13:42
@ksiekl
ksiekl requested a review from a team as a code owner August 13, 2026 13:42

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

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