Leaderboard Diagnostics

Data Source Comparison

Neon Database

Users: 11

Kudos: 0

Supabase

Error: Error checking Supabase data

e.from(...).select(...).count is not a function

Leaderboard Data

Current Leaderboard Data

Records returned: 2

[
  {
    "id": "94e7b602-230c-4837-9eee-6e508923387a",
    "name": "Martina Zrnec",
    "avatar_url": "https://avatars.slack-edge.com/2024-06-07/7256205069841_e1818e778afbfa5aab38_original.jpg",
    "kudos_sent": 1,
    "kudos_received": 2,
    "total_kudos": 7
  },
  {
    "id": "b57d50ae-c438-4548-9371-51e390adda38",
    "name": "Kyle",
    "avatar_url": "https://avatars.slack-edge.com/2024-04-10/6963426168784_e38360329f83bec2b6ad_original.jpg",
    "kudos_sent": 2,
    "kudos_received": 1,
    "total_kudos": 5
  }
]

Actions

Force Revalidate
Leaderboard Code Analysis

Potential Issues

  • Data Source Mismatch: Data sources appear to be in sync.
  • Cache Issues: The leaderboard might be using cached data. Try clearing the cache.
  • Code Logic: The leaderboard calculation logic might not be correctly processing the data.

Next Steps

No kudos found in Neon database. You need to migrate data or create test data.