-
Notifications
You must be signed in to change notification settings - Fork 235
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
fix: add a close button to comment input #3897
Conversation
@tu2463 is attempting to deploy a commit to the Daily Dev Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Thank you for your effort 🙏
After this, there should be two components we'll need to update to make this work on desktop. The MainComment
and SubComment
components contain a conditional render on the input field we display, we should pass the onRequestClose
value to be a function that clears the state that manages the input itself.
Co-authored-by: Lee Hansel Solevilla <[email protected]>
Thank you for your feedback! We've updated both components to pass the Please let us know if there's anything else you'd like adjusted. 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work by both you 👏 👏 👏
Just the suggested commits, then we should be good to go! 🚀
packages/shared/src/components/comments/CommentInputOrModal.tsx
Outdated
Show resolved
Hide resolved
packages/shared/src/components/comments/CommentInputOrModal.tsx
Outdated
Show resolved
Hide resolved
packages/shared/src/components/comments/CommentInputOrModal.tsx
Outdated
Show resolved
Hide resolved
packages/shared/src/components/comments/CommentInputOrModal.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Lee Hansel Solevilla <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to avoid any conflict. I shall test this thoroughly tomorrow and see if we can merge 🥳
Changes
This PR resolves #1606 dailydotdev/daily#1606
Manual Testing
Caution
Please make sure existing components are not breaking/affected by this PR
-->