-
Notifications
You must be signed in to change notification settings - Fork 21
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
Bug fix: My Grants showing all grants #3513
Conversation
QA Summary
Test CoverageCoverage report for `packages/client`
Coverage report for `packages/server`
|
Terraform Summary
Hint: If "Terraform Format & Style" failed, run OutputValidation Output
Plan Summary
Pusher: @greg-adams, Action: |
currentPage, perPage, orderBy, orderDesc, | ||
}) { | ||
const pagination = { currentPage, perPage }; | ||
const ordering = { orderBy, orderDesc }; | ||
const filters = { ...this.state.grants.searchFormFilters }; | ||
const { criteriaQuery, paginationQuery, orderingQuery } = buildGrantsNextQuery({ filters, ordering, pagination }); | ||
|
||
// Avoid race conditions for tabs sharing grant fetching | ||
const requestId = state.grantsRequestId + 1; |
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.
suggestion: update this to a uuid
. my concern is there is a possibility of collision if the state information here is stale and the IDs are too close to each other. I feel like using a uuid might eliminate the possibility.
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.
👍 will update in next pr
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.
my suggestion here is non-blocking as the solution works well
Ticket #3512
Description
MyGrantsView
page and redirecting to page component without proper data (tabNames
)Screenshots / Demo Video
Testing
Automated and Unit Tests
Manual tests for Reviewer
Checklist