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

Display only name instead of name with link for node in message details. #20505

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

linuspahl
Copy link
Contributor

@linuspahl linuspahl commented Sep 20, 2024

Description

Motivation and Context

This PR is fixing two problems:

  • In cloud env display only node name instead of name with link in message details on the search page.
  • Fix display node information in message details on e.g. create extractor page, it was missing before this change.

Please note, this PR needs a backport for 5.2 and 6.0

Fix #20464

@@ -71,7 +71,6 @@ class MessageShow extends React.Component {
message={message}
inputs={inputs}
streams={streams}
nodes={nodes}
renderForDisplay={this.renderForDisplay}
showTimestamp />
Copy link
Contributor Author

Choose a reason for hiding this comment

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

nodes are currently nod provided by components which implement this component.

I did not migrate it to TS, because I want to keep the backport simple.


nodeInformation = AppConfig.isCloud()
? nodeContent
: <a href={nodeURL}>{nodeContent}</a>;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here we were already considering the cloud env.

@linuspahl linuspahl marked this pull request as ready for review September 20, 2024 12:26
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.

Message table link to node results in 404
1 participant