callstack / callstack/agent-device
Use native scroll telemetry to make scroll top and bottom more deterministic
- Lingua principale
- TypeScript
- Stelle
- 4.6k
- Fork
- 299
- Merge medio
- 10h 17m
- PR unite (30g)
- 544
Descrizione
## 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Non sono indicati file sorgente, test o punti di ingresso. Inizia individuando le implementazioni e i test di regressione per `scroll top` e `scroll bottom`, quindi traccia il modo in cui le firme visibili rilevano il movimento su Android, Apple e le piattaforme di fallback. Il lavoro è completo quando la telemetria può distinguere il movimento anche se le etichette non cambiano, preservando al contempo la semantica di errore esistente quando nessuno dei due segnali cambia.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- mobile-dev, testing-qa
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 48/100