Repository navigation
[2.1] Fixes #38368: paginate glossary approval-task fetch so all pending proposals stay decidable (backport 2.1 #38404) - #38425
Merged
Conversation
…oposals stay decidable (cherry picked from commit b38b604)
…ab and proposals hook (cherry picked from commit d7e70d6)
harsh-vador
marked this pull request as ready for review
November 23, 2026 06:21
harsh-vador
requested review from
shrabantipaul-collate
and removed request for
a team
November 23, 2026 06:21
Contributor
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
ShaileshParmar11
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes:
Fixes #38368
Backport of #38404 to
2.1. The glossary Terms tab anduseGlossaryProposalsnow followpaging.afterwhen listing open approval tasks, so glossaries with more than 50 pending proposals keep Approve/Reject and the right "Proposed by" author on every term.The commits (including the review follow-up that moves the paged fetch into
listOpenApprovalTasks) are cherry-picked from #38404 with-xand applied cleanly ontoorigin/2.1; the touched files are identical onmainand2.1, so the diff is the same. Kept as a draft until #38404 merges onmain; if review changes #38404, this branch picks up the same changes.Type of change:
Tests:
Unit tests
yarn test GlossaryTermTab.test.tsx useGlossaryProposals.test.tsx GlossaryReview.utils.test.ts→ 78 passed.tsc --noEmit: no new errors (the 3 it reports, inExploreSortDropdown.tsxandOMSelectWidget.tsx, are onorigin/2.1too).Backend integration tests
Playwright (UI) tests
Checklist:
🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge.Summary
The PR adds
listOpenApprovalTasksand shares it between the glossary Terms tab anduseGlossaryProposals.Reviews (1) · Last reviewed commit: "refactor(ui): share the paged approval-t..." · Reviewed by Greptile