Skip to content

fix(ui): Fixed the expore card icon size issue - #33816

Merged
Rohit0301 merged 2 commits into
mainfrom
fix-explore-card-icon
Sep 23, 2026
Merged

Rohit0301 merged 2 commits into
mainfrom
fix-explore-card-icon

Conversation

@Rohit0301

@Rohit0301 Rohit0301 commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor
Screenshot 2026-09-22 at 6 54 10 PM

Describe your changes:

Fixes #

I worked on ... because ...

Type of change:

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

High-level design:

N/A — small change.

Tests:

Use cases covered

Unit tests

Backend integration tests

Ingestion integration tests

Playwright (UI) tests

Manual testing performed

UI screen recording / screenshots:

Not applicable.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • 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.
  • For UI changes: I attached a screen recording and/or screenshots above.
  • I have added tests (unit / integration / Playwright as applicable) and listed them above.

Summary by Gitar

  • UI Enhancements:
    • Updated Explore card entity icon dimensions from 24 to 20 pixels and adjusted spacing
    • Increased CertificationTag icon size from 14 to 16 pixels and updated associated unit tests

This will update automatically on new commits.

RetriggerConfidence Score: 5/5

The PR appears safe to merge, with the previously reported test mismatch now corrected.

Summary

This PR standardizes Explore card icons at 20px and Certification tag icons at 16px while correcting their spacing and vertical alignment.

  • Reduces custom and fallback Explore card icons from 24px to 20px.
  • Applies consistent Tailwind sizing, spacing, and line-height utilities.
  • Updates CertificationTag tests to assert the intended 16px icon size.

Reviews (2) · Last reviewed commit: "fixed unit test"

@Rohit0301 Rohit0301 self-assigned this Sep 22, 2026
@Rohit0301 Rohit0301 added the safe to test Add this label to run secure Github workflows on PRs label Sep 22, 2026
@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.

@github-actions github-actions Bot added the UI UI specific issues label Sep 22, 2026
@Rohit0301 Rohit0301 added safe to test Add this label to run secure Github workflows on PRs and removed safe to test Add this label to run secure Github workflows on PRs labels Sep 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ UI Checkstyle passed — lint findings in changed files

🔍 ESLint findings in this PR's files — 0 error(s), 9 warning(s)

Errors block the build. Warnings do not yet — they are rules whose backlog is still
being worked down, listed so this PR does not add to it. See docs/ui-code-quality-gate.md.

0 error(s), 9 warning(s) across 2 changed file(s).

Count Rule
8 openmetadata-imports/no-circular-imports
1 react-hooks/exhaustive-deps
All findings
Location Rule Message
🟡 src/components/ExploreV1/ExploreSearchCard/ExploreSearchCard.tsx:42:1 openmetadata-imports/no-circular-imports This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency.
🟡 src/components/ExploreV1/ExploreSearchCard/ExploreSearchCard.tsx:46:1 openmetadata-imports/no-circular-imports This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency.
🟡 src/components/ExploreV1/ExploreSearchCard/ExploreSearchCard.tsx:50:1 openmetadata-imports/no-circular-imports This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency.
🟡 src/components/ExploreV1/ExploreSearchCard/ExploreSearchCard.tsx:51:1 openmetadata-imports/no-circular-imports This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency.
🟡 src/components/ExploreV1/ExploreSearchCard/ExploreSearchCard.tsx:52:1 openmetadata-imports/no-circular-imports This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency.
🟡 src/components/ExploreV1/ExploreSearchCard/ExploreSearchCard.tsx:54:1 openmetadata-imports/no-circular-imports This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency.
🟡 src/components/ExploreV1/ExploreSearchCard/ExploreSearchCard.tsx:56:1 openmetadata-imports/no-circular-imports This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency.
🟡 src/components/ExploreV1/ExploreSearchCard/ExploreSearchCard.tsx:805:8 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array.
🟡 src/components/common/CertificationTag/CertificationTag.tsx:22:1 openmetadata-imports/no-circular-imports This runtime import participates in a circular dependency. Extract the shared type/constant/utility or invert the dependency.

Fix locally (fast - only checks files changed in this branch):

make ui-checkstyle-changed

@gitar-bot

gitar-bot Bot commented Sep 22, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Localized UI changes alter Explore and Certification icon sizing and spacing

Explore card entity icons reduced from 24px to 20px with adjusted spacing, and CertificationTag icons increased from 14px to 16px with line-height fixes. No issues found.

Review coverage

📋 Rules No rules evaluated

🧪 Functional validation Not enabled · Set up

🤖 Auto-approval Not enabled · Set up

Options

Display: compact → Counting what did not apply, without listing it.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@github-actions

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 72%
72.47% (103658/143030) 57.59% (63132/109620) 58.63% (20662/35236)

@sonarqubecloud

Copy link
Copy Markdown

This branch was previously deployed

1 inactive deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

2 participants