Skip to content

Fix inconsistent link size and bold values in empty placeholders (backport 2.1 #37848) - #37894

Merged
Rohit0301 merged 1 commit into
2.1from
Rohit0301/empty-placeholder-font-inconsistency-2.1
Nov 16, 2026
Merged

Rohit0301 merged 1 commit into
2.1from
Rohit0301/empty-placeholder-font-inconsistency-2.1

Conversation

@Rohit0301

@Rohit0301 Rohit0301 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #37848 to 2.1. It squashes all of that PR's commits, and the cherry-pick applied with no conflicts.

Describe your changes:

In empty placeholders, links rendered at 14px inside 12px text ("See how to get started", "docs"), and interpolated values such as All Domains were bold.

  • Link size. The legacy unlayered .prose-typography a rule in fonts.less forced every link inside a core Typography to 14px/21px. It now uses font-size: inherit; line-height: inherit, so a link matches the text it sits in. Colour, weight and hover/focus colours are unchanged.
  • Bold values. Removed the <0> bold slot from message.no-data-available-entity, message.add-data-asset-domain and message.no-access-placeholder in all locales. The call sites now use plain t().
  • Footers. The Teams and Data Insights placeholder footers now use text-xs with color="secondary", like Explore. The Teams docs link now opens the teams docs instead of the glossary docs.
  • Other placeholders. AccessNotAllowedPage, DimensionalityTab and BotDetailsPage copy now matches the placeholder text sizes.
  • Cleanup. Removed the stale 14px workaround in activityVerb, and corrected the comments in CommonEntitySummaryInfoV1 and TaskDetailPanel.

See #37848 for screenshots of every affected page and the computed font-size checks.

Type of change:

  • Bug fix

Tests:

  • On the 2.1 branch I ran the affected Jest suites (148 suites, 1649 tests). Everything passed except ExploreTree.test.tsx › renders the correct tree nodes, which timed out waiting for the loader under parallel load. Run on its own, that file passes 19/19.
  • Backend integration tests: not applicable, there are no backend changes.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

Makes empty-placeholder text more consistent.

  • Empty-state text and links match the size around them.
  • Inserted domain and permission names appear without bold emphasis.

No actionable issues found. Tests and browser checks were not run; local UI dependencies are not installed.

Reviews (1) · Last reviewed commit: "Fix inconsistent link size and bold valu..." · Reviewed by Greptile

…kport 2.1 #37848)

- Make `.prose-typography a` inherit font size and line height instead of
  pinning 14px/21px, so Typography links match the text they sit in.
- Drop the bold <0> slot from no-data-available-entity, add-data-asset-domain
  and no-access-placeholder, and render them with plain t().
- Size the Teams and Data Insights placeholder footers to text-xs with the
  Typography color prop; point the Teams docs link at the teams docs.
- Align AccessNotAllowedPage, DimensionalityTab and BotDetailsPage copy.
- Drop the stale 14px workaround in activityVerb and correct two comments.
@Rohit0301
Rohit0301 requested a review from a team as a code owner November 16, 2026 12:05
@Rohit0301
Rohit0301 requested review from chirag-madlani and removed request for a team November 16, 2026 12:05
@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.

@Rohit0301 Rohit0301 added the safe to test Add this label to run secure Github workflows on PRs label Nov 16, 2026
@gitar-bot

gitar-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Updates placeholder typography, translations, and a documentation link across the UI; rendering issues or an incorrect link could confuse users.

Backports the empty-placeholder fix to 2.1: links inside core Typography now inherit font size and line height instead of forcing 14px, and the bold <0> slot is removed from placeholder messages across locales. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

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

@Rohit0301
Rohit0301 merged commit f92c1c2 into 2.1 Nov 16, 2026
56 of 58 checks passed
@Rohit0301
Rohit0301 deleted the Rohit0301/empty-placeholder-font-inconsistency-2.1 branch November 16, 2026 12:25
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants