Skip to content

Conversation

@metalmatze
Copy link
Member

@metalmatze metalmatze commented May 24, 2025

Fixes #1130

Summary

  • Improved error message wording to be more concise and user-friendly
  • Added loading spinner to provide visual feedback while objectives are being fetched
  • Enhanced overall user experience with clearer state transitions

Changes

Error Message Improvements

  • NotFound: Changed "Service Level Objectives not found" → "No Service Level Objectives found"
  • Unavailable: Changed "Unable to connect to backend components" → "Backend connection failed"
  • Generic Error: Changed "Error" → "Error loading objectives"
  • Removed redundant wording and simplified instructions
  • Fixed template literal syntax issue

Loading State

  • Added centered spinner animation while data is loading
  • Displays "Loading objectives..." message for clarity
  • Properly checks loading state before error states

Screenshots

Loading State

loading

Backend Unavailable State

unavailable

Test Plan

  • Verify loading spinner appears when fetching objectives
  • Test NotFound error message when no objectives exist
  • Test Unavailable error when backend is not running
  • Ensure smooth transitions between states
  • Verify error messages are clear and actionable

🤖 Generated with Claude Code

metalmatze and others added 3 commits May 24, 2025 22:16
- Made error messages more concise and user-friendly
- Changed "Service Level Objectives not found" to "No Service Level Objectives found"
- Simplified backend connection error message
- Added context to generic error message ("Error loading objectives")
- Fixed template literal syntax in error display

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Display a centered spinner with "Loading objectives..." message while data is being fetched
- Check for loading status before checking for errors
- Improves user experience by providing visual feedback during data loading

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@metalmatze metalmatze merged commit 83a6a00 into main Oct 22, 2025
10 checks passed
@metalmatze metalmatze deleted the improve-error-messages branch October 22, 2025 10:36
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.

Issue when showing some SLOs (white screen)

2 participants