From 15aa629972c4bd9fd3ab5ddb442783483f57a61f Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Feb 2026 21:31:25 +0000 Subject: Add AGENTS.md and fix star button tap targets on mobile Add AGENTS.md with TDD workflow and check-in guidance for agents. Fix star buttons being nearly impossible to tap on mobile by: - Adding min-width/min-height of 44px for proper touch targets - Adding flex-shrink: 0 so the button isn't squeezed by long titles - Overriding generic button styles (height, text-transform, font-weight) that bled into the star button https://claude.ai/code/session_012CNdRhGhU3hxjrwvZt2BHZ --- web/dist/v3/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/dist/v3/index.html') diff --git a/web/dist/v3/index.html b/web/dist/v3/index.html index e115714..2e03362 100644 --- a/web/dist/v3/index.html +++ b/web/dist/v3/index.html @@ -5,8 +5,8 @@ neko - - + +
-- cgit v1.2.3 From df5e7d93963f0256285b13ddf750761930797e78 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 28 Feb 2026 22:53:24 +0000 Subject: Fix star/read buttons: _id string vs number type mismatch 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 --- web/dist/v3/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/dist/v3/index.html') 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 @@ neko - - + +
-- cgit v1.2.3