-
-
Notifications
You must be signed in to change notification settings - Fork 713
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: Comments cannot be edited or deleted #2725
Conversation
…es useCommentsValue hook (breaking)
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@12joan Which packages should I select for the changeset when none of have been modified? This is all components side. Also happy to add a test to verify expected behavior but I'm having trouble tracing where existing tests for comments components are, if any, and I only see a single e2e test file for tables. |
Thank you @EandrewJones for this first contribution! |
If there are genuinely no changes to any versioned packages, we can merge without a changeset. But I think
We didn't get very far with adding e2e tests, that's right. 🙂 If you want to try adding an e2e test, go ahead. It would certianly help to prevent this issue happening again, but it's not required to get the PR merged. |
This reverts commit d3ee34d.
Totally understood. I can strongly relate. Okay, I believe I've made all requested changes. |
Description
See changesets.
Closes #2563 and #2561
See #2563 for in-depth discussion of the proposed and decided upon fix. In brief, the props for the edit/delete buttons were not properly destructured and therefore the wrong item was being unpacked as props. In the comment editing form component, the state and props hooks needed to be added and passed to the text area.