Skip to content

bug(platform): Feedback analytics hides a failed recent-feedback list read as empty #3873

Closed

Description

@yannickmonney

Bug: Feedback analytics hides a failed recent-feedback list read as empty

  • Classification: P2 confirmed product defect (Analytics / Feedback)
  • Source SHA: 9ea5972
  • Replay: /Users/yannick/.codex/notes/tale-1000-additional/feedback-recent-read-error-probe.log
  • Scope: isolated local jsdom/Vitest component probe; no production network or writes.

Reproduction

Render FeedbackMetricsPage with a valid stats response showing feedback and a useCachedPaginatedQuery('feedback/queries:listRecentFeedback') result that has results: [], status: 'Exhausted', and a 503 error/retry function. The actual page still renders the loaded Feedback metrics dashboard, but the Recent feedback table displays its normal empty copy. There is no alert, failed-read message, or Retry button. The probe passed one test against source SHA 9ea59724df24d62729a9360f3902d964dab39b3e.

Root cause and impact

useCachedPaginatedQuery explicitly exposes error and retry, but FeedbackMetricsPage passes only results, status, and the loading flags into RecentFeedbackTable. The table therefore receives an empty array with isLoading: false and renders the successful empty state. Stats cards can say feedback exists while the recent list silently claims there is no feedback, and users cannot recover the failed list request without remounting or changing filters.

Expected behavior is to pass the paginated error and retry callback into the table/list empty state, preserving successful summary data while clearly marking the recent list unavailable. This is distinct from a failed stats query, which the page already surfaces as an alert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions