Skip to content

[2.1] Fixes #38368: paginate glossary approval-task fetch so all pending proposals stay decidable (backport 2.1 #38404) - #38425

Merged
harsh-vador merged 2 commits into
2.1from
fix/glossary-approval-task-paging-2.1
Nov 23, 2026
Merged

harsh-vador merged 2 commits into
2.1from
fix/glossary-approval-task-paging-2.1

Conversation

@harsh-vador

@harsh-vador harsh-vador commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes #38368

Backport of #38404 to 2.1. The glossary Terms tab and useGlossaryProposals now follow paging.after when 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 -x and applied cleanly onto origin/2.1; the touched files are identical on main and 2.1, so the diff is the same. Kept as a draft until #38404 merges on main; if review changes #38404, this branch picks up the same changes.

Type of change:

  • Bug fix

Tests:

Unit tests

  • On this branch: yarn test GlossaryTermTab.test.tsx useGlossaryProposals.test.tsx GlossaryReview.utils.test.ts → 78 passed.
  • ESLint and Prettier on the changed files: clean.
  • tsc --noEmit: no new errors (the 3 it reports, in ExploreSortDropdown.tsx and OMSelectWidget.tsx, are on origin/2.1 too).

Backend integration tests

  • Not applicable (no backend changes).

Playwright (UI) tests

Checklist:

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

The PR adds listOpenApprovalTasks and shares it between the glossary Terms tab and useGlossaryProposals.

  • Glossary review screens load every matching approval task.

Reviews (1) · Last reviewed commit: "refactor(ui): share the paged approval-t..." · Reviewed by Greptile

…oposals stay decidable

(cherry picked from commit b38b604)
…ab and proposals hook

(cherry picked from commit d7e70d6)
@harsh-vador
harsh-vador marked this pull request as ready for review November 23, 2026 06:21
@harsh-vador
harsh-vador requested a review from a team as a code owner November 23, 2026 06:21
@harsh-vador
harsh-vador requested review from shrabantipaul-collate and removed request for a team November 23, 2026 06:21
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 skip-pr-checks label.

@harsh-vador
harsh-vador merged commit 9d89104 into 2.1 Nov 23, 2026
88 of 90 checks passed
@harsh-vador
harsh-vador deleted the fix/glossary-approval-task-paging-2.1 branch November 23, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants