Skip to content

fix(ui): correct Streaming Status display when Kafka is disabled#90

Merged
rbardaji merged 2 commits intomainfrom
fix/89-streaming-status-display
Apr 3, 2026
Merged

fix(ui): correct Streaming Status display when Kafka is disabled#90
rbardaji merged 2 commits intomainfrom
fix/89-streaming-status-display

Conversation

@rbardaji
Copy link
Copy Markdown
Collaborator

@rbardaji rbardaji commented Apr 3, 2026

Summary

Fixes #89

  • Dashboard Streaming Status card always showed "Connected" even when KAFKA_CONNECTION=False
  • The UI now checks the kafka_connection field from the API response and displays "Disabled" when Kafka is turned off
  • Fixed field name mismatch (host/portkafka_host/kafka_port) that caused "undefined:undefined" below the status

Changes

  • ui/src/pages/Dashboard.js: Added three-state logic (Connected / Disabled / Checking) based on kafka_connection value, and corrected field names for host/port display
  • Bumped version to 0.10.5

Test plan

  • Set KAFKA_CONNECTION=False in .env and verify Dashboard shows "Disabled"
  • Set KAFKA_CONNECTION=True and verify Dashboard shows "Connected" with correct host:port
  • Verify all 1011 existing tests pass

Raul Bardaji 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).
@rbardaji rbardaji merged commit c5c1504 into main Apr 3, 2026
1 check passed
@rbardaji rbardaji deleted the fix/89-streaming-status-display branch April 3, 2026 17:47
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.

Dashboard Streaming Status always shows 'Connected' even when Kafka is disabled

1 participant