Skip to content
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

fix(Node): fix developer ui link in dev mode #1979

Merged
merged 1 commit into from
Feb 24, 2025
Merged

Conversation

artemmufazalov
Copy link
Member

@artemmufazalov artemmufazalov commented Feb 24, 2025

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
262 260 0 2 0

😟 No changes in tests. 😕

Bundle Size: ✅

Current: 80.61 MB | Main: 80.61 MB
Diff: 0.62 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.


const additionalNodesProps = getAdditionalNodesProps(balancer, useClusterBalancerAsBackend);

return singleClusterMode ? undefined : additionalNodesProps;
Copy link
Member Author

@artemmufazalov artemmufazalov Feb 24, 2025

Choose a reason for hiding this comment

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

There was no check for singleClusterMode, so useNodeDeveloperUIHref always used additionalNodesProps and formed incorrect href when app was started with REACT_APP_BACKEND

@@ -17,7 +16,6 @@ import './ClusterInfo.scss';

interface ClusterInfoProps {
cluster?: TClusterInfo;
versionToColor?: VersionToColorMap;
Copy link
Member Author

Choose a reason for hiding this comment

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

It is not used here

@artemmufazalov artemmufazalov changed the title fix(NodePage): fix developer ui link in dev mode fix(Node): fix developer ui link in dev mode Feb 24, 2025
@artemmufazalov artemmufazalov marked this pull request as ready for review February 24, 2025 14:11
@artemmufazalov artemmufazalov added this pull request to the merge queue Feb 24, 2025
Merged via the queue into main with commit ad64c8c Feb 24, 2025
8 checks passed
@artemmufazalov artemmufazalov deleted the node-info-fix-link branch February 24, 2025 15:16
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