aboutsummaryrefslogtreecommitdiffstats
path: root/web/dist/v3/assets/index-CMv6mNQe.js
Commit message (Collapse)AuthorAgeFilesLines
* Fix star/read buttons: _id string vs number type mismatchclaude/agents-file-mobile-stars-2nj6yClaude22 hours1-0/+182
The Go API returns _id as a JSON string (due to the `json:",string"` tag on Item.Id), but the frontend compared it with === against numbers from parseInt(). String "5" === number 5 is always false in JS, so toggleStar, mark-as-read, and keyboard shortcuts silently did nothing. Fix: - Coerce _id to Number() when items are loaded from the API - Use Number() coercion in all store.items.find() comparisons as defense - Revert the CSS touch-target changes (the issue was never about size) - Add a regression test with string _id to prevent reintroduction https://claude.ai/code/session_012CNdRhGhU3hxjrwvZt2BHZ