Closed owengretzinger closed 4 days ago
Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword
link
(e.g. "Link T-123").π‘Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.
[!IMPORTANT]
Review skipped
Auto reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
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?
Name | Link |
---|---|
Latest commit | a834229eb936354bef905e6d6b76ec4e8a8e462d |
Latest deploy log | https://app.netlify.com/sites/dh-portal-beta/deploys/6736abdd57da55000889188c |
Deploy Preview | https://deploy-preview-220--dh-portal-beta.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
TL;DR there's a autoResetPageIndex property for tanstack tables, I set it to false.
I just made PR #218 to fix the pagination issue, but now that getApplications isn't invalidated, the review count in the table doesn't update when a review is submitted.
I tried fixed this by optimistically updating the review count, but this made it go back to the first page like before since the data changing causes a rerender.
So the solution in the end was to invalidate getApplications as before, but set autoResetPageIndex to false on the table.
https://github.com/user-attachments/assets/35d1d49e-752d-4e0b-a2a4-2e998b8bc401