aboutsummaryrefslogtreecommitdiffstats
path: root/web/dist/v3/index.html
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-02-28 22:53:24 +0000
committerClaude <noreply@anthropic.com>2026-02-28 22:53:24 +0000
commitdf5e7d93963f0256285b13ddf750761930797e78 (patch)
tree020cbd30711b1ee7eea3d077389ec381eded4a4e /web/dist/v3/index.html
parent15aa629972c4bd9fd3ab5ddb442783483f57a61f (diff)
downloadneko-claude/agents-file-mobile-stars-2nj6y.tar.gz
neko-claude/agents-file-mobile-stars-2nj6y.tar.bz2
neko-claude/agents-file-mobile-stars-2nj6y.zip
Fix star/read buttons: _id string vs number type mismatchclaude/agents-file-mobile-stars-2nj6y
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
Diffstat (limited to 'web/dist/v3/index.html')
-rw-r--r--web/dist/v3/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/dist/v3/index.html b/web/dist/v3/index.html
index 2e03362..88a2e07 100644
--- a/web/dist/v3/index.html
+++ b/web/dist/v3/index.html
@@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>neko</title>
- <script type="module" crossorigin src="/v3/assets/index-BZ_a-CxL.js"></script>
- <link rel="stylesheet" crossorigin href="/v3/assets/index-CCxOmbmm.css">
+ <script type="module" crossorigin src="/v3/assets/index-CMv6mNQe.js"></script>
+ <link rel="stylesheet" crossorigin href="/v3/assets/index-9FkFwXcK.css">
</head>
<body>
<div id="app"></div>