Skip to content

bug: Hints used card on Overview page not reflecting accurate data #247

@smithrashell

Description

@smithrashell

Summary

The "Hints Used" card on the Overview page is not accurately displaying hint usage data, even though hints ARE being recorded correctly in the database.

Evidence

Hints are properly recorded in hint_interactions store:

{
  "id": "hint_1766518251217_ru31njvti",
  "problem_id": 268,
  "hint_type": "contextual",
  "hint_id": "contextual-array-hash table-0",
  "user_action": "expand",
  ...
}

Current Behavior

  • Hints ARE recorded in database ✅
  • Hints ARE displayed correctly in "Learning Efficiently" section ✅
  • Hints NOT reflected accurately in "Hints Used" card on Overview page ❌

Likely Cause

Naming mismatch or different query logic between:

  • Overview page hints card query
  • Learning Efficiently section query

Investigation Areas

  • Compare data fetching logic between the two components
  • Check field names being queried (hint_type vs type, user_action vs action, etc.)
  • Verify the Overview hints card is querying the correct store

Labels

bug, dashboard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions