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

Issue#46 #48

Merged
merged 5 commits into from
Sep 16, 2022
Merged

Issue#46 #48

merged 5 commits into from
Sep 16, 2022

Conversation

rbhastie
Copy link
Contributor

#46

What?

Addresses rendering of Topic page when connecting to a new cluster that does not have any topics.

Why?

New users will think the tool is not working when they connect to a new Kafka cluster.

How?

The underminISR metric card now accepts a query, rather than accepting the value passed as props. The MetricCard component has been refactored to display a generic message when a metric is unavailable (undefined). Additionally, the RealTimeLineChart does not create plotted data points if the time series data value is undefined.

Copy link
Collaborator

@jonathanhaviv jonathanhaviv left a comment

Choose a reason for hiding this comment

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

LGTM, just one small suggestion.

@@ -31,6 +31,8 @@ const MetricsCard = ({
if (query) {
const { loading, data } = useQuery(query, { ...variables });
value = loading ? "Loading..." : keySearch(data, searchingFor);
console.log("value", value);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Small suggestion, just to remove this console.log

remove console.log statement
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