Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

Add release confirmation prompt to commit modal

Updated the "What's next?" modal that appears after committing changes in the Fern Editor. Added a new section with the text "Do you want to release this change now?" below the GitHub link sharing section, with a clickable link that triggers a confirmation dialog.

What was the motivation & context behind this PR?

User requested to add a release prompt to the commit modal UI. When users click the "release this change now" link, they see a confirmation dialog asking "Are you sure?" with "Yes, release" and "No" buttons.

Changes Made

  • Created new ReleaseConfirmDialog component with confirmation UI
  • Added release section to EditorNextStepsModal between the steps and footer
  • Implemented dialog state management and click handlers

⚠️ Important Notes for Reviewers

  1. Incomplete Implementation: The handleRelease function currently only logs to console. This needs to be hooked up to actual release functionality before merging, or this should be documented as intentional UI scaffolding.

  2. Visual Verification Needed: Please verify the text appears in the correct location (should be in the area highlighted in red in the original request screenshot).

  3. Dialog Behavior: Test that clicking the link shows the confirmation, and both "Yes, release" and "No" buttons work correctly.

How has this PR been tested?

  • ✅ Lint checks passed (biome, style, yaml)
  • ⚠️ Not tested locally - visual verification needed
  • ⚠️ Release action not implemented - only UI is complete

Devin Session: https://app.devin.ai/sessions/0750f8d45c9f4f28a11cad9935bab713
Requested by: Kapil Gowru ([email protected]) - @kgowru

@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@vercel
Copy link
Contributor

vercel bot commented Nov 7, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
fern-dashboard Ready Ready Preview Nov 7, 2025 10:18pm
fern-dashboard-dev Ready Ready Preview Nov 7, 2025 10:18pm
ferndocs.com Ready Ready Preview Nov 7, 2025 10:18pm
5 Skipped Deployments
Project Deployment Preview Updated (UTC)
dev.ferndocs.com Ignored Ignored Nov 7, 2025 10:18pm
fern-platform Ignored Ignored Nov 7, 2025 10:18pm
preview.ferndocs.com Skipped Skipped Nov 7, 2025 10:18pm
prod-assets.ferndocs.com Skipped Skipped Nov 7, 2025 10:18pm
prod.ferndocs.com Skipped Skipped Nov 7, 2025 10:18pm

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