Skip to content

Citations: load failures leave the tables stuck on "Checking citation data…" forever #599

Closed

Description

@gkhngyk

Problem

When getCitationsOverview / getCitationsTotal reject, the Citations page's catch block is empty, so hasAnyCitations stays null — and the null branch of EmptyRows renders the "Checking citation data…" spinner. The result: on any load failure the tables spin forever with no error message and no retry, despite the catch comment claiming "user will see empty state / can retry".

Evidence

Suggested fix

Mirror the URL detail page: set a loadFailed flag in the catch, render an error state with a retry button (re-invoking loadData), and make sure EmptyRows never receives an eternally-null hasAnyCitations after a settled fetch.

Acceptance criteria

  • A failed load shows an error message with a working retry, not an endless "Checking citation data…" spinner.
  • Successful loads behave exactly as today.

Activity

  1. added
    bug
    good first issue
    on Aug 3, 2026
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

    buggood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions