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

added Cancel button functionality to child comment #9569

Merged
merged 3 commits into from
Oct 21, 2024

Conversation

Israellund
Copy link
Collaborator

Link to Issue

Closes: #9562

Description of Changes

  • Added functionality to close editor when replying to a comment, without first entering text, to clean up the UI and make it more intuitive.

"How We Fixed It"

added || isReplying logic to the Cancel button to show Cancel when replying.

Test Plan

-go to a thread with at least 1 comment
-confirm that the editor at the top of the thread does not show a Cancel button without first entering text
-click Reply
-confirm that you now see the Cancel button below the editor and that you can close it without having to enter any text first

Screen.Recording.2024-10-16.at.3.26.04.PM.mov

Copy link
Contributor

@mzparacha mzparacha left a comment

Choose a reason for hiding this comment

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

Tested, lgtm!

@Israellund Israellund merged commit d032063 into master Oct 21, 2024
10 checks passed
@Israellund Israellund deleted the israel.9562.show-cancel-button-reply-editor branch October 21, 2024 14:47
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.

add Cancel button to close reply editor
3 participants