aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/perf
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-02-16 19:13:22 +0000
committerClaude <noreply@anthropic.com>2026-02-16 19:13:22 +0000
commit0b08b2fb49827399ff0652bc20d5f71e2066025c (patch)
treec705d35f4f38366efa3e430a1f956677a85f385d /frontend-vanilla/src/perf
parent6e84019f6cf887f777c2c8f9601455e031dad3a5 (diff)
downloadneko-0b08b2fb49827399ff0652bc20d5f71e2066025c.tar.gz
neko-0b08b2fb49827399ff0652bc20d5f71e2066025c.tar.bz2
neko-0b08b2fb49827399ff0652bc20d5f71e2066025c.zip
v3 ui: require 100% visibility before marking items as read
Change IntersectionObserver threshold from 0.5 to 1.0 so items are only marked as read when fully scrolled into view, reducing accidental mark-as-read during fast scrolling. Also fix unused Category import in perf test and add thicket config.json to repository so future agents can use thicket CLI commands. Closes NK-s2g59a https://claude.ai/code/session_019Z4VJxzY7tcAuNkPAkvry9
Diffstat (limited to 'frontend-vanilla/src/perf')
-rw-r--r--frontend-vanilla/src/perf/store.perf.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend-vanilla/src/perf/store.perf.test.ts b/frontend-vanilla/src/perf/store.perf.test.ts
index 734e132..382cbb4 100644
--- a/frontend-vanilla/src/perf/store.perf.test.ts
+++ b/frontend-vanilla/src/perf/store.perf.test.ts
@@ -1,6 +1,6 @@
import { describe, it, expect } from 'vitest';
import { Store } from '../store';
-import type { Item, Feed, Category } from '../types';
+import type { Item, Feed } from '../types';
function makeItem(id: number): Item {
return {