Skip to content

feat: Add draft version CTA in deployment modal#12925

Open
viktoravelino wants to merge 1 commit intorelease-1.10.0from
feat/LE-940
Open

feat: Add draft version CTA in deployment modal#12925
viktoravelino wants to merge 1 commit intorelease-1.10.0from
feat/LE-940

Conversation

@viktoravelino
Copy link
Copy Markdown
Collaborator

@viktoravelino viktoravelino commented Apr 29, 2026

Summary

  • replace no-versions empty state with inline draft version CTA
  • create snapshot from selected flow draft inside deployment modal
  • auto-advance into connection setup after version creation
Screen.Recording.2026-04-29.at.9.39.28.AM.mov

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 29, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 135c432e-5315-468b-a145-4f0a85aa5ec0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/LE-940

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@viktoravelino viktoravelino changed the title LE-940: Add draft version CTA in deployment modal feat: Add draft version CTA in deployment modal Apr 29, 2026
@github-actions github-actions Bot added the enhancement New feature or request label Apr 29, 2026
@viktoravelino viktoravelino self-assigned this Apr 29, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.89%. Comparing base (9514c9d) to head (bd8fe11).
⚠️ Report is 2 commits behind head on release-1.10.0.

Additional details and impacted files

Impacted file tree graph

@@                Coverage Diff                 @@
##           release-1.10.0   #12925      +/-   ##
==================================================
+ Coverage           53.79%   53.89%   +0.09%     
==================================================
  Files                2047     2047              
  Lines              186342   186391      +49     
  Branches            26535    28045    +1510     
==================================================
+ Hits               100246   100451     +205     
+ Misses              84986    84830     -156     
  Partials             1110     1110              
Flag Coverage Δ
backend 57.05% <ø> (-0.02%) ⬇️
frontend 54.11% <100.00%> (+0.14%) ⬆️
lfx 49.74% <ø> (ø)

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

Files with missing lines Coverage Δ
...age/components/step-attach-flows-version-panel.tsx 96.32% <100.00%> (+0.49%) ⬆️
...s/deploymentsPage/components/step-attach-flows.tsx 98.03% <100.00%> (+0.81%) ⬆️

... and 46 files with indirect coverage changes

🚀 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.

@github-actions
Copy link
Copy Markdown
Contributor

Frontend Unit Test Coverage Report

Coverage Summary

Lines Statements Branches Functions
Coverage: 36%
36.39% (42099/115670) 67.95% (5798/8532) 36.28% (967/2665)

Unit Test Results

Tests Skipped Failures Errors Time
4094 0 💤 0 ❌ 0 🔥 8m 1s ⏱️

expect(screen.getByText("No versions found")).toBeInTheDocument();
expect(
screen.getByText(
"Deploy this flow by creating a version from current Draft",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"from its current draft"

@github-actions github-actions Bot added the lgtm This PR has been approved by a maintainer label Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request lgtm This PR has been approved by a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants