fix(ui): correct Streaming Status display when Kafka is disabled#90
Merged
fix(ui): correct Streaming Status display when Kafka is disabled#90
Conversation
added 2 commits
April 3, 2026 11:43
#89) Dashboard Streaming Status card always showed 'Connected' regardless of KAFKA_CONNECTION setting. The UI now checks the kafka_connection field from the API response and displays 'Disabled' when Kafka is turned off. Also fixed field name mismatch (host/port vs kafka_host/kafka_port).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #89
KAFKA_CONNECTION=Falsekafka_connectionfield from the API response and displays "Disabled" when Kafka is turned offhost/port→kafka_host/kafka_port) that caused "undefined:undefined" below the statusChanges
ui/src/pages/Dashboard.js: Added three-state logic (Connected / Disabled / Checking) based onkafka_connectionvalue, and corrected field names for host/port displayTest plan
KAFKA_CONNECTION=Falsein.envand verify Dashboard shows "Disabled"KAFKA_CONNECTION=Trueand verify Dashboard shows "Connected" with correct host:port