Skip to content

Column Edit - Address feedback - #25669

Merged
anuj-kumary merged 12 commits into
mainfrom
column_pagination
Feb 5, 2026
Merged

anuj-kumary merged 12 commits into
mainfrom
column_pagination

Conversation

@harshach

@harshach harshach commented Feb 2, 2026 •

Copy link
Copy Markdown
Collaborator

Describe your changes:

Screen.Recording.2026-02-05.at.5.22.54.PM.mov

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Summary by Gitar

  • Fixed pagination control:
    • Refactored usePaginationControls.tsx hook with improved state management and added page jump capability with new i18n key for "Jump to page" across 20 languages
  • New feature:
    • Added highlighted row animation in ColumnGridTableRow.tsx when users update column metadata, providing visual feedback on successful edits
  • Backend filtering:
    • Added asset type filter support in ColumnResource.java and aggregators for refined column searches
  • Fixed occurrence counting:
    • Changed from group.occurrenceCount to group.occurrences.length for accurate coverage calculations
  • UX enhancement:
    • Added metadata status filter descriptions with tooltips and renamed SVG assets with underscore convention

This will update automatically on new commits.


@github-actions

github-actions Bot commented Feb 3, 2026 •

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 65%
65.87% (56025/85055) 45.08% (29080/64501) 48% (8845/18429)

karanh37
karanh37 previously approved these changes Feb 5, 2026
@gitar-bot

gitar-bot Bot commented Feb 5, 2026 •

Copy link
Copy Markdown
🔍 CI failure analysis for a4dc65f: Job 3/6: 1 NotificationAlerts test failed, 16 flaky tests. The failure is unrelated to PR's Column Bulk Operations changes. High flaky test count suggests test environment instability.

Issue

Playwright E2E test Job 3/6 had 1 failed test and 16 flaky tests.

Root Cause

Single Test Failure: The failed test is in Notification Alerts functionality, which is unrelated to this PR's Column Bulk Operations changes.

Failed Test (1 total)

NotificationAlerts.spec.ts:245:1 › Multiple Filters Alert

  • Error: expect(locator).toBeVisible() failed - Element(s) not found
  • Test was retried once, second attempt showed: page.waitForSelector: Target page, context or browser has been closed

Flaky Tests (16 total)

Various features showing intermittent failures:

  1. Impact Analysis - Entity popover card in lineage
  2. Online Users - Display name in users table
  3. Glossary Permissions - Team-based permissions
  4. Service Permissions - SearchIndex service operations
  5. Query Entity test
  6. Custom Property Advanced Search - Entity Reference List operators
  7. KPI Widget
  8. Explore Discovery - Soft deleted assets in suggestions
  9. Right Entity Panel - Description section
  10. Right Entity Panel - Remove Domain
  11. Service Form - SSL cert upload with long filename
    12-16. Custom Properties - Integer, Markdown, and Duration custom properties for various entities

Details

Assessment: Unrelated to PR Changes

This PR's changes focus on:

  • Column Bulk Operations: Metadata status filters, SearchDropdown enhancements, ColumnGrid improvements, pagination refactoring
  • E2E Test Fixes: Updated metadata status filter tests to use correct filter options (MISSING, INCOMPLETE, INCONSISTENT, COMPLETE)
  • Learning Resources Filter Hook: useLearningResourceFilters.tsx - state management only

The failed test is for:

  • Notification Alerts with multiple filters: A feature completely separate from Column Bulk Operations

Key Evidence

  • Single failure: Only 1 test failed (NotificationAlerts)
  • Element visibility issue: Test timed out waiting for an element, then browser closed
  • Unrelated feature: Notification Alerts have no connection to Column Bulk Operations metadata status filters
  • 16 flaky tests: High number of flaky tests suggests test environment instability

Technical Context

The failed test is in Notification Alerts functionality, which deals with alert configuration and filtering. This PR adds metadata status filtering to Column Bulk Operations page, which is an entirely different feature area.

The high number of flaky tests (16) suggests general test environment instability rather than issues introduced by this PR.

Context: Other Jobs

Job 6/6: Had 9 Learning Resources test failures (also unrelated to PR changes) and 10 flaky tests. These failures are in Learning Resources admin page CRUD operations, while this PR only adds a filter state management hook.

Overall Assessment: CI failures across jobs (3/6 and 6/6) are in features unrelated to this PR's core Column Bulk Operations changes. The PR successfully implements metadata status filters with corrected E2E tests.

Code Review 👍 Approved with suggestions 1 resolved / 2 findings

Solid refactor addressing column edit feedback with pagination improvements, visual highlighting for updates, and new metadata status filters. One minor localization issue remains with untranslated Persian strings.

💡 Quality: Persian locale strings not translated

📄 openmetadata-ui/src/main/resources/ui/src/locale/languages/pr-pr.json:2538

The Persian locale file (pr-pr.json) has the new metadata status descriptions in English with slightly awkward phrasing ("be filled in" instead of "are filled in") rather than actual Persian translations:

"metadata-status-complete-description": "All metadata fields be filled in",
"metadata-status-incomplete-description": "Some metadata fields be not filled in",
"metadata-status-inconsistent-description": "Metadata differs across occurrences",
"metadata-status-missing-description": "No description, tags, or glossary terms",

All other locale files have proper translations. These should be translated to Persian (Farsi) to maintain consistency with the rest of the locale file.

✅ 1 resolved
✅ Quality: Incomplete dependency array in useCallback

📄 openmetadata-ui/src/main/resources/ui/src/pages/ColumnBulkOperations/ColumnGrid/ColumnGrid.component.tsx:715
The renderColumnNameCellFinal callback function accesses entity.id, entity.isExpanded, openDrawerRef.current(), and columnGridListing.expandedStructRows but the dependency array only includes columnGridListing.setExpandedRows and columnGridListing.setExpandedStructRows.

The omission of columnGridListing.expandedStructRows is particularly concerning since the function reads from it to determine expansion state. Although this may work in practice because refs are used for some functions, this could lead to stale closure issues where the component doesn't re-render when expandedStructRows changes.

Consider adding columnGridListing.expandedStructRows back to the dependency array, or verify that the row data (entity.isExpanded) is already properly synchronized upstream making this dependency unnecessary.

Tip

Comment Gitar fix CI or enable auto-apply: gitar auto-apply:on

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@sonarqubecloud

sonarqubecloud Bot commented Feb 5, 2026

Copy link
Copy Markdown

This branch had an error being deployed

1 failed deployment
test — a4dc65fa Deployed Feb 5, 2026 by anuj-kumary via playwright-ci-postgresql (6, 6) #33119
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend safe to test Add this label to run secure Github workflows on PRs UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants