callstack / callstack/agent-device

Use native scroll telemetry to make scroll top and bottom more deterministic

Offen
#567 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement ready-for-agent
Vorherrschende Sprache
TypeScript
Sterne
4.6k
Forks
299
Ø Merge
10 Std. 42 Min.
Gemergte PRs (30 T.)
493

Beschreibung

## What to build

Improve `scroll top` and `scroll bottom` confidence by using native scroll telemetry when a platform can expose it, such as scroll offset, first visible item, or equivalent accessibility scroll position. This should reduce reliance on visible snapshot signatures for virtualized or homogeneous lists.

The command should remain fast and should not reintroduce blind multi-pass scrolling.

## Acceptance criteria

- [ ] Scroll-edge state can consume a platform-provided scroll position signal when available.
- [ ] If telemetry changes while the visible signature is unchanged, edge scrolling continues instead of treating the list as stuck.
- [ ] If neither signature nor telemetry changes, the command fails with the existing scoped-scroll error semantics.
- [ ] Regression coverage includes a homogeneous or repeated-row list where visible labels stay stable while the list moves.
- [ ] Android, Apple, and fallback behavior remain documented in tests or capability comments where telemetry is unavailable.

## Blocked by

None - can start immediately

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Es werden keine Quelldateien, Tests oder Einstiegspunkte genannt. Beginne damit, die Implementierungen und Regressionstests für `scroll top` und `scroll bottom` zu finden, und verfolge anschließend, wie sichtbare Signaturen Bewegungen auf Android-, Apple- und Fallback-Plattformen erkennen. Als abgeschlossen gilt die Aufgabe, wenn die Telemetrie Bewegungen unterscheiden kann, obwohl die Labels unverändert sind, und gleichzeitig die bestehende Fehlersemantik erhalten bleibt, wenn sich keines der beiden Signale ändert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
mobile-dev, testing-qa
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.