Skip to content

fix(Cluster): use cluster name if title is empty string #2452

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2025

Conversation

artemmufazalov
Copy link
Member

@artemmufazalov artemmufazalov commented Jun 20, 2025

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
336 334 0 1 1
Test Changes Summary ⏭️1

⏭️ Skipped Tests (1)

  1. Scroll to row, get shareable link, navigate to URL and verify row is scrolled into view (tenant/diagnostics/tabs/queries.test.ts)

Bundle Size: ✅

Current: 83.90 MB | Main: 83.90 MB
Diff: 0.04 KB (-0.00%)

✅ Bundle size unchanged.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

@@ -147,7 +147,7 @@ export function useClusterBaseInfo() {
// Name: ydb_vla_dev02
// Title: YDB DEV VLA02
const clusterName = name ?? clusterNameFromQuery ?? undefined;
const clusterTitle = title ?? clusterName;
const clusterTitle = title || clusterName;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cluster title may be an empty string.

?? makes clusterTitle an empty string but clusterName should be used for correct display

@artemmufazalov artemmufazalov changed the title fix(Cluster): use cluster name if title empty string fix(Cluster): use cluster name if title is empty string Jun 20, 2025
@artemmufazalov artemmufazalov marked this pull request as ready for review June 20, 2025 15:47
@artemmufazalov artemmufazalov enabled auto-merge June 20, 2025 15:47
@artemmufazalov artemmufazalov added this pull request to the merge queue Jun 21, 2025
Merged via the queue into main with commit 1c8a6c0 Jun 21, 2025
8 checks passed
@artemmufazalov artemmufazalov deleted the fix-empty-cluster-title branch June 21, 2025 08:17
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