Skip to content

[Auto-QA] Stale data and freshness indicator issues #18392

@clubanderson

Description

@clubanderson

Auto-QA [Data Freshness]: Stale Data

Detected: 2026-06-14T02:14:30.748Z | Focus: Data Freshness | Commit: 3130137 | Run: View

Findings

### Components with caching but no freshness indicator
Users should know when data was last updated:
  - `EnterpriseSidebar.tsx`
  - `ClusterCardCompact.tsx`
  - `ClusterCardFull.tsx`
  - `NamespaceResources.tsx`
  - `ClusterCardList.tsx`
  - `ClusterDetailModal.tsx`
  - `BlueprintInfoPanels.tsx`
  - `ProjectDetailPanel.tsx`
  - `AppErrorBoundary.tsx`
  - `AuthCallback.test.tsx`
  - `AuthCallback.contract.test.tsx`
  - `Layout.tsx`
  - `KeepAliveOutlet.tsx`


### Cards with data fetching but no demo mode subscription
May not respond to demo mode toggle:
  - `CloudEventsStatus.tsx`
  - `InstallCTAFlow.tsx`
  - `CardErrorFallback.tsx`

Suggested Improvements

  • Add "Last updated X ago" timestamps to cached data displays
  • Use useDemoMode/useCardDemoState to respond to demo mode toggle
  • Replace "Loading..." text with Skeleton components
  • Add TTL validation to localStorage reads
  • Show visual indicators when data may be stale

PR Guidance: Keep changes under 50 lines (size S) for best acceptance rate. Split larger fixes into multiple PRs.


This issue was automatically created by the Auto-QA workflow during Data Freshness focus day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions