Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SF-3206 Display Cancel Draft dialog regardless of build state #3021

Merged

Conversation

kylebuss
Copy link
Collaborator

@kylebuss kylebuss commented Feb 17, 2025

This PR updates the existing Cancel Draft dialog to always display when a user selects to cancel a draft. This is intended to reduce incidental cancelation of drafts because of different draft build states allowing cancellation without displaying the prompt.


This change is Reviewable

@kylebuss kylebuss added the will require testing PR should not be merged until testers confirm testing is complete label Feb 17, 2025
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.65%. Comparing base (1fdfeab) to head (eb97977).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3021      +/-   ##
==========================================
- Coverage   82.65%   82.65%   -0.01%     
==========================================
  Files         553      553              
  Lines       32011    32010       -1     
  Branches     5187     5186       -1     
==========================================
- Hits        26459    26458       -1     
  Misses       4783     4783              
  Partials      769      769              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kylebuss kylebuss marked this pull request as draft February 18, 2025 03:05
@kylebuss kylebuss force-pushed the improvement/sf-3206-always-display-draft-cancel-dialog branch from 1926a43 to 842ff41 Compare February 18, 2025 13:08
@kylebuss kylebuss marked this pull request as ready for review February 18, 2025 15:33
@pmachapman pmachapman self-requested a review February 18, 2025 18:07
@pmachapman pmachapman self-assigned this Feb 18, 2025
Copy link
Collaborator

@pmachapman pmachapman left a comment

Choose a reason for hiding this comment

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

:lgtm: Just add an acceptance test, and you are good to go!

Reviewed 1 of 2 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @kylebuss)

@pmachapman pmachapman added ready to test and removed will require testing PR should not be merged until testers confirm testing is complete labels Feb 18, 2025
Copy link
Collaborator Author

@kylebuss kylebuss left a comment

Choose a reason for hiding this comment

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

Done.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @kylebuss)

@RaymondLuong3 RaymondLuong3 force-pushed the improvement/sf-3206-always-display-draft-cancel-dialog branch from 842ff41 to eb97977 Compare February 19, 2025 17:29
@RaymondLuong3 RaymondLuong3 merged commit 7add4e4 into master Feb 19, 2025
16 of 17 checks passed
@RaymondLuong3 RaymondLuong3 deleted the improvement/sf-3206-always-display-draft-cancel-dialog branch February 19, 2025 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants