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: API token deletion not reflected in cache until page reload #1128
base: main
Are you sure you want to change the base?
Conversation
Someone is attempting to deploy a commit to the Documenso Team Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Hey There! and thank you for opening this pull request! 📝👋🏼 We require pull request titles to follow the Conventional Commits Spec and it looks like your proposed title needs to be adjusted. Details:
|
Important Auto Review SkippedAuto reviews are limited to the following labels: coderabbit. Please add one of these labels to enable auto reviews. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
name: Pull Request
about: Submit changes to the project for review and inclusion
Description
When a user creates an API token and deletes it immediately (without refreshing the page), the element that rendered the token (with the copy button) and the form that was used to create the token were not getting reset
Related Issue
Fixes Issue 1011
Changes Made
Testing Performed
Checklist
Additional Notes
As I have noticed, this is the first time useImperativeHandle hook is being used in the project. Is there any reason it is deliberately avoided or were there no cases where it was needed?